voxpupuli / puppet-augeasproviders

Alternative Augeas-based providers for Puppet
http://augeasproviders.com/
Apache License 2.0
63 stars 46 forks source link

New augeas provided type `etc_services` for managing entries in /etc/services file #132

Closed riton closed 5 months ago

riton commented 10 years ago

Sample usage could be

etc_services { 'remctl':
    ensure      => present,
    protocol    => 'tcp',
    port        => '4373',
    comment     => 'Remote Authenticated Command Service',
}
riton commented 10 years ago

rspec test are coming

raphink commented 10 years ago

Are you aware of https://projects.puppetlabs.com/issues/5660 ?

raphink commented 10 years ago

See also: https://github.com/stschulte/puppet/blob/feature/next/5660/lib/puppet/type/port.rb

I'm not implying that it doesn't justify creating an Augeas provider, but it could be used as a base type.

riton commented 10 years ago

Those tickets are so old that I'm not expecting for the port puppet type anymore ... in my distribution the port type is still commented out ! Maybe that this could be a good opportunity for augeasproviders to provide a solution for people seeking for this functionality right now.

I agree that maybe the best solution could be to provide an augeas provider based on the future built-in port type. This doesn't require that much modifications so I can easily translate the code, would this be okay for you guys ?

raphink commented 9 years ago

If you already know what that future type will look like, I'd be happy to see a provider working with it.

TheMeier commented 5 months ago

Closing due to inactivity. Please feel free to re-open