2012-07-10 22:23:46 |
Scott Moser |
description |
As discussed at UDS-Q, a simple cloud-config syntax improvement woudl be nice:
in multi-part input, currently, you can only overwrite entries in cloud-config. Ie, if one part has:
run-cmd:
- apt-get install foo
and another has:
run-cmd:
- apt-get install bar
Then whichever is later will overwrite the 'run-cmd'. I'd like to do something like:
== part 1 ==
run-cmd:
- apt-get install foo
== part 2 ==
run-cmd+:
- apt-get install bar
Ie, the '+' would indicate append to the list or dict. Also intend to add '-' to remove. |
As discussed at UDS-Q (http://pad.ubuntu.com/uds-q-servercloud-q-cloud-init-utils), a simple cloud-config syntax improvement would be nice:
in multi-part input, currently, you can only overwrite entries in cloud-config. Ie, if one part has:
run-cmd:
- apt-get install foo
and another has:
run-cmd:
- apt-get install bar
Then whichever is later will overwrite the 'run-cmd'. I'd like to do something like:
== part 1 ==
run-cmd:
- apt-get install foo
== part 2 ==
run-cmd+:
- apt-get install bar
Ie, the '+' would indicate append to the list or dict. Also intend to add '-' to remove. |
|