Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-12 | initial version of a test for a custom source.list template | Christian Ehrhardt | |
2016-05-12 | use recommended http mirror redirection for debian | Christian Ehrhardt | |
2016-05-12 | remove missed test print | Christian Ehrhardt | |
2016-05-12 | order code in test order | Christian Ehrhardt | |
2016-05-12 | test mirror list with failing mirror | Christian Ehrhardt | |
2016-05-12 | test debian and ubuntu source.list templating | Christian Ehrhardt | |
2016-05-12 | add testcase for rendering of templates into source.list | Christian Ehrhardt | |
2016-05-12 | remove unused test parts in test_handler_apt_source | Christian Ehrhardt | |
2016-05-11 | fix pep8 warning | Christian Ehrhardt | |
2016-05-11 | add test_apt_source_keyidonly (not yet supported) | Christian Ehrhardt | |
2016-05-11 | apt_apt_source_key doesn't need a mocked retval | Christian Ehrhardt | |
2016-05-11 | add test_apt_source_keyonly (not yet supported) | Christian Ehrhardt | |
2016-05-11 | split test_apt_source_key into one for key and one for keyid | Christian Ehrhardt | |
2016-05-11 | fix a few forgotten pep8 warnings in test_handler_apt_source.py | Christian Ehrhardt | |
2016-05-11 | convert test_apt_source_ppa to use a mocked util.subp | Christian Ehrhardt | |
2016-05-11 | fix specification of keyid | Christian Ehrhardt | |
2016-05-11 | test test_apt_source_key with mocked util.subp | Christian Ehrhardt | |
2016-05-10 | use proper asserRaises for try catch | Christian Ehrhardt | |
2016-05-10 | provide valid matcher for ppa so that apt-add-repository is triggered | Christian Ehrhardt | |
2016-05-10 | add test_apt_source_key for sources with a keyid to import | Christian Ehrhardt | |
2016-05-10 | add test_apt_source_ppa (failing for now) | Christian Ehrhardt | |
2016-05-10 | split into basic and replacement test | Christian Ehrhardt | |
2016-05-10 | basic apt_source test | Christian Ehrhardt | |
2016-04-12 | chef: straighten out validation_cert and validation_key | Scott 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-11 | Add tests for lxd-bridge | Stéphane Graber | |
2016-04-05 | write_files: fix decompression of content | Scott 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-03-07 | No longer run pollinate by default in seed_random | Scott Moser | |
The user can still choose to run pollinate here to seed their random data. And in an environment with network datasource, that would be expected to work. However, we do not want to run it any more from cloud-init because a.) pollinate's own init system jobs should get it ran before ssh, which is the primary purpose of wanting cloud-init to run it. b.) with a local datasource, there is no network guarantee when init_modules run, so pollinate -q would often cause issues then. c.) cloud-init would run pollinate and log the failure causing many cloud-init specific failures that it could do nothing about. LP: #1554152 | |||
2016-03-03 | Apply pep8, pyflakes fixes for python2 and 3 | Ryan Harper | |
Update make check target to use pep8, pyflakes, pyflakes3. | |||
2016-03-03 | Fix pyflake/pyflake3 errors | Ryan Harper | |
Now we can run make check to assess pep8, pyflakes for python2 or 3 And execute unittests via nosetests (2 and 3). | |||
2016-03-03 | Update pep8 runner and fix pep8 issues | Ryan Harper | |
2016-03-03 | fix lxd module to not do anything unless config provided | Scott Moser | |
2016-03-03 | run pyflakes in more places, fix fallout | Scott Moser | |
this makes 'make' run pyflakes, so failures there will stop a build. also adds it to tox. | |||
2016-03-01 | lxd: general fix after testing | Scott Moser | |
A few changes: a.) change to using '--name=value' rather than '--name' 'value' b.) make sure only strings are passed to command (useful for storage_create_loop: which is likely an integer) c.) document simple working example d.) support installing zfs if not present and storage_backedn has it. | |||
2016-02-04 | Use mock in test_handler_lxd.py and add test for lxd installation | Wesley Wiedenmeier | |
2016-02-03 | lxd: add support for setting up lxd using 'lxd init' | Wesley Wiedenmeier | |
If lxd key is present in cfg, then run 'lxd init' with values from the 'init' entry in lxd configuration as flags. | |||
2015-09-08 | power_state: support 'condition' argument | Scott Moser | |
if 'condition' is provided to config in power_state, then consult it before powering off. This allows the user to shut down only if a condition is met, and leave the system in a debuggable state otherwise. An example is as simple as: power_state: mode: poweroff condition: ['sh', '-c', '[ -f /disable-poweroff ]'] | |||
2015-07-28 | rsyslog: skip empty or None in remotes format | Scott Moser | |
This allows user to specify the following to overwrite a previously declared entry without warnings. rsyslog: {'remotes': {'foo': None}} | |||
2015-07-28 | remove 'syslog' module (its been moved to rsyslog) | Scott Moser | |
2015-07-28 | must declare proto of '@' | Scott Moser | |
2015-07-28 | add trailing newline only if necessary | Scott Moser | |
2015-07-28 | fix bug in remotes_to_rsyslog_cfg, add test | Scott Moser | |
2015-07-28 | add support for 'remotes' | Scott Moser | |
2015-07-27 | merge from trunk | Scott Moser | |
2015-07-27 | add rsyslog tests | Scott Moser | |
reasonable test of reworked rsyslog module | |||
2015-07-24 | commit initial re-work/re-implementation of syslog config | Scott Moser | |
2015-07-21 | Refactor cc_mounts.sanitize_devname to make it easier to modify. | Daniel Watkins | |
2015-05-15 | pep8 fixes | Scott Moser | |
2015-05-14 | read_seeded: fix reed_seeded after regression | Scott Moser | |
read_seeded was assuming a Response object back from load_tfile_or_url but load_tfile_or_url was returning string. since the only other user of this was a test, move load_tfile_or_url to a test, and just do the right thing in read_seeded. LP: #1455233 | |||
2015-05-01 | Update is_disk_used for changed enumerate_disk output. | Scott Moser | |
LP: #1311463 | |||
2015-05-01 | fix 'Make pyflakes' | Scott Moser | |