[Puppet Users] Custom provider: shell command gets corrupted, how to debug?

2013-01-21 Thread badbishop
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 betwee

[Puppet Users] exec 'refresh' attribute possible values

2012-11-23 Thread badbishop
A quote from http://docs.puppetlabs.com/references/latest/type.html#exec refreshHow to refresh this command. By default, the exec is just called > again when it receives an event from another resource, but this parameter > allows you to define a different command for refreshing. A different co