Statistics
| Branch: | Tag: | Revision:

root / snf-deploy / snfdeploy @ 5a390037

Name Size
__init__.py 20 kB
fabfile.py 41.4 kB
lib.py 7.4 kB
massedit.py 10.6 kB

Latest revisions

# Date Author Comment
5a390037 10/23/2013 04:54 pm Dimitris Aragiorgis

deploy: chown root.www-data /var/log/gunicorn

Signed-off-by: Dimitris Aragiorgis <>

ca1de37b 10/22/2013 05:47 pm Ilias Tsitsimpis

snf-deploy: pep8 fixes

3bae85da 10/22/2013 04:37 pm Dimitris Aragiorgis

deploy: use execute() instead of fab

This way we have a unique execution environment between
snf-deploy script and fabfile. Arguments and options
are handled way more easily. Get rid of the twisted code
that was passing command line arguments to fabric.
...

dcce60bd 10/22/2013 04:33 pm Dimitris Aragiorgis

deploy: just move fabfile into python module

This prepares the refactor that will take place in the following ones.

Signed-off-by: Dimitris Aragiorgis <>

c0dc9e93 10/08/2013 04:02 pm Dimitris Aragiorgis

snf-deploy: Remove packages.conf

This is not needed any more because we have squeeze and wheezy ones

Signed-off-by: Dimitris Aragiorgis <>

04660f63 10/08/2013 04:02 pm Dimitris Aragiorgis

snf-deploy: fix snf-deploy ganeti

A typo and explicitely install drbd8-utils package for ganeti.

Signed-off-by: Dimitris Aragiorgis <>

7f857fcc 10/02/2013 02:17 pm Ilias Tsitsimpis

deploy: Exit with message and not with code

d38bdeb7 10/02/2013 02:06 pm Ilias Tsitsimpis

snf-deploy: Exit when fab command fails

The previous approach (using the return value from
os.system for sys.exit) was false. For more information, see
`how-to-bypass-the-0-255-range-limit-for-sys-exit-in-python'
on stackoverflow.

38dcf43f 09/30/2013 05:20 pm Ilias Tsitsimpis

snf-deploy: Return the correct exit code

snf-deploy uses os.system to execute it's fabfile. We have
to use sys.exit() for the python script to return with the
same exit code as the one returned by fabric script.

02905e15 09/30/2013 01:29 pm Ilias Tsitsimpis

snf-deploy: Remove old keys before generating new

When creating new ssh keys if the key already exists,
ssh-keygen prompts the user if he want to overwrite it.
To avoid prompting the user, delete all the old keys,
before generating new ones (the user has...

View revisions

Also available in: Atom