Hi all,

Is it possible to handle notify in a define?

as in:
##################
define special_file($content) {
    file {$name:
        content => $content,
        ensure => file
    }
}

special_file { "/blahfile":
  content => "blahblah"
}


package { "blah":
  notify => SpecialFile["/blahfile"]
}
##################

Now, I want to do something special (for example touch it) in
special_file if it gets notified.
How can I do this?

Thanks,
Mathijs

-- 
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