Commit dcfb9be9 authored by Łukasz Nowak's avatar Łukasz Nowak

Name distribution slapos.cookbook

parent 9039007c
*pyc
build
dist
slapos.UNKOWN_NAME_TODO.egg-info
slapos.cookbook.egg-info
0.1 (unreleased)
================
* All slapos.recipe.* became slapos.UNKOWN_NAME_TODO:* [Łukasz Nowak]
* All slapos.recipe.* became slapos.cookbook:* [Łukasz Nowak]
slapos.UNKOWN_NAME_TODO
=======================
slapos.cookbook
===============
......@@ -3,7 +3,7 @@ import glob
import os
version = '0.1'
name = 'slapos.UNKOWN_NAME_TODO'
name = 'slapos.cookbook'
long_description = open("README.txt").read() + "\n" + \
open("CHANGES.txt").read() + "\n"
......
......@@ -11,7 +11,7 @@ Example buildout::
[zlib]
# Use standard configure, make, make install way
recipe = slapos.UNKOWN_NAME_TODO:build
recipe = slapos.cookbook:build
url = http://prdownloads.sourceforge.net/libpng/zlib-1.2.5.tar.gz?download
md5sum = c735eab2d659a96e5a594c9e8541ad63
slapos_promisee =
......@@ -31,7 +31,7 @@ Example buildout::
file:share/man/man3/zlib.3
[file]
recipe = slapos.UNKOWN_NAME_TODO:buildcmmi
recipe = slapos.cookbook:buildcmmi
url = ftp://ftp.astron.com/pub/file/file-5.04.tar.gz
md5sum = accade81ff1cc774904b47c72c8aeea0
environment =
......@@ -62,7 +62,7 @@ Example buildout::
[somethingelse]
# default way with using script
recipe = slapos.UNKOWN_NAME_TODO:build
recipe = slapos.cookbook:build
url_0 = http://host/path/file.tar.gz
md5sum = 9631070eac74f92a812d4785a84d1b4e
script =
......
......@@ -13,7 +13,7 @@ Usage
download
[download]
recipe = slapos.UNKOWN_NAME_TODO:download
recipe = slapos.cookbook:download
url = https://some.url/file
Such profile will download https://some.url/file and put it in
......
......@@ -15,18 +15,18 @@ Buildout configuration:
...
[java]
recipe = slapos.UNKOWN_NAME_TODO:java
recipe = slapos.cookbook:java
By default it will fetch Java 6u25, but you might want to install from another location or another version like this::
[java]
recipe = slapos.UNKOWN_NAME_TODO:java
recipe = slapos.cookbook:java
download-url = ftp://location/to/self-extracting/java.bin
Or you can install openjdk instead.
[java]
recipe = slapos.UNKOWN_NAME_TODO:java
recipe = slapos.cookbook:java
flavour = openjdk
......
librecipe
=========
Thanks to using slapos.UNKOWN_NAME_TODO:librecipe it is easier to create zc.buildout recipes in SlapOS environment.
Thanks to using slapos.cookbook:librecipe it is easier to create zc.buildout recipes in SlapOS environment.
How to use?
-----------
......
......@@ -13,7 +13,7 @@ Usage
parts = template
[template]
recipe = slapos.UNKOWN_NAME_TODO:template
recipe = slapos.cookbook:template
url = http://server/with/template
# optional md5sum
md5sum = 1234567890
......
......@@ -39,7 +39,7 @@ class BaseSlapRecipe:
def __init__(self, buildout, name, options):
"""Default initialisation"""
self.name = name
options['eggs'] = 'slapos.UNKOWN_NAME_TODO'
options['eggs'] = 'slapos.cookbook'
self.options = options
self.logger = logging.getLogger(self.name)
self.slap = slap.slap()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment