Feature #1556

avatar

A type and provider for editing /etc/hosts.allow

Added by johnw 77 days ago. Updated 77 days ago.

Status:Accepted Start:09/04/2008
Priority:Normal Due date:
Assigned to:avatarcommunity % 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";
  }

History

09/05/2008 02:28 AM - jamtur01

avatar
  • Category set to newfeature
  • Status changed from Unreviewed to Accepted
  • Assigned to set to community
  • Target version set to unplanned
  • Complexity changed from Unknown to Easy

Also available in: Atom PDF