<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/config/cc_update_etc_hosts.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>2021-12-16T02:16:38+00:00</updated>
<entry>
<title>Adopt Black and isort (SC-700) (#1157)</title>
<updated>2021-12-16T02:16:38+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2021-12-16T02:16:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf'/>
<id>urn:sha1:bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf</id>
<content type='text'>
Applied Black and isort, fixed any linting issues, updated tox.ini
and CI.
</content>
</entry>
<entry>
<title>Make wording for module frequency consistent (#1039)</title>
<updated>2021-09-29T19:42:03+00:00</updated>
<author>
<name>Nicolas Bock</name>
<email>nicolas.bock@canonical.com</email>
</author>
<published>2021-09-29T19:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=82d6f5644f3a755e17e7ea22298bdd04e56c5ea0'/>
<id>urn:sha1:82d6f5644f3a755e17e7ea22298bdd04e56c5ea0</id>
<content type='text'>
Some modules' frequency are documented as `always` while others as
`per always`. The difference in wording can be confusing. This change
updates all such modules to use `always`.

Signed-off-by: Nicolas Bock &lt;nicolas.bock@canonical.com&gt;</content>
</entry>
<entry>
<title>cc_update_etc_hosts: Use the distribution-defined path for the hosts file (#983)</title>
<updated>2021-09-02T14:26:28+00:00</updated>
<author>
<name>Andy Fiddaman</name>
<email>andy@omniosce.org</email>
</author>
<published>2021-09-02T14:26:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=7fe0f900adcd45a74a24b7f9b251e2ee35b53b54'/>
<id>urn:sha1:7fe0f900adcd45a74a24b7f9b251e2ee35b53b54</id>
<content type='text'>
The distribution class has a field that specifies the location of
the system hosts file and this can be overridden in subclasses.
While the field is correctly used in distro.update_etc_hosts(), the
update_etc_hosts module does not use it and just assumes '/etc/hosts'

This fixes the module to use the distribution-specific variable.</content>
</entry>
<entry>
<title>replace any deprecated log.warn with log.warning</title>
<updated>2019-10-17T14:36:40+00:00</updated>
<author>
<name>Dominic Schlegel</name>
<email>dominic.schlegel@hostpoint.ch</email>
</author>
<published>2019-10-17T14:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=7e699256b319cdf41e747211763e593a6b5f3393'/>
<id>urn:sha1:7e699256b319cdf41e747211763e593a6b5f3393</id>
<content type='text'>
Commit 6797e822959b84c98cf73e02b2a6e3d6ab3fd4fe replaced
the LOG.warn calls that linters were warning about; this
also replaces calls that linters would not have recognised
(as `log` is generally a parameter in these scenarios).

LP: #1508442
</content>
</entry>
<entry>
<title>hosts: Fix openSUSE and SLES setup for /etc/hosts and clarify docs.</title>
<updated>2017-11-10T22:05:39+00:00</updated>
<author>
<name>Robert Schweikert</name>
<email>rjschwei@suse.com</email>
</author>
<published>2017-11-08T20:45:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=22a14a6a6d45ae55d2c2307d7b097eef9863bb0c'/>
<id>urn:sha1:22a14a6a6d45ae55d2c2307d7b097eef9863bb0c</id>
<content type='text'>
The etc/hosts file is was not properly setup for openSUSE or SLES
when manage_etc_hosts is set in the config file.

Improve the doc to address the fact that the 'localhost' ip is
distribution dependent (not always 127.0.0.1).

LP: #1731022
</content>
</entry>
<entry>
<title>LICENSE: Allow dual licensing GPL-3 or Apache 2.0</title>
<updated>2016-12-22T22:04:28+00:00</updated>
<author>
<name>Jon Grimm</name>
<email>jon.grimm@canonical.com</email>
</author>
<published>2016-11-22T23:09:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=b2a9f33616c806ae6e052520a8589113308f567c'/>
<id>urn:sha1:b2a9f33616c806ae6e052520a8589113308f567c</id>
<content type='text'>
This has been a recurring ask and we had initially just made the change to
the cloud-init 2.0 codebase.  As the current thinking is we'll just
continue to enhance the current codebase, its desirable to relicense to
match what we'd intended as part of the 2.0 plan here.

- put a brief description of license in LICENSE file
- put full license versions in LICENSE-GPLv3 and LICENSE-Apache2.0
- simplify the per-file header to reference LICENSE
- tox: ignore H102 (Apache License Header check)

Add license header to files that ship.
Reformat headers, make sure everything has vi: at end of file.

Non-shipping files do not need the copyright header,
but at the moment tests/ have it.
</content>
</entry>
<entry>
<title>Improve module documentation and doc cleanup.</title>
<updated>2016-09-30T17:21:00+00:00</updated>
<author>
<name>Wesley Wiedenmeier</name>
<email>wesley.wiedenmeier@gmail.com</email>
</author>
<published>2016-08-28T22:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=1071b9940b4e114cd2eabf290b739f92fbab33de'/>
<id>urn:sha1:1071b9940b4e114cd2eabf290b739f92fbab33de</id>
<content type='text'>
This adds lots of config module documentation in a standard format.
It will greatly improve the content at readthedocs.
Additionally:
 * Add a 'doc' env to tox.ini
 * Changed default highlight language for sphinx conf from python to yaml
   most examples in documentation are yaml configs
 * Updated datasource examples to highlight sh code properly
</content>
</entry>
<entry>
<title>Update pep8 runner and fix pep8 issues</title>
<updated>2016-03-03T22:20:10+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2016-03-03T22:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8cb7c3f7b5339e686bfbf95996b51afafeaf9c9e'/>
<id>urn:sha1:8cb7c3f7b5339e686bfbf95996b51afafeaf9c9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix broken cc_update_etc_hosts (LP: #1100036)</title>
<updated>2013-01-15T21:34:51+00:00</updated>
<author>
<name>ctracey</name>
<email>ctracey@craigtracey.com</email>
</author>
<published>2013-01-15T21:34:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=93bf045ce5e676a7568d3b14b175295b6ca38003'/>
<id>urn:sha1:93bf045ce5e676a7568d3b14b175295b6ca38003</id>
<content type='text'>
Right now, all distros but ubuntu will fail to manage /etc/hosts. This
is due to the fact that the templates are named:
- hosts.ubuntu.tmpl
- hosts.redhat.tmpl

The config handler is specifically looking for a template with the
given distro name.

This change addresses this issue and is contingent upon support of
'osfamilies' as implemented in LP: #1100029
(lp:~craigtracey/cloud-init/osfamilies)
</content>
</entry>
<entry>
<title>Helpful cleanups.</title>
<updated>2012-10-28T02:25:48+00:00</updated>
<author>
<name>harlowja</name>
<email>harlowja@virtualbox.rhel</email>
</author>
<published>2012-10-28T02:25:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=aa8b51a48a30e3a3c863ca0ddb8bc4667026d57a'/>
<id>urn:sha1:aa8b51a48a30e3a3c863ca0ddb8bc4667026d57a</id>
<content type='text'>
1. Remove the usage of the path.join function
   now that all code should be going through
   the util file methods (and they can be
   mocked out as needed).
2. Adjust all occurences of the above join
   function to either not use it or replace
   it with the standard os.path.join (which
   can also be mocked out as needed)
3. Fix pylint from complaining about the
   tests folder 'helpers.py' not being found
4. Add a pylintrc file that is used instead
   of the options hidden in the 'run_pylint' 
   tool.
</content>
</entry>
</feed>
