summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-08merge: These are the changes from the freebsd-static-networking branch.Harm Weites
2014-07-31ubuntu-init-switch: support disabling of reboot, minor tweeks.Scott Moser
- modify timeout for ~60 seconds before going on. - allow specifying 'reboot' on 'cloud-init single' or in config. - use stdin for subprocess so log is less noisy. - reboot --force: this is required this early in boot for upstart and to my experience at this point always required for systemd
2014-07-31ubuntu-init-switch: fix for determining if systemdScott Moser
/run/systemd/ seems to exist even if systemd is not the init system. but /run/systemd/system/ only exists if it has been used as init.
2014-07-31add ubuntu-init-switch module for testing systemd.Scott Moser
The module is useful primarily for testing in Ubuntu's transition to systemd. It should be very harmless elsewhere as it defaults to doing nothing, and will only run if configured as 'ubuntu' distro *and* 'dpkg' is available.
2014-07-31exit and warn if no 'dpkg' (probably wrong distro)Scott Moser
2014-07-31add some doc to moduleScott Moser
2014-07-31fix path to systemdScott Moser
2014-07-31fix for config, allow specifying target for cloud-init --singleScott Moser
2014-07-31initial commit oif iniit_switchScott Moser
2014-07-29cc_power_state_change: improve TypeError messagesScott Moser
Include the value that was found to be invalid in the error message.
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-07-24SeLinuxGuard: remove invalid check for sanity around restorecon, fix testScott Moser
previous commit occurred because the selinux test was failing in a schroot where there was no /etc/hosts. Now, fix that test more correctly, and fix some bad assumptions in the SeLinuxGuard.
2014-07-24test: make selinux test skipped if selinux not available.Scott Moser
Also, in debian packaging depend on it (so it wont skip there).
2014-07-24change trunk packaging to be more modern.Scott Moser
use pybuild and drop cdbs. This also now runs test during that build and does then require build dependencies.
2014-07-24pep8 fixes (2 unrelated to this mp)Scott Moser
2014-07-24remove duplicate entry in control.inScott Moser
2014-07-24remove print statement from setup.pyScott Moser
2014-07-24merge from trunkScott Moser
2014-07-24bddeb: do not sign by defaultScott Moser
instead of making the common use case need to pass '-us -uc', make the less common use case pass '--sign'.
2014-07-24default bddeb to building both systemd and upstartScott Moser
2014-07-24change default path of systemd files to /lib/sysemd/system.Scott Moser
2014-07-24Merge systemd instlal paths.Dimitri John Ledkov
2014-07-24refactor redundant systemd_rootDimitri John Ledkov
2014-07-24Use pkg-configDimitri John Ledkov
2014-07-24Yeah, tests pass now.Dimitri John Ledkov
2014-07-23fix httpretty based test cases if http_proxy is set.Scott Moser
previously this would fail: http_proxy=http://foo.bar make test now it will pass. This works around a bug where httpretty is not able to patch http operations if http_proxy is set. https://github.com/gabrielfalcao/HTTPretty/issues/122
2014-07-23moreDimitri John Ledkov
2014-07-23use override targetsDimitri John Ledkov
2014-07-23moreDimitri John Ledkov
2014-07-23moreDimitri John Ledkov
2014-07-23moreDimitri John Ledkov
2014-07-23more import statementsDimitri John Ledkov
2014-07-23Use nosetests and absolute importsDimitri John Ledkov
2014-07-23Use testsDimitri John Ledkov
2014-07-23fix upDimitri John Ledkov
2014-07-23fix upsDimitri John Ledkov
2014-07-23refactorDimitri John Ledkov
2014-07-23Modernise packaging, and allow multiple init system installation (based on ↵Dimitri John Ledkov
smoser pastebins).
2014-07-23Make systemd root installation dir appropriate for debian-like systems, else ↵Dimitri John Ledkov
fallback to universally acceptable one.
2014-07-21Allow the usage of jinja2 templatesScott Moser
This drops the hard requirement on Cheetah. Jinja is a python 2.4->3.x compatible templating engine, allow its optional usage (until we can depreciate cheetah) by allowing for specifying a template file header that can define which template engine to use. If the template file header does not specify a renderer, then assume that that is cheetah. If cheetah is not available, then use a limited builtin renderer on a best effort basis, and log the warning. LP: #1219223
2014-07-21add package info for bddeb/brpmScott Moser
2014-07-21use textwrap, simple formatting improvement.Scott Moser
2014-07-21merge from trunkScott Moser
2014-07-18Add non braces matching and a few more testsJoshua Harlow
2014-07-16fix 'make test' in python 2.6Scott Moser
2014-07-16Fix a few tests that have been failing in python 2.6Joshua Harlow
A few of the current tests have been continually failing in python 2.6 based systems, due to lack of unit test functions that are now added to ensure we can run the unit tests (and not have to ignore those failures) on python 2.6
2014-07-16Log the renderer type when rendering filesJoshua Harlow
2014-07-16Add basic renderer support and more robust import handlingJoshua Harlow
2014-07-16Less noisy logs, and improve some log messages.Scott Moser
Removes some of the log messages that are not really meaningful.
2014-07-15Add more useful execution continuing messageJoshua Harlow