Installing
**********
hostout.centos is a plugin for collective.hostout_. Hostout is a zc.buildout
recipe.
It's based on hostout.ubuntu_ plugin by Dylan Jay.
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 centos 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.centos
...
... """)
>>> 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 a CentOS 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
*******
Nejc Zupan ( nejc dot zupan at niteoweb dot com )
.. _buildout: http://pypi.python.org/pypi/zc.buildout
.. _recipe: http://pypi.python.org/pypi/zc.buildout#recipes
.. _fabric: http://fabfile.org
.. _collective.hostout: http://pypi.python.org/pypi/collective.hostout
.. _hostout.ubuntu: http://pypi.python.org/pypi/hostout.ubuntu
.. _hostout: http://pypi.python.org/pypi/collective.hostout
.. _supervisor: http://pypi.python.org/pypi/collective.recipe.supervisor
Release History
***************
0.1 (2010-06-21)
----------------
- Initial release.
[zupo]
Metadata
Release files for hostout.centos 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hostout.centos-0.1.tar.gz | 6.0 kB | Without provenance | Details for hostout.centos-0.1.tar.gz |
Release files / hostout.centos-0.1.tar.gz
| Download URL | hostout.centos-0.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d36f2c00f40a63aa0480f51c6bfb0d3f094e4dd3c430033e07536ca11b50373b
|
|
BLAKE2b-256 checksum How to use checksums |
2bab0eea93bbbba458179512635d05f41f8c095c4ddface16ad176c9463f6b80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hostout.centos 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.