yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02403
[Bug 1023179] Re: cloud-config support for append/delete
fixed in 0.7.2
** Changed in: cloud-init
Status: Fix Committed => Fix Released
** Changed in: cloud-init
Milestone: 0.7.2 => None
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1023179
Title:
cloud-config support for append/delete
Status in Init scripts for use on cloud images:
Fix Released
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1023179/+subscriptions