2010-10-23 02:11:59 +02:00
|
|
|
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;
|
|
|
|
}
|
2010-10-23 02:25:23 +02:00
|
|
|
|
|
|
|
Service['tinc']{
|
|
|
|
hasstatus => true,
|
2010-10-24 21:47:20 +02:00
|
|
|
hasrestart => true
|
2010-10-23 02:25:23 +02:00
|
|
|
}
|
2010-10-23 02:11:59 +02:00
|
|
|
}
|