<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-cloud-services.git/meta-openstack/recipes-support/deploychef/files/service-shutdown, branch morty</title>
<subtitle>Mirror of git.yoctoproject.org/meta-cloud-services.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-cloud-services.git/atom?h=morty</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/atom?h=morty'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/'/>
<updated>2014-09-26T13:09:21+00:00</updated>
<entry>
<title>deploychef: adaptation of deploychef to support openstackchef</title>
<updated>2014-09-26T13:09:21+00:00</updated>
<author>
<name>Mustapha Lansana</name>
<email>Mustapha.Lansana@windriver.com</email>
</author>
<published>2014-07-30T23:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=261f7f857503d7dcd7dcdc4c36aeff1b57194f9b'/>
<id>urn:sha1:261f7f857503d7dcd7dcdc4c36aeff1b57194f9b</id>
<content type='text'>
The deploychef package has been adapted to implement the
run-time functionality required by decentralized openstackchef
class.

It does this by executing a script (deploychef) which instruct chef-solo
to recreate configuration files from all template files placed
at

/opt/deploychef/cookbooks/openstack/templates/default

by openstackchef class at build-time.

The deploychef init script run-level is lower than run-postinsts
script, which runs all openstack post-install scripts at first boot.
The deploychef script makes a call to run-chefsolo script,
which then creates openstack configuration files from all template
files mentioned above as directed by a recipe file.
This enables us to reconfigure an openstack image on first-boot,
thereby, updating the image with environment variables like IP address.

Like the template files above, there is a list of all default
variables used by the services in an openstack installation.
These variables, like the templates files above are created by
the openstackchef class and saved to a file under deploychef
directory at:

/opt/deploychef/cookbooks/openstack/attributes/default.rb

Whenever it's desired to reconfigure an openstack deployment
with an updated value of any of the variables in the attributes file
above, the script file run-deploychef should be executed to
reconfigure the stack as shown below.

cd /opt/deploychef
./run-deploychef

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
<entry>
<title>deploychef: helper script and configuration files</title>
<updated>2014-09-26T13:09:21+00:00</updated>
<author>
<name>Mustapha Lansana</name>
<email>Mustapha.Lansana@windriver.com</email>
</author>
<published>2014-05-28T02:02:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=800f64a64014fdbe046a6d0969303057de2e6539'/>
<id>urn:sha1:800f64a64014fdbe046a6d0969303057de2e6539</id>
<content type='text'>
Deploychef package reconfigures an openstack installation.
These are helper files used by the deploychef package to bring the
system down and back up again before, and after chef-solo has generated
our desired configuration files from template files.

Later on in this commit series, the *-list files will be replaced with
dynamically generated *-list files by openstackchef. In addition,
the script files will be adapted to support openstackchef.

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
</feed>
