<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/ec2init/execute.py, branch crux</title>
<subtitle> (mirror of https://github.com/marekm72/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=crux</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=crux'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/'/>
<updated>2010-02-03T23:09:48+00:00</updated>
<entry>
<title>globally remove ec2init and rename to cloudinit</title>
<updated>2010-02-03T23:09:48+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2010-02-03T23:09:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=aed1c1e9fda1e78d19305e90f554d0dcb5388cd7'/>
<id>urn:sha1:aed1c1e9fda1e78d19305e90f554d0dcb5388cd7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>functional state now in kvm tests</title>
<updated>2010-01-07T21:07:01+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@nelson</email>
</author>
<published>2010-01-07T21:07:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=49d3df468a94fef41a036dfa5d886449d180e006'/>
<id>urn:sha1:49d3df468a94fef41a036dfa5d886449d180e006</id>
<content type='text'>
supports user data as mime-multipart and handling types of
  text/x-shellscript  - execute at rc.local
  text/cloud-config   - feed to cloud config
  text/upstart-job    - add to /etc/init as upstart job
  text/x-include-url  - include urls as if they were in-line
</content>
</entry>
<entry>
<title>add cloud-init-run-module and ec2init/execute.py</title>
<updated>2010-01-06T17:39:47+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@nelson</email>
</author>
<published>2010-01-06T17:39:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=ca3cafbb65655bf0de40e8a44b608932694a5594'/>
<id>urn:sha1:ca3cafbb65655bf0de40e8a44b608932694a5594</id>
<content type='text'>
cloud-init-run-module handles some boilerplate code for running
items on a 'frequency'.  It has the following usefulness

- a config module can be put into ec2init dir and implement a 'run'
  method that takes a list of arguments and the path to a config file
- it handles invoking module.run() only at a given frequency
  This is similar to karmic's ec2init's "run_once_ever" or run_once_per_ami

execute.py is an example module that executes the arguments given to it

An example usage in an upstart job would be with a 'exec' line like:

   exec cloud-init-run-module once_per_ami clean-core execute rm /var/run/core

The above would then run the command 'rm /var/run/core' only once
</content>
</entry>
</feed>
