16 lines
473 B
Puppet
16 lines
473 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
|
|
}
|
|
}
|