module-tinc/manifests/centos.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

17 lines
482 B
Puppet

class tinc::centos inherits tinc::base {
file {
'/etc/sysconfig/tinc' :
source => ["puppet:///modules/site-tinc/CentOS/${::fqdn}/tinc.sysconfig",
"puppet:///modules/site-tinc/tinc.sysconfig",
"puppet:///modules/tinc/${::operatingsystem}/tinc.sysconfig"],
require => Package['tinc'],
notify => Service['tinc'],
owner => root,
group => 0,
mode => 0644 ;
}
Service['tinc'] {
hasstatus => true,
hasrestart => true
}
}