On Jun 13, 2011, at 5:00 PM, Sans wrote:

> Well, the file I mention is actually one of the Torque (formerly PBS
> batch system) "config" file (location: /var/torque/mom_priv/config),
> which is auto generated by "yaim" but the thing is: if the file is
> already there "yaim" won't touch it. Let's just say that I don't want
> yaim to create this file (it messes it up very often and ended up with
> wrong value) but wanna make sure that the file is in correct shape,
> otherwise jobs won't run properly. On the other hand, that file
> doesn't mean anything at all, if Torque is not install in the first
> place. That's why I want to put that check in. Cheers!!
> 

1) Why not use puppet to decide if Torque should be installed in the first 
place?  Then you can use that logic to decide if the file should be created/put 
in place?
2) Does is matter if you create the file if the package isn't installed?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to