Feature #1556
A type and provider for editing /etc/hosts.allow
| Status: | Accepted | Start: | 09/04/2008 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | newfeature | |||
| Target version: | unplanned | |||
| Complexity: | Easy |
Affected version: | 0.24.5 |
|
| Keywords: |
Description
At the moment I'm doing something like this:
exec { "allow-ssh":
command => "echo 'sshd : ALL' >> /etc/hosts.allow",
onlyif => "grep -qv ^sshd /etc/hosts.allow";
}
Would much prefer this:
tcpwrapper { sshd:
ensure => allow, # default is to allow
hosts => "ALL";
}