Re: [Puppet Users] Puppet device file

2015-03-12 Thread Felix Frank
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/',

[Puppet Users] Puppet device file

2015-03-09 Thread Sergiu Cornea
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}, }