I have been working on full feature syslog type and providers.  I  
have a few questions about how to do things.

1) How do I have a type 'implement' functionality from another type.

For example, I have these 2 types:

file {"/var/log/ipfw.log":
        ensure => present,
        mode => 600,
        owner => root,
        group => wheel,
}
syslog { "/var/log/ipfw.log":
        selector => 'security.info'',
        ensure => present,
        notify => [ Service[syslog] ]
        mode => 600,
        owner => root,
        group => wheel,
}

I'd like not to have the first file{} type and have the provider  
'touch' the file if it does not exist.

2) Is there an 'autonotify' feature like there is autorequire?  Seems  
like I should be able to have it notify the syslog service every time  
I update the syslog.conf file.

Thanks

- JimP

--- @(#) $Id: dot.signature,v 1.15 2007/12/27 15:06:13 pirzyk Exp $
     __o  j...@pirzyk.org -------------------------------------------
  _'\<,_
(*)/ (*) I'd rather be out biking.

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to