module-tinc/manifests/base.pp
mh f55cfe6187 update tinc module to new stuff
* proper scoped var lookup
* use file_line instead of line
* use hiera instead of global $use_shorewall
* cleanup template
2012-02-09 16:13:23 +01:00

22 lines
401 B
Puppet

class tinc::base {
package {
'tinc' :
ensure => installed,
}
service {
tinc :
ensure => running,
enable => true,
hasstatus => true,
require => Package[tinc],
}
file {
"/etc/tinc/nets.boot" :
ensure => present,
require => Package['tinc'],
before => Service['tinc'],
owner => root,
group => 0,
mode => 0600 ;
}
}