Issue #17382 has been reported by Chad Huneycutt.
----------------------------------------
Bug #17382: exec command quote handling
https://projects.puppetlabs.com/issues/17382
Author: Chad Huneycutt
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
I am having a hard time searching for this to see if it has already been
reported.
This worked on puppet 2.6, but since I upgraded to 2.7.19 it does not.
I have an exec like this:
exec { foo:
path => '/usr/bin',
command => "printf '%s\t%s(rw,sync,no_root_squash)\n' '/export/$name'
'$name' >> bar",
}
puppet returns this when it tries to compile it:
err: /Stage[main]//Exec[foo]/returns: change from notrun to 0 failed: Could not
find command ' '
I suspect the quoting in the command, but I haven't had a chance to simplify it
and figure out exactly where the extraction is messing up.
--
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.