Eugene Vilensky
2012-10-31 12:52:54 UTC
Hello,
I'm trying to send parameters to an Exec ("exec1") based on values, using a
case statement. I've tried putting the two versions of the exec in a case
block, which failed (exec1 is a dependency of exec2, and exec2 complained
it could not find exec1), and a case statement can't go directly directly
into the parameters of the Exec itself
Google helped me with this thread:
http://comments.gmane.org/gmane.comp.sysutils.puppet.user/20597
But I wonder if there is a more modern way of doing it with 2.7.19 (or 3.0)?
Many thanks,
Eugene
I'm trying to send parameters to an Exec ("exec1") based on values, using a
case statement. I've tried putting the two versions of the exec in a case
block, which failed (exec1 is a dependency of exec2, and exec2 complained
it could not find exec1), and a case statement can't go directly directly
into the parameters of the Exec itself
Google helped me with this thread:
http://comments.gmane.org/gmane.comp.sysutils.puppet.user/20597
But I wonder if there is a more modern way of doing it with 2.7.19 (or 3.0)?
Many thanks,
Eugene
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-***@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-***@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.