<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/CloudConfig/__init__.py, branch rolling</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2012-06-07T19:42:38+00:00</updated>
<entry>
<title>1. Adding some new helper files that split off file inclusion, templating, importing, constant usage.</title>
<updated>2012-06-07T19:42:38+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2012-06-07T19:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8900f9cba622eeaf3810003c5a6ff7522312277b'/>
<id>urn:sha1:8900f9cba622eeaf3810003c5a6ff7522312277b</id>
<content type='text'>
1. Move all datasources to a new sources directory
1. Rename some files to be more consistent with python file/module naming.
</content>
</entry>
<entry>
<title>Add HP to Copyright, and Juerg Haefliger Authors.</title>
<updated>2012-01-18T14:07:33+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2012-01-18T14:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=2465470c9133041a3b7f5963c579a0f680390ffb'/>
<id>urn:sha1:2465470c9133041a3b7f5963c579a0f680390ffb</id>
<content type='text'>
This copyright change reflects previous changes that Juerg made for pylint and
pep8 cleanups.

From: Juerg Haefliger &lt;juerg.haefliger@hp.com&gt;
Date: Mon, 16 Jan 2012 10:45:12 +0100
</content>
</entry>
<entry>
<title>[PATCH] PEP8 coding style fixes.</title>
<updated>2012-01-17T19:41:29+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2012-01-17T19:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=15e3241ba725a21604e0f3570e755a91b5edba00'/>
<id>urn:sha1:15e3241ba725a21604e0f3570e755a91b5edba00</id>
<content type='text'>
From: Juerg Haefliger &lt;juerg.haefliger@hp.com&gt;

This pulls in the named patch for LP: #914739 with a few other changes.
</content>
</entry>
<entry>
<title>[PATCH 4/4] Fix pylint conventions C0301 (line too long)</title>
<updated>2012-01-17T17:41:09+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2012-01-17T17:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=ec070cdf8746651d6dea011bd3ea9a445223028c'/>
<id>urn:sha1:ec070cdf8746651d6dea011bd3ea9a445223028c</id>
<content type='text'>
From: Juerg Haefliger &lt;juerg.haefliger@hp.com&gt;
</content>
</entry>
<entry>
<title>[PATCH 3/4] Fix pylint conventions C0324 (comma not followed by a space)</title>
<updated>2012-01-17T17:35:45+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2012-01-17T17:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=1a1da7c11e8bbb7e9f4b06a06ee5d6b18fdc1efc'/>
<id>urn:sha1:1a1da7c11e8bbb7e9f4b06a06ee5d6b18fdc1efc</id>
<content type='text'>
From: Juerg Haefliger &lt;juerg.haefliger@hp.com&gt;
</content>
</entry>
<entry>
<title>[PATCH 2/4] Fix pylint conventions C0322 (operator not preceded by a space)</title>
<updated>2012-01-17T17:34:19+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2012-01-17T17:34:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=c33eedb47b2b22c797051da197fd80e74f1db179'/>
<id>urn:sha1:c33eedb47b2b22c797051da197fd80e74f1db179</id>
<content type='text'>
From: Juerg Haefliger &lt;juerg.haefliger@hp.com&gt;
</content>
</entry>
<entry>
<title>[PATCH 1/4] Fix pylint conventions C0321 (more than one statement on a single line)</title>
<updated>2012-01-17T17:33:38+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2012-01-17T17:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=89eafa0a6c1a28331b3b3c59ba94803052c63583'/>
<id>urn:sha1:89eafa0a6c1a28331b3b3c59ba94803052c63583</id>
<content type='text'>
From: Juerg Haefliger &lt;juerg.haefliger@hp.com&gt;
</content>
</entry>
<entry>
<title>[PATCH 10/13] Fix pylint warnings W0102 (dangerous default value as</title>
<updated>2012-01-12T15:55:45+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2012-01-12T15:55:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=38f913377554f27159171a505b5805ee2537a905'/>
<id>urn:sha1:38f913377554f27159171a505b5805ee2537a905</id>
<content type='text'>
From: Juerg Haefliger &lt;juerg.haefliger@hp.com&gt;
 argument)
</content>
</entry>
<entry>
<title>This fixes LP: #819507, to make consume_userdata run 'always'</title>
<updated>2011-08-02T21:09:43+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2011-08-02T21:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=9d4a9dc17696d0465ae4f8b56db9c0948fcac28c'/>
<id>urn:sha1:9d4a9dc17696d0465ae4f8b56db9c0948fcac28c</id>
<content type='text'>
consume_userdata should really run always, rather than once per instance.

The documentation says that boothooks were on their own for per-instance
but since this routine was only being called once, they would only get
called once.

This  modifies the behavior to be:
   user_script: per_always
   cloud_config : per_always
   upstart_job : per_instance
   cloud_boothook: per_always

In order to not break part handlers that are existing, and expect to only be
called once per instance, this adds a 'handler_version' item in a handler
that can indicate the version (currently 1 or 2).  If it is 2, then the
hander will be passed the frequency (per-instance or per-always) that this
is being run.  That way the handler can differenciate between them.

This also makes 'bootcmd' run every boot.  That should be changable in
cloud-config though, so users who dont like the behavior can modify it.

LP: #819507</content>
</entry>
<entry>
<title>handle no datasource better cloud-init-cfg</title>
<updated>2011-02-19T04:29:46+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2011-02-19T04:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8ff88d588b621fac74ffb7a798cfd54cf74729ed'/>
<id>urn:sha1:8ff88d588b621fac74ffb7a798cfd54cf74729ed</id>
<content type='text'>
previously, cloud-init-cfg would call CloudConfig with no cloud
specified.  Then, CloudConfig would get a new cloudinit instance
and specify no ds_deps (which means network and local).
If no cache was found, it would wait again for the Ec2 metadata
service (even if it wasn't supposed to).

Now, we get the cloud instance in the main program and attempt to
get the data source, but only from [], which will get only cached.

Then, if its not found, exit silently.
</content>
</entry>
</feed>
