summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-23Import version 0.7.7~bzr1208-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1208Scott Moser
2016-08-23Import version 0.7.7~bzr1200-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1200Scott Moser
2016-08-23Import version 0.7.7~bzr1192-0ubuntu2Scott Moser
Imported using git-dsc-commit.
2016-08-23Import version 0.7.7~bzr1192-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1192Scott Moser
2016-08-23Import version 0.7.7~bzr1189-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1189Scott Moser
2016-08-23Import version 0.7.7~bzr1182-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1182Scott Moser
2016-08-23Import version 0.7.7~bzr1176-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1176Scott Moser
2016-08-23Import version 0.7.7~bzr1160-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1160Scott Moser
2016-08-23Import version 0.7.7~bzr1156-0ubuntu2Scott Moser
Imported using git-dsc-commit.
2016-08-23Import version 0.7.7~bzr1156-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1156Scott Moser
2016-08-23Import version 0.7.7~bzr1155-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1155Scott Moser
2016-08-23Import version 0.7.7~bzr1154-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-04-13phone_home: allow usage of fqdnScott Moser
This simply allows the phone_home template to pass the systems fully qualified domain name. LP: #1566824
2016-04-13chef: straighten out validation_cert and validation_keyScott Moser
Now, validation_key is always a path to a file, as it is in chef's client.rb syntax. validation_cert is always the *content* of that file that should be written. However, if validation_cert is the string "system", then we do not write that value, but rather assume the file exists. LP: #1568940
2016-04-13skip bridges when generating fallback networkingScott Moser
It does not make sense to consider bridges when searching for fallback networking. If the system is configured with a bridge, then its probably for some purpose other than to get to a metadata service. Considering the bridge could make cloud-init pick the wrong device on reboot. LP: #1569974
2016-04-12rh_subscription: only check subscription if configuredScott Moser
The rh_subscription config module would attempt to connect to the RHN servers even when no config is provided. Now, instead check to make sure that valid config is provided first. That consists of username and password or a activation key. LP: #1536706
2016-04-12SmartOS, CloudSigma: fix error when dmi data is not availbleScott Moser
In Cloudsigma, the datasource would warn if no product id was availble. SmartOS would log exception. This fixes both of those, changing the warning to a debug message. LP: #1569469
2016-04-12DataSourceNoCloud: fix check_instance_id when upgradedScott Moser
A system that had booted, upgraded, and then rebooted would show a cloud-init stack trace as it attempted to run new code with the old pickled object. The old object would not have the seed_dirs attribute. So we check and fallback correctly if that is not present. LP: #1568150
2016-04-12provide a warning if 'system' but file does not existScott Moser
2016-04-12chef: straighten out validation_cert and validation_keyScott Moser
Now, validation_key is always a path to a file, as it is in chef's client.rb syntax. validation_cert is always the *content* of that file that should be written. However, if validation_cert is the string "system", then we do not write that value, but rather assume the file exists. LP: #1568940
2016-04-11lxd: adds basic support for dpkg based lxd-bridge configuration.Scott Moser
It exposes the most useful debconf keys as cloud-init configuration keys.
2016-04-11minor cleanupsScott Moser
- use util.del_file rather than os.remove - raise exception if debconf-communicate is not present - add a trailing newline into debconf-communicate input
2016-04-11Add tests for lxd-bridgeStéphane Graber
2016-04-11lxd-bridge: Don't require a bridge name and implement support for domain nameStéphane Graber
2016-04-11Update lxd-bridge code to do a single debconf-communicate run and split ↵Stéphane Graber
debconf logic to a function
2016-04-11Add support for lxd-bridge configurationStéphane Graber
2016-04-06Ensure that a resolve conf object is written as a string.Scott Moser
Instead of passing the raw object and expecting the write_file to work automatically make sure we explicitly pass the string version of it so that the write_file routine can correctly encode/decode it as needed. LP: #1479988
2016-04-06fix tests and hopefully actually workScott Moser
2016-04-06rh_subscription: only check subscription if configuredScott Moser
The rh_subscription config module would attempt to connect to the RHN servers even when no config is provided. Now, instead check to make sure that valid config is provided first. That consists of username and password or a activation key. LP: #1536706
2016-04-06fix adding of users when no group is specifiedScott Moser
revision 1179 regressed adding a user that did not have a 'groups' entry present in cloud-config. This handles that correctly, making 'add_user' able to take: a.) groups="group1,group2" b.) groups=["group1", "group2"] c.) groups=None d.) no groups parameter Additionally, if a primary group is specified it will also be created. End result is that this is functional: #cloud-config groups: ["sudo"] users: - name: sysop primary-group: sysop groups: "sudo,adm" shell: /bin/bash - name: user1 primary-group: users groups: sudo - name: foo1 - name: bar gecos: Bar groups: ["bargroup"] Resulting in: $ groups sysop sysop : sysop adm sudo $ groups user1 user1 : users sudo $ groups foo1 foo1 : foo1 $ groups bar bar : bar bargroup LP: #1562918
2016-04-06support adding the primary group alsoScott Moser
2016-04-05write_files: fix decompression of contentScott Moser
When provided with gzipped data, an exception would be raised because of a conversion to string. This fixes the issue and adds a test for write_files. LP: #1565638
2016-04-04systemd: do not specify After of obsolete syslog.target (LP: #1536964)Scott Moser
syslog.target is obsolete in debian, this fixes a lintian warning. LP: #1536964
2016-04-04chef: fix chef installation from gemsScott Moser
Installation from gems was previously always broken. This fixes the order or parameters calling install_chef_from_gems. LP: #1553345
2016-04-04disk_setup: correctly send --force to mkfs on block devicesScott Moser
Send the --force flag to mkfs or other filesystems when target is a block device. This fixes a general code flow issue where we were setting the --force flag. LP: #1548772
2016-04-04locale: list unsupported environment settings in warningScott Moser
Now if you log in with unsupported locale, you'll see: The unknown environment variables are: LC_CTYPE=en_GB.utf-8 LC_MESSAGES=en_GB.utf-8 LC_ALL=en_GB.utf-8 LP: #1558069
2016-04-04DataSource: set ds_cfg to be a dictionaryScott Moser
if the Datasource does not have an entry in config, then set it to be a empty dictionary rather than None. Also remove places that did this elsewhere.
2016-04-04FreeBSD: improvements for packages, setting password and timezoneScott Moser
- Implement set_passwd - Implement set_timezone - support installing packages - Use /bin/tcsh as default user shell (FreeBSD default) - Change default username to freebsd - Enable set-passwords, package-update-upgrade-install and timezone modules
2016-04-04add ChangeLog entryScott Moser
2016-04-04merge with trunkScott Moser
2016-03-30fix adding of users without a groupScott Moser
revision 1179 regressed adding a user that did not have a 'groups' entry present. This should handle that correctly, making 'add_user' able to take: a.) groups="group1,group2" b.) groups=["group1", "group2"] c.) groups=None d.) no groups parameter LP: #1562918