Issue #1556 has been updated by Daniel Pittman.

Status changed from In Topic Branch Pending Review to Closed

K Hightower wrote:
> James, if you have time I would like to discuss the provider for this. I 
> think I only need a few hints and/or examples to get me started.

We are generally pushing features like this into modules, these days, rather 
than rolling them into core.  I am going to close this ticket in favour of that 
approach, if you are still working on it.
----------------------------------------
Feature #1556: A type and provider for editing /etc/hosts.allow
https://projects.puppetlabs.com/issues/1556

Author: John Wiegley
Status: Closed
Priority: Normal
Assignee: Kelsey Hightower
Category: newfeature
Target version: 
Affected Puppet version: 2.7.3
Keywords: 
Branch: https://github.com/khightower/puppet/tree/feature/master/1556


At the moment I'm doing something like this:

<pre>
  exec { "allow-ssh":
    command => "echo 'sshd : ALL' >> /etc/hosts.allow",
    onlyif  => "grep -qv ^sshd /etc/hosts.allow";
  }
</pre>

Would much prefer this:

<pre>
  tcpwrapper { sshd:
    ensure => allow,  # default is to allow
    hosts => "ALL";
  }
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to