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

-- 


This message and its attachments are private and confidential. If you have 
received this message in error, please notify the sender and remove it and 
its attachments from your system.

The University of Westminster is a charity and a company 
limited by guarantee. Registration number: 977818 England. 
Registered Office: 309 Regent Street, London W1B 2UW.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/e5076603-01dd-4034-a995-b1e252f92c0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to