Hi,
  Is there some way to have an exec run only if you pass a tag on the command 
line?  For example:


class fubar {
  exec { 'reboot-system': 
    refreshonly => true,
    command => '/usr/bin/reboot',
    subscribe => Class["dummy"]
  }
}


As I would expect, this throws an error the it can't find the dummy class.  Any 
suggestions on how I could accomplish this?

...dave

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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