badbishop
unread,Jan 21, 2013, 1:30:51 PM1/21/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
Hello,
I'm writing my first custom type and provider for Puppet. I've run into following trouble. When I define a command binary (using touch here for the sake of example)
commands :mycommand => 'touch'
... and then in create run
mycommand '/tmp/test1'
somehow a new line gets inserted between command and the argument. In debug messages it looks OK, just as if there's an extra space, by the error looks like first the command got into interactive mode, and then received invalid argument (I have experimented with several commands, like aptitude, for instance). If I copy the resulting command from debugging output, it forks just fine.
I'm using puppet 2.7.20
Any similar experiences?