summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig
AgeCommit message (Collapse)Author
2012-06-13Use --quiet when running apt-getScott Moser
Use the --quiet switch when running apt-get to get output suitable for logging, rather than with pretty progress updates designed for interactive use. This makes the log, as returned by GetConsoleOutput for instance, a little shorter and easier to read. Some action completion notices are also missed, but it's pretty clear still as no error output appears before cloud-init goes on to the next thing. Mer apt-get man page: Quiet; produces output suitable for logging, omitting progress indicators. LP: #1012613
2012-06-13Use -q when running apt-get for logging without progress updatesMartin Packman
LP: #1012613
2012-04-10cc_landscape.py: if /etc/landscape does not exist, then create itScott Moser
LP: #978329
2012-03-26cc_chef: fix bug when validation_key was present, but validation_cert was notScott Moser
This fixes a bug in chef handling if the config contained the 'validation_key' key, but not the 'validation_cert' key. LP: #960547
2012-03-21fix bad variable if blocking cc_resizefsScott Moser
2012-03-21allow cloud-config to control if resizefs is blocking or notScott Moser
2012-03-21cc_resizefs: run resizefs in the background during boot.Scott Moser
LP: #961226
2012-03-09If the user has chosen to remove default ca-certs, prevent package upgrade Scott Moser
of ca-certificates from adding new trusted certs.
2012-03-09fix spelling error in apt pipeline filenameScott Moser
2012-03-09Some cleanups before merge.Scott Moser
* removed the 'CLOUD-INIT-IGNORE' section, as we're just blindly writing the file now. removed the now-unnecessary import of 're' and 'os' * removed try/except block around write_apt_snippet. This will bubble up and cloud-init will let it through even to the console. Catching it and turning it into a debug would just hide it. * removed 'default' as a synonym for 'whatever cloud-init thinks is best' If people are going to change this, I'd rather they be specific. * supported value of "0" * fixed some complaints from ./tools/run-pylint cloudinit/CloudConfig/cc_apt_pipelining.py
2012-03-08Simplified proposed patchBen Howard
- Changed values to be more simplistic and intuitive - Only allow pipelining values up to 5 - Changed to per_instance over per_always to remove need for tracking the values - Fixed Python style
2012-03-08Switch to using util.subp.Mike Milner
2012-03-07Added ability of cloud-init to manage apt http pipeliningBen Howard
- cloud-config option of "apt-pipelining" - Address LP: 948461
2012-02-28address change in name of lxc-is-container to running-in-containerScott Moser
Also improves the logic in is_container following ubuntu's /etc/init/container-detect.conf . LP: #941955
2012-02-24If we don't trust the default certs, don't add new certs fromMike Milner
ca-certificates package upgrades.
2012-02-17fix pylint warningsScott Moser
2012-02-15fix update-etc-hosts, 'manage_etc_hosts' is not a boolean, but a stringScott Moser
2012-02-11add support for salt minionsJeff Bauer
2012-01-18Add HP to Copyright, and Juerg Haefliger Authors.Scott Moser
This copyright change reflects previous changes that Juerg made for pylint and pep8 cleanups. From: Juerg Haefliger <juerg.haefliger@hp.com> Date: Mon, 16 Jan 2012 10:45:12 +0100
2012-01-17add support for add/remove CA Certificates via cloud-config (LP: #915232)Scott Moser
LP: #915232
2012-01-17remove usage of global (no longer need --disable=W0603)Scott Moser
2012-01-17remove need for global pylint disable of W0402Scott Moser
This is actually a pylint bug, but it considers use of string.letters and string.whitespace deprecated.
2012-01-17[PATCH] PEP8 coding style fixes.Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com> This pulls in the named patch for LP: #914739 with a few other changes.
2012-01-17[PATCH 4/4] Fix pylint conventions C0301 (line too long)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-17Merge from trunk.Mike Milner
2012-01-17[PATCH 3/4] Fix pylint conventions C0324 (comma not followed by a space)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-17Lint fixes.Mike Milner
2012-01-17[PATCH 2/4] Fix pylint conventions C0322 (operator not preceded by a space)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-17[PATCH 1/4] Fix pylint conventions C0321 (more than one statement on a ↵Scott Moser
single line) From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-17Use delete_dir_contents from cloudinit.util.Mike Milner
2012-01-17Convert code to use the write_file function from cloudinit.util.Mike Milner
2012-01-17Comment and doc cleanup.Mike Milner
2012-01-16Small docstring fix.Mike Milner
2012-01-15Added function for deleting default trusted CA certs.Mike Milner
2012-01-14Handle config flag for removing default trusted CAs.Mike Milner
2012-01-14Factor out writing of certificates.Mike Milner
2012-01-12Add ability to rebuild CA certificate file.Mike Milner
2012-01-12Add tests for ca-certs handler.Mike Milner
2012-01-12[PATCH 11/13] Fix pylint warnings W0141 (used builtin function xyz)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com> Replace superseded builtin functions 'filter' and 'map' using list comprehension.
2012-01-12[PATCH 10/13] Fix pylint warnings W0102 (dangerous default value asScott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com> argument)
2012-01-12[PATCH 08/13] Fix pylint warnings W0104 (statement seems to have noScott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com> effect)
2012-01-12[PATCH 07/13] Fix pylint warnings W0622 (redefining built-in 'xyz')Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-12[PATCH 06/13] Fix pylint warnings W0612 (unused variable)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-12[PATCH 05/13] Fix pylint warnings W0613 (unused argument)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-12[PATCH 04/13] Fix pylint warnings W0611 (unused import)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-12[PATCH 01/13] Fix pylint warnings W0311 (bad indentation)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-12Initial work on trusted CA cert handling.Mike Milner
2012-01-12fix selection of ec2 mirrors when inside ec2.Scott Moser
LP: #915282
2012-01-10fix invalid variable name in cloudinit/CloudConfig/cc_resizefs.pyScott Moser
2012-01-09run resizefs module on every bootScott Moser
on EC2, you can: stop instance resize root volume start instance Currently, the partition would get grown correctly in the initramfs, but the root filesystem will not get automatically resized in that case as it only runs per_instance. This should not be harmfull in any case, as resizefs will just report nothing to do: $ sudo resize2fs /dev/sda5 resize2fs 1.42-WIP (16-Oct-2011) The filesystem is already 25600278 blocks long. Nothing to do!