yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67930
[Bug 1531582] Re: Some examples in documentation incorrectly contain dashes vs underscores
This bug is believed to be fixed in cloud-init in 17.1. If this is still
a problem for you, please make a comment and set the state back to New
Thank you.
** Changed in: cloud-init
Status: In Progress => Fix Released
--
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/1531582
Title:
Some examples in documentation incorrectly contain dashes vs
underscores
Status in cloud-init:
Fix Released
Bug description:
I know of two examples in the documentation that contain dashes in
config keys when they need to be underscores to function at runtime.
Following the examples in this case can lead to a lot of wasted time
and the dash vs underscore difference can be easy to miss, even when
looking at the code to see why things aren't working.
The two locations that have caused problems are:
http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config-resolv-conf.txt
In this example manage-resolv-conf should be manage_resolv_conf since
that is what the module is really looking for.
and
http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config-user-groups.txt
This user/groups example has 3 occurrences of lock-passwd that should be lock_passwd
This particular one is very frustrating when you hit it because when you hit it you're usually trying to set lock_passwd to False because you have some need to log into the account using a password but when you specify anything on lock-passwd the value of lock_passwd still defaults to True and locks you out.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1531582/+subscriptions
References