summaryrefslogtreecommitdiff
path: root/cloudinit/distros
AgeCommit message (Collapse)Author
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
2014-01-28exclude modules fix 1Nate House nathan.house@rackspace.com
2014-01-27Adds distro module exclude supportNate House nathan.house@rackspace.com
2014-01-27init_cmd inheritance fixesNate House nathan.house@rackspace.com
2014-01-24Don't try to create members if group creation failsJoshua Harlow
2014-01-24Fix logexc usage in freebsd distroJoshua Harlow
- There appeared to be a few logexc calls that did not pass the logger in, fix those locations where this occured. - When a group member adding fails, log the error and try the next member instead of failing adding any more members
2014-01-24Log failure to restore backup locale fileJoshua Harlow
2014-01-24Freebsd cleanupsJoshua Harlow
- Remove direct usage of open() and use the corresponding helpers instead. - Fix the non-existence of the copyfile routine and just use the ones that do exist in the utils module to do the file backup. - Use class level constants for the various file names read, this matches the same usage in the other distro types.
2014-01-24pylint and long line fixes.Scott Moser
This fixes up many long lines to be < 80 chars and some other pylint issues. pylint 1.1 (in trusty) is now complaining about the lazy logging, so I'll clean that up when I touch things.
2014-01-24pep8/pylint fixesScott Moser
tools/run-pep8 wasn't checking all python files. tools/run-pylint wasnt checking bin/cloud-init fixed resultant pep8 issues after finding them.
2014-01-24init_cmd distro unique supports gentoo init scriptsNate House nathan.house@rackspace.com
2014-01-23Package manager install / update fixes and service restart fooNate House nathan.house@rackspace.com
2014-01-23Initial add Gentoo distroNate House nathan.house@rackspace.com
2014-01-23fix freebsd new file headerScott Moser
2014-01-23pep8/tab to 8 spacesScott Moser
2014-01-23merge from trunkScott Moser
2014-01-23remove some white spaceScott Moser
2014-01-22Add a new lineJoshua Harlow
2014-01-22Add comments as to format with example in/outJoshua Harlow
2014-01-22Split net-parsing into own moduleJoshua Harlow
The ubuntu/debian networking file parsing function really is more generic than just a rhel utility function and can be used by others that want to use this functionality for there own purposes (say in writing down a freebsd network format instead) so moving this to its own module to encourage its usage outside of rhel.