On 03/09/2015 05:59 PM, Sergiu Cornea wrote:
> Hello guys,
>
> I am trying to create a device files and I am not really sure if i'm
> applying the right check.
>
> exec { "creates_random_file_for_${name}":
> command => "mknod -m 0444 ${dev_random} c 1 9",
> path => '/usr/local/bin/:/bin/',
> unless => "/usr/bin/test -c ${dev_random}",
> }
>
> Can someone please guide me in the right direction?
>
> Thank you!
>
> Regards,
> Cip
Hi,
looks good to me. For debugging this, you can
1. run the commands by hand and
2. use the --debug flag to watch Puppet run them
HTH,
Felix
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/54FF1052.5000102%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.