summaryrefslogtreecommitdiff
path: root/cloudinit
AgeCommit message (Collapse)Author
2015-03-31adjust cc_snappy for snappy install package with config.Scott Moser
It was believed that to install a package with config the command was: snappy install --config=config-file <package> Instead, what was implemented in snappy was: snappy install <package> [<config-file>] This modifies cloud-init to invoke the latter and changes the tests appropriately. LP: #1438836
2015-03-27allow-unauthenticated when done from local fileScott Moser
2015-03-27do not use setScott Moser
2015-03-27be more user-friendly when looking for matching .configScott Moser
On fspath installs, look for .config files harder. Given a file named: pkg.namespace_0.version_arch.snap We'll search for config files named: pkg.namespace_0.version_arch.config pkg.namespace.config pkg.config
2015-03-27merge from trunkScott Moser
2015-03-27NoCloud: the local portion of NoCloud incorrectly claimed datasourcesScott Moser
The intent has always been for the local datasource (NoCloud) to require the provider of metadata to provide 'dsmode=local'. If that wasn't found, then the default 'dsmode' would be 'net', and the NoCloudNet datasource would then find the data. The bug here was that the default 'net' wasn't being set when data was found on a local source.
2015-03-27fix read_installScott Moser
2015-03-27address namespacingScott Moser
2015-03-27set snappy command earlierScott Moser
2015-03-27change 'configs' to 'config', and namespace input to 'snappy config'Scott Moser
the input to 'snappy config <packagename>' is expected to have config: <packagename>: content: So here we pad that input correctly. Note, that a .config file on disk is not modified. Also, we change 'configs' to just be 'config', to be possibly compatible with the a future 'snappy config /' that dumped: config: pkg1: data1 pkg2: data2
2015-03-26fix scope so that SNAPPY_CMD is affected by set_snappy_commandScott Moser
2015-03-26mention ubuntu-coreScott Moser
2015-03-26improve doc, change 'click_packages' path to be 'snaps'Scott Moser
2015-03-26rad_pkg_data: return data, fix undefined variableScott Moser
2015-03-26encode needed for yaml_dumpsScott Moser
2015-03-26prefer snappy-go to snappyScott Moser
2015-03-26add tests for data typesScott Moser
2015-03-26pep8Scott Moser
2015-03-26pep8, and some more testsScott Moser
2015-03-26start of snap_op testsScott Moser
2015-03-26commit work in progress. tests pass.Scott Moser
2015-03-25Compile SmartOS line-parsing regex once.Daniel Watkins
2015-03-25Add link to Joyent metadata specification.Daniel Watkins
2015-03-25Switch logging from info to debug level.Daniel Watkins
2015-03-25Ensure that the serial console is always closed.Daniel Watkins
2015-03-25Add logging to JoyentMetadataClient.Daniel Watkins
2015-03-25Convert DataSourceSmartOS to use v2 metadata.Daniel Watkins
2015-03-18Update is_disk_used for changed enumerate_disk output.Daniel Watkins
Fixes Launchpad bug #1311463.
2015-03-17SmartOS: fixes for python3 reading from serial device.Scott Moser
We were hitting exceptions when writing to the SmartOS serial console and, once that was fixed, we were hanging permanently waiting for b"." == "." to be true. This fixes both of those issues.
2015-03-16emit_upstart: fix use of undeclared variableScott Moser
2015-03-13Write and read bytes to/from the SmartOS serial console.Daniel Watkins
2015-03-11userdata-handlers: python3-related fixes on do-not-process-this-part pathOleg Strikov
Cloud-init crashed when received multipart userdata object with 'application/octet-stream' part or some other 'application/*' part except archived ones (x-gzip and friends). These parts are not processed by cloud-init and result only in a message in the log. We used some non-python3-friendly techniques while generating this log message which was a reason for the crash.
2015-03-10DataSourceMAAS: fix timestamp error in oauthlibScott Moser
oddly enough, the timestamp you pass into oauthlib must be a None or a string. If not, raises ValueError: Only unicode objects are escapable. Got 1426021488 of type <class 'int'>
2015-03-10DataSourceMAAS: remove debug statementScott Moser
2015-03-05snappy: disable by defaultScott Moser
this does 2 things actually a.) disables snappy by default, and adds checks to filesystem to enable it this way it runs on snappy systems, but not on others. b.) removes the 'render2env' that was mostly spike code. LP: #1428495
2015-03-05fixes from testingScott Moser
2015-03-05do not raise exception on non-existant channel.ini fileScott Moser
2015-03-05DataSourceMAAS: generate oauth headers with adjusted timestamp in case of ↵Oleg Strikov
clock skew This functionality has been introduced to fix LP: #978127, but was lost while migrating cloud-init to python3.
2015-03-05fixes bug: https://launchpad.net/bugs/1428495Scott Moser
snappy: disable by default this does 2 things actually a.) disables snappy by default, and adds checks to filesystem to enable it b.) removes the 'render2env' that was mostly spike code.
2015-03-04Add util.message_from_string to wrap email.message_from_string.Scott Moser
This is to work-around the fact that email.message_from_string uses cStringIO in Python 2.6, which can't handle Unicode.
2015-03-04pull in 'snappy' supportScott Moser
This allows config to disable some of the config modules that were failing and logging WARN on snapy. Also adds the snappy module and changes the syslog perms to take a list of user:groups rather than just a single. LP: #1428139
2015-03-04apt_configure: allow disablingScott Moser
2015-03-04grub-dpkg: allow to be disabledScott Moser
2015-03-04locale: make able to be turned offScott Moser
2015-03-04fix logging perms with list rather than singleScott Moser
2015-03-04Add util.message_from_string to wrap email.message_from_string.Daniel Watkins
This is to work-around the fact that email.message_from_string uses cStringIO in Python 2.6, which can't handle Unicode.
2015-03-04Fix invalid format string in CloudSigma logging.Daniel Watkins
2015-03-04Use more consistent logging invocation.Daniel Watkins
2015-03-04add snappy moduleScott Moser
2015-03-04run emit_upstart only if upstart was init systemScott Moser