summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2012-10-23 18:36:41 +0200
committerScott Moser <smoser@brickies.net>2012-10-23 18:36:41 +0200
commitcb5893c3e3f635de4fef86f0a19be0ada0054930 (patch)
tree6fc84345114c4d121c7d3c64ae42503d33ba6b36 /cloudinit/config
parent2953d9d448fde3af19fc96ae00f41066f510d6fd (diff)
parentb541f738616349a028c5e54754ea83e439d82734 (diff)
downloadvyos-cloud-init-cb5893c3e3f635de4fef86f0a19be0ada0054930.tar.gz
vyos-cloud-init-cb5893c3e3f635de4fef86f0a19be0ada0054930.zip
Add helpers for wrapping file operations
Add a new example test that will patch utils and os functions so that they can be 'retargeted' to a temporary directory, which allows us the ability to run a full set of cloud-init stages. Neat things: 1. All cloud-init code is unchanged (as long as it goes through the utils functions for most functionality) 2. Allows for a natural way to setup a temporary directory then patch the new directory as the new 'root' and then run cloud-init stages and then check the contents of what was placed as desired. Note: This is now exposing what I think was just an issue in ./tools/run-pylint. ./tools/run-pylint ./tests/unittests/test_filters/test_launch_index.py and ./tools/run-pylint ./tests/unittests/test_simple_run was always failing, but now I'm seeing errors. need to fix that. any tests that 'import helper' have issues.
Diffstat (limited to 'cloudinit/config')
0 files changed, 0 insertions, 0 deletions