Issue #13679 has been updated by Stefan Schulte.

Category set to settings
Status changed from Accepted to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/puppet/pull/640

I'm not sure if we need a general escaping mechanism or if we should just skip 
value interpolation for different settings. I'm afraid that introducing quoting 
and esacping in `/etc/puppet.conf` would both make the parser and the file 
itself needlessly complex for a single usecase. In my opinion `dbpassword` is 
the only setting that may legally include a dollar sign and I cannot come up 
with a usecase where you do want to have value interpolation on `dbpassword`. 
So the fix attached in the branch field just skips validation on `dbpassword`.

But I'm happy to hear different opinions.
----------------------------------------
Bug #13679: dollar signs can't be used in puppet.conf
https://projects.puppetlabs.com/issues/13679#change-59775

Author: Daniel Friesen
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: 
Category: settings
Target version: 
Affected Puppet version: 
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/640


Plain dollar signs ($) can't be used inside puppet.conf.
I tried quoting text with quotes and escaping with \ and neither work.

This is important in the case of passwords. If you have a long mysql password 
for stored configs like "sdf^3wre$4aer..." you get an error saying that $4 is 
not defined.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to