{ "info": { "author": "Nejc Zupan", "author_email": "nejc.zupan@niteoweb.com", "bugtrack_url": null, "classifiers": [], "description": ".. contents::\r\n\r\n\n\nInstalling\n**********\n\nhostout.centos is a plugin for collective.hostout_. Hostout is a zc.buildout\nrecipe.\n\nIt's based on hostout.ubuntu_ plugin by Dylan Jay.\n\nFirst you need a working buildout_. Google buildout + your fav app framework to findout how to build it.\nWe'll use a really simple one and add a hostout to our buildout and we extend\nhostout by adding the centos plugin using the \"extends\"\noption.\n\n\n>>> write('buildout.cfg',\n... \"\"\"\n... [buildout]\n... parts = helloworld host\n...\n... [helloworld]\n... recipe = zc.recipe.egg:scripts\n... eggs = zc.recipe.egg\n... initialization = import sys\n... main=lambda: sys.stdout.write('all your hosts are below to us!!!')\n... entry-points = helloworld=__main__:main\n...\n... [host]\n... recipe = collective.hostout\n... host = 127.0.0.1:10022\n... extends = hostout.centos\n...\n... \"\"\")\n\n>>> print system('bin/buildout -N')\nInstalling helloworld.\nGenerated script '/sample-buildout/bin/helloworld'.\nInstalling host.\nGenerated script '/sample-buildout/bin/hostout'.\n\nDuring deployment hostout will check for a working buildout on the remote\nhost and if not found will execute a CentOS bootstrap installing\nnative packages\n\n>>> print system('bin/hostout host deploy')\n Hostout: Running command 'predeploy' from '/.../collective/hostout/supervisor/fabfile.py'\n Logging into the following hosts as :\n 127.0.0.1\n [127.0.0.1] sudo: /var/lib/plone/host1/bin/supervisorctl shutdown || echo 'Failed to shutdown'\n ...\n Hostout: Running command 'postdeploy' from '/.../collective/hostout/supervisor/fabfile.py'\n ...\n [127.0.0.1] sudo: /var/lib/plone/host1/bin/supervisord\n ...\n [127.0.0.1] sudo: /var/lib/plone/host1/bin/supervisorctl status\n ...\n Hostout: Running command 'postdeploy' from '.../collective.hostout/collective/hostout/fabfile.py'\n ...\n\nCredits\n*******\n\nNejc Zupan ( nejc dot zupan at niteoweb dot com )\n\n.. _buildout: http://pypi.python.org/pypi/zc.buildout\n.. _recipe: http://pypi.python.org/pypi/zc.buildout#recipes\n.. _fabric: http://fabfile.org\n.. _collective.hostout: http://pypi.python.org/pypi/collective.hostout\n.. _hostout.ubuntu: http://pypi.python.org/pypi/hostout.ubuntu\n.. _hostout: http://pypi.python.org/pypi/collective.hostout\n.. _supervisor: http://pypi.python.org/pypi/collective.recipe.supervisor\n\nRelease History\n***************\n\n0.1 (2010-06-21)\n----------------\n\n - Initial release.\n [zupo]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://svn.plone.org/svn/collective/hostout.centos", "keywords": "buildout,fabric,deploy,deployment,server,plone,host,hosting", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "hostout.centos", "package_url": "https://pypi.org/project/hostout.centos/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hostout.centos/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://svn.plone.org/svn/collective/hostout.centos" }, "release_url": "https://pypi.org/project/hostout.centos/0.1/", "requires_dist": null, "requires_python": null, "summary": "Plugin for collective.hostout that bootstraps a CentOS host ready for hostout deployment", "version": "0.1" }, "last_serial": 793011, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "486dd9e00ca6bfda5c3efef87b2e86a0", "sha256": "d36f2c00f40a63aa0480f51c6bfb0d3f094e4dd3c430033e07536ca11b50373b" }, "downloads": -1, "filename": "hostout.centos-0.1.tar.gz", "has_sig": false, "md5_digest": "486dd9e00ca6bfda5c3efef87b2e86a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5965, "upload_time": "2010-06-21T16:45:09", "url": "https://files.pythonhosted.org/packages/2b/ab/0eea93bbbba458179512635d05f41f8c095c4ddface16ad176c9463f6b80/hostout.centos-0.1.tar.gz" } ], "0.2dev": [] }, "urls": [ { "comment_text": "", "digests": { "md5": "486dd9e00ca6bfda5c3efef87b2e86a0", "sha256": "d36f2c00f40a63aa0480f51c6bfb0d3f094e4dd3c430033e07536ca11b50373b" }, "downloads": -1, "filename": "hostout.centos-0.1.tar.gz", "has_sig": false, "md5_digest": "486dd9e00ca6bfda5c3efef87b2e86a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5965, "upload_time": "2010-06-21T16:45:09", "url": "https://files.pythonhosted.org/packages/2b/ab/0eea93bbbba458179512635d05f41f8c095c4ddface16ad176c9463f6b80/hostout.centos-0.1.tar.gz" } ] }