summaryrefslogtreecommitdiff
path: root/cloudinit/distros
AgeCommit message (Collapse)Author
2015-01-27Respond to review:Barry Warsaw
- Remove str() wrappers to second argument to write_files() where it is no longer necessary. Also: Fixed a couple of other octal literals which clearly weren't being tested.
2015-01-26More test repairs.Barry Warsaw
2015-01-23* Fix the filter() imports.Barry Warsaw
* In Py3, pass universal_newlines to subprocess.Popen()
2015-01-22Low hanging Python 3 fruit.Barry Warsaw
2015-01-21Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemedBarry Warsaw
to be behind trunk. `tox -e py27` passes full test suite. Now to work on replacing mocker.
2015-01-21More octal literal fixes.Barry Warsaw
2015-01-21Fix file modes to be Python 2/3 compatible.Barry Warsaw
2015-01-16hostname: apply hostname same as is writtenScott Moser
on RHEL, we were writing to persistent configuration the fqdn, but invoking 'hostname' on the first boot with just the shortname. On 'reboot', then the hostname would differ. Now, whatever we write, invoke hostname with. Also remove some duplicate code. LP: #1246485
2015-01-06tools/run-pep8: remove leading ',' fed to --ignoreScott Moser
--ignore was being called with ',E121,E...' rather than 'E121,E...'. that resulted in odd behavior, missing the pep8 errors that are fixed here.
2014-11-25Update with trunk and resolve conflictsJoshua Harlow
2014-11-24IPv6 support for rhel distroJoshua Harlow
When the ubuntu networking info file has ipv6 addresses inside it we need to make sure that we parse that information out and place it (at least) in the rhel network configuration writing. In later patches the other distros that use this parsed network configuration will likely also need to be updated (ubuntu and debian already should function as expected with regard to ipv6 support).
2014-11-24IPv6 support for rhel distroShraddha Pandhe
- Saw an issue in my earlier commit with multiple NICs. This commit fixes that issue, along with the indentation issue
2014-11-21Added unittests for IPv6 support for RHELShraddha Pandhe
2014-11-21Add IPv6 Support for Rhel.Shraddha Pandhe
This patch does the following: 1. Adds support to process network config with IPv6 2. Adds support to display 'ifconfig -a' information for IPv6 3. Adds support to display routing information for IPv6
2014-10-21Use LOG.warn and handle the None case as wellJoshua Harlow
2014-10-21Fix the word spacingJoshua Harlow
2014-10-21Also allow a dict to be usedJoshua Harlow
When a dict is passed in for 'ssh_authorized_keys' just extract the keys from the values of the dict (and discard the keys).
2014-10-21Handle strings/text type for 'ssh_authorized_keys'Joshua Harlow
Instead of only expected a list, tuple, or set type allow for a string type to be passed in, and add log message that occurs if some other type is used that can not be correctly processed.
2014-10-17Allow the usr/lib/exec to vary and still work with write_keysJoshua Harlow
2014-10-17Expose uses_systemd as a distro functionJoshua Harlow
Without this change the tests are currently failing on rhel7 since a location where a hostname file is written no longer exists at that location when systemd is active. To avoid this allow the test to inspect if the distro has systemd enabled and avoid testing the file when systemd is being used so the test passes. We likely need to figure out a better way to test features that no longer exist as files but exist as commands with systemd in general.
2014-10-08fix: Use continue to skip inside a loop.Harm Weites
2014-10-08fix: Take care of FreeBSD nic devicenames since they differ dependingHarm Weites
on the platform involved. Xen/KVM (Azure?) use different drivers, which results in different device names.
2014-10-02freebsd: Use the proper virtio FreeBSD network interface name.Scott Moser
2014-09-10pyflakes fixes.Scott Moser
make pyflakes now passes.
2014-09-05freebsd: fixes for sudo and build-on-freebsdScott Moser
Use the regular logic to create sudo rules and just supply the correct filename. The temp script in tools/ should install 2 more dependencies.
2014-09-03fix: Write sudo rules upon user creation.Harm Weites
2014-09-02Remove/adjust the verbose 'failed at attempted import of' logJoshua Harlow
Instead of using this log (which really isn't a failure) we should instead of just return the looked up locations and then if there really is an error the caller can handle the usage of the looked up locations as they choose fit.
2014-09-02merge from trunkScott Moser
2014-08-28fix: The original regex was a little harsh, the rest of the bitsHarm Weites
regarding keys and values from /etc/rc.conf is tweaked as well (harlowja).
2014-08-26further remove evidence of pylint.Scott Moser
This just removes comments '# pylint:' things and other code remnents of pylint.
2014-08-26fix(pep8): Fix various pep8 violations and version-lock pep8Jay Faulkner
Fixed all complaints from running "make pep8". Also version locked pep8 in test-requirements.txt to ensure that pep8 requirements don't change without an explicit commit.
2014-08-26change: Use a compiled regex and use the included match groups insteadHarm Weites
of matching yet again.
2014-08-23fix: Drop some overly loud debug messages.Harm Weites
2014-08-08fix: Skip lines from /etc/rc.conf not matching the pattern key=value.Harm Weites
2014-08-08merge: These are the changes from the freebsd-static-networking branch.Harm Weites
2014-07-29do not put comments in /etc/timezoneScott Moser
comments in /etc/timezone are not expected, and can cause problems if another tool tries to read it. LP: #1341710
2014-02-28distros/freebsd.py: fix regression due to previous pylint cleanupScott Moser
2014-02-12drop 'is_excluded'.Scott Moser
for now, this the mechanism just doesn't seem right. I think i'd rather have the module declare supported distros than have distros declare [un]supported modules.
2014-02-12fix pylint warning (and real bug) in bad spelling of resolve_conf_fnScott Moser
2014-02-06Removed yum exclude module entry from gentoo distroNate House nathan.house@rackspace.com
2014-02-06Added arch distro class to merge requestNate House nathan.house@rackspace.com
2014-02-06Added arch network configNate House nathan.house@rackspace.com
2014-02-06Removed exclude bits from yum module as its not a defaultNate House nathan.house@rackspace.com
2014-02-04Merge gentoo branch and updated set-password to support systemctlNate House nathan.house@rackspace.com
2014-02-04Update ssh_svcname in initNate House nathan.house@rackspace.com
2014-02-04Initial arch distro add.Nate House nathan.house@rackspace.com
2014-02-03Fix merge conflictNate House nathan.house@rackspace.com
2014-02-03Fix sshd restartNate House nathan.house@rackspace.com
2014-02-02Net interface up updates and override ssh_svcname to init scriptsNate House nathan.house@rackspace.com
2014-01-28Updated exclude modules for gentoo distro.Nate House nathan.house@rackspace.com