Hi folks,

I'm a newbie to this wonderful tool called puppet and so far I'm loving it.


One of the first set of recipes (classes?) I wrote for my environment was to
build some packages from source and install them. Stuff like apache httpd,
nagios and others I prefer to build from source because the distro i'm
forced to use lags behind version wise (CloudLinux, a form of CentOS) and
I'd like certain of my tools to be more recent vintages than the distro
provides.

Is there a way to wrap a set of exec { } statement in a conditional such as:


if [ file_or_directory_does_not_exist ]
then
         exec { thing1}
         exec {thing2}

     etc...


or is there a better way that I'm not seeing?

Peter L. Berghold
Owner, Shark River Technical Solutions LLC

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

Reply via email to