On 21 November 2010 11:01, Stefan Schulte <stefan.schu...@taunusstein.net> wrote: > Hi, > > I wanted to write a resourcetype to manage ports in /etc/services. I did > write a type where you can do something like: > port { 'telnet', > protocol => 'tcp', > number => '22', > port_aliases => ['alias1','alias2'], > }
I think there is an augeas lens for /etc/services - see eg http://projects.puppetlabs.com/projects/1/wiki/Puppet_Augeas#Adding+a+service+that+uses+both+TCP+and+UDP+to+/etc/services So you possibly could write a define or something to do what you want there. Paul -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-...@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.