summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-03fix: Write sudo rules upon user creation.Harm Weites
2014-09-02FreeBsd: fix initscripts and add working config fileScott Moser
This set of changes generally produces a functional cloud-init on FreeBsd.
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-28fix: Make sure this freebsd test succeeds on all platforms (harlowja).Harm Weites
2014-08-27Openstack: do not load urls twiceScott Moser
The metadata service openstack implementation would end up fetching urls more than once, as _path_exists would end up doing a GET. Now instead, get things you expect to be there.
2014-08-27no functional changes, but some minor changes.Scott Moser
2014-08-27Fix retry cb to reflect what used to existJoshua Harlow
2014-08-27Fixed more of the slowness around fetching and retryingJoshua Harlow
2014-08-26Show the available versions in the debug log messageJoshua Harlow
2014-08-26Log a warning when unable to fetch the openstack versionsJoshua Harlow
2014-08-26Just use os.path.exists directlyJoshua Harlow
2014-08-26Add logging around failure to read optional/mandatory pathsJoshua Harlow
2014-08-26Optimize away most of the path_exists checksJoshua Harlow
2014-08-26Fix pep8 issues, drop pylint.Jay Faulkner
pep8: passes on pylint 1.5.7 (and 1.5.6 utopic). intent is that is to be the target for future changes. pylint: remove as more hassle than its worth. Intent is to move to pyflakes at some point.
2014-08-26further remove evidence of pylint.Scott Moser
This just removes comments '# pylint:' things and other code remnents of pylint.
2014-08-26Remove pylintJay Faulkner
pylint was not passing, and per smoser in IRC pylint can/should be removed.
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-26ssh_authkey_fingerprints: fix bug that prevented disabling the moduleScott Moser
Module intended to allow disabling by configuration, but that was broken. Now this allows: no_ssh_fingerprints = True LP: #1340903
2014-08-23fix: Drop some overly loud debug messages.Harm Weites
2014-08-23change: Rename the config file to cloud.cfg-freebsd so it doesn'tHarm Weites
get copied per default. Packaging will take care of installing this configfile on the BSD platform.
2014-08-23fix: Syntax.Harm Weites
2014-08-23fix: Use the correct variable.Harm Weites
2014-08-23merge: Pull in the fixes from Scott.Harm Weites
2014-08-23merge: Trunk.Harm Weites
2014-08-22build-on-freebsd: minor cleanups/bikesheddingScott Moser
2014-08-22setup.py: remove read_datafiles, use globals for ETC and USRScott Moser
2014-08-22merge from trunkScott Moser
2014-08-22ec2_utils.py: get_instance_metadata explicitly add trailing /Scott Moser
This change works around a bug in CloudStack's EC2 api implementation. That is filed upstream at [1]. The fix is safe for openstack and EC2 use cases as well. EC2 and OpenStacks' EC2 metadata service both return a list with access to either of: <url_base>/latest/meta-data <url_base>/latest/meta-data/ Additionally, the responses explicitly contain a trailing '/' for items that have a child. The ec2_utils code then just re-uses the trailng / there. Thus, only the top level request for 'meta-data/' needs the explicit fix. This also changes test cases. Those test cases failed without fixing them. If ever this regressed, those would fail again. -- [1] https://issues.apache.org/jira/browse/CLOUDSTACK-7405 LP: #1356855
2014-08-22docs: fix disk-setup to reference 'table_type'Scott Moser
LP: #1313114
2014-08-21fix rendering resolv.conf if no 'options' are providedScott Moser
this makes some changes to the cc_resolv_conf to make its generate_resolv_conf method more easily callable (for future test). Also sets it up so that 'options' is always defined when the template is rendered. LP: #1328953
2014-08-21settings: fix typo resulting in OpenStack and GCE not running.Scott Moser
LP: #1329583
2014-08-21systemd: make cloud-init block ssh service startup to guarantee keys existScott Moser
LP: #1333920
2014-08-21use url_helper to combine urlScott Moser
This seems cleaner, to avoid duplicate '/' being added.
2014-08-16fix: Don't create a directory that will never be used anyway.Harm Weites
2014-08-14fix: Install the python package that will install the required link toHarm Weites
the python2.7 binary. This defaults to 2.7, which is fine.
2014-08-13remove un-used 'end' in result.json and status.jsonScott Moser
2014-08-13change: Run the ssh module.Harm Weites
2014-08-10change: Cancel execution of several modules that are definately notHarm Weites
tested or supported yet.
2014-08-10change: Install everything in the right location on both Linux (whichHarm Weites
ofcourse already was good) and FreeBSD (which realy likes /usr/local for this).
2014-08-10fix: Set the environment var CLOUD_CFG to specify the location ofHarm Weites
cloud.cfg since -f is not used for that. Given the importance of this file/location, it's explicitly beeing set in the initscripts instead of trusting on something in /etc/defaults.
2014-08-10change: Save and restore the SSH keys between builds.Harm Weites
2014-08-09change: Make note of another python lib pypi takes care of.Harm Weites
2014-08-09change: Create a symlink to python2.7, to make sure running plain pythonHarm Weites
works.
2014-08-09fix: Pass -y to growfs to keep it from asking for confirmation.Harm Weites
2014-08-09new: Some datasources (like Smartos) use dmidecode to gather some specificHarm Weites
information, so install it.
2014-08-09fix: More dependencies.Harm Weites
2014-08-09change: Add an important comment.Harm Weites
2014-08-09new: Buildscript for installing on FreeBSD. This should do until aHarm Weites
proper port is created.