This release is a pre-release and may not be stable for production use.
Installing
hostout.ubuntu is a plugin for collective.hostout. Hostout is a zc.buildout recipe.
First you need a working buildout. Google buildout + your fav app framework to findout how to build it. We’ll use a really simple one and add a hostout to our buildout and we extend hostout by adding the ubuntu plugin using the “extends” option.
>>> write('buildout.cfg',
... """
... [buildout]
... parts = helloworld host
...
... [helloworld]
... recipe = zc.recipe.egg:scripts
... eggs = zc.recipe.egg
... initialization = import sys
... main=lambda: sys.stdout.write('all your hosts are below to us!!!')
... entry-points = helloworld=__main__:main
...
... [host]
... recipe = collective.hostout
... host = 127.0.0.1:10022
... extends = hostout.ubuntu
...
... """)
>>> print system('bin/buildout -N')
Installing helloworld.
Generated script '/sample-buildout/bin/helloworld'.
Installing host.
Generated script '/sample-buildout/bin/hostout'.
During deployment hostout will check for a working buildout on the remote host and if not found will execute an ubuntu bootstrap installing native packages
>>> print system('bin/hostout host deploy')
Hostout: Running command 'predeploy' from '/.../collective/hostout/supervisor/fabfile.py'
Logging into the following hosts as :
127.0.0.1
[127.0.0.1] sudo: /var/lib/plone/host1/bin/supervisorctl shutdown || echo 'Failed to shutdown'
...
Hostout: Running command 'postdeploy' from '/.../collective/hostout/supervisor/fabfile.py'
...
[127.0.0.1] sudo: /var/lib/plone/host1/bin/supervisord
...
[127.0.0.1] sudo: /var/lib/plone/host1/bin/supervisorctl status
...
Hostout: Running command 'postdeploy' from '.../collective.hostout/collective/hostout/fabfile.py'
...
Credits
Dylan Jay ( software at pretaweb dot com )
Release History
1.0a3 (2010-06-03) - fabfile entrypoint
1.0a2 (2010-05-28)
Moved setaccess and setowners into collective.hostout
1.0a1 (2010-02-13)
Moved out of collective.hostout
upgraded it to fabric 1.0 and python 2.6
Release files for hostout.ubuntu 1.0a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hostout.ubuntu-1.0a3.tar.gz | 15.5 kB | Details |
Release files / hostout.ubuntu-1.0a3.tar.gz
| Download URL | hostout.ubuntu-1.0a3.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
371a649ef4e8e010624786886e6cbe4031d5a44ef2ca9c75dc1af9e3b1ee96e1
|
|
BLAKE2b-256 checksum How to use checksums |
d538bbd31a340a6cf4b531d54269eaf8f30ddb7f2b10466da681187d6d29911e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |