summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-12merge from trunkScott Moser
2014-02-12Add support for the CloudSigma server context.Kiril Vladimiroff
2014-02-12merge from trunkScott Moser
2014-02-12Add 'unverified_modules' config option and skip unverified modulesScott Moser
Config modules are able to declare distros that they were verified to run on by setting 'distros' as a list in the config module. Previously, if a module was configured to run and the running distro was not listed as supported, it would run anyway, and a warning would be written. Now, we change the behavior to skip those modules. The distro (or user) can specify that a given list of modules should run anyway by declaring the 'unverified_modules' config variable. run_once modules will be run without this filter (ie, expecting that the user explicitly wanted to run it).
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-12cc_emit_upstart: do not bother filteringScott Moser
this module should "work" everywhere, in that it will only do anything if /sbin/initctl exists (which is going to be upstart).
2014-02-12merge from trunkScott Moser
2014-02-12Add CloudSigma data sourceKiril Vladimiroff
2014-02-10doc/examples/cloud-config-landscape.txt: fix invalid exampleDavid Britton
LP: #1277746
2014-02-10oopsDavid Britton
2014-02-10properlly format the landscape exampleDavid Britton
2014-02-10DataSourceEc2: Fix incorrect return in _get_url_settingsScott Moser
get_url_settings should return a pair of max wait and timeout and not false, fix this bug by checking the max_wait <= 0 in the calling function and returning correctly from there instead.
2014-02-10rpm build fixesScott Moser
- failing build due to missing Requires (changed to requirements.txt) - RH: require sudo >= 1.7.2p2-3 (with sudoers.d/)
2014-02-10remove the 'tools/sudo' file and references in cloud-init.spec.inScott Moser
I'm not really sure what the function of tools/sudo was, and it was definitely not required for fixing the rpm build.
2014-02-10Azure: fix issue with stale data in /var/lib/waagentScott Moser
If a datasource was found other than in /var/lib/waagent, and /var/lib/waagent contained all the files necessary for 'wait_for_files' (most likely 'SharedConfig.xml'), then cloud-init would continue on before looking properly. To address this, if the ovf-env.xml came from somewhere other than /var/lib/waagent, and it differs from the file in /var/lib/waagent, then we clean up some files that we expect to be provided by 'wait_for_files'. Also some minor changes to the tests here. LP: #1269626
2014-02-10make a defined var of DATA_DIR_CLEAN_LIST, some pylint cleanupsScott Moser
2014-02-10change behavior to only delete SharedConfig.xml.Scott Moser
2014-02-07Made new ovf-env.xml handling more robust. Test cases includedBen Howard
2014-02-07Rebase on upstreamBen Howard
2014-02-06Removed yum exclude module entry from gentoo distroNate House nathan.house@rackspace.com
2014-02-06Removed exclude conditional on keys-to-consoleNate 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-05Init script after consistencyNate House nathan.house@rackspace.com
2014-02-05Cleanup and cloud-init-local local/net mount dep fixNate 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-03Added is_excluded tests and updated gentoo init scriptNate House nathan.house@rackspace.com
2014-02-03Fix merge conflictNate House nathan.house@rackspace.com
2014-02-03Update yum unittestNate 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-02-01Fix incorrect returnJoshua Harlow
get_url_settings should return a pair of max wait and timeout and not false, fix this bug by checking the max_wait <= 0 in the calling function and returning correctly from there instead.
2014-01-31Fix sudo cfg. file mode. Require sudo >= 1.7.2p2-3 with sudoers.d support.Vlastimil Holer
2014-01-31Added config for sudo. Apply sudo config in RPM for Red Hat.Vlastimil Holer
2014-01-31Fix Requires->requirements.txt rename in RPM build.Vlastimil Holer
2014-01-29DataSourceNoCloud: support reading vendor-data Scott Moser
Here we add the ability to read vendor-data from a file named vendor-data at the same location as the user-data and meta-data files. At the moment, vendor-data is not read at all from 'seedfrom'.
2014-01-29merge from trunkScott Moser
2014-01-29add 2 tests for vendordata Scott Moser
2014-01-28Updated exclude modules for gentoo distro.Nate House nathan.house@rackspace.com
2014-01-28util.is_ipv4: realize that 0 is a valid number in a ipv4 address.Vlastimil Holer
Due to bug in function "cloudinit.util.is_ipv4" an IPv4 address with zero (0) at any component wasn't evaluated as IPv4 address. E.g.: having local datasource with 192.168.0.1 in meta-data/local-hostname. The correct behaviour would be to generate ip-192-168-0-1 hostname. With this bug, the hostname (with IPv4) was considered as FQDN (no IPv4 inside) and just first component (supposed to be hostname there) was taken. It generated hostname "192". Fixes for SmartOS datasource 1. fixed conflation of user-data and cloud-init user-data. Cloud-init user-data is now namespaced as 'cloud-init:user-data'. 2. user-scripts (not user-data) are now fetched from the meta-data service each boot and executed as in the scripts directory 3. datacenter name is now namespaced as sdc:datacenter 4. user-scripts will now have '#!/bin/bash' magically prepended if the 'file' thinks its plain text and it does not start with '#!' read_file_or_url: raise UrlError with 404 on ENOENT This makes it easier to call read_file_or_url and handle file or url errors. Now read_file_or_url will raise a UrlError in either case on errors.
2014-01-28cloudinit/util.py: fix pylint complaintsScott Moser
2014-01-28DataSourceNoCloud: support reading vendor-data Scott Moser
Here we add the ability to read vendor-data from a file named vendor-data at the same location as the user-data and meta-data files. At the moment, vendor-data is not read at all from 'seedfrom'.
2014-01-28Allow zeros when detecting IPv4 address (e.g. 192.168.0.1)Vlastimil Holer
2014-01-28exclude modules fix 1Nate House nathan.house@rackspace.com
2014-01-27Removed excessive is_excluded module callsNate House nathan.house@rackspace.com
2014-01-27Adds distro module exclude supportNate House nathan.house@rackspace.com