f55cfe6187
* proper scoped var lookup * use file_line instead of line * use hiera instead of global $use_shorewall * cleanup template
22 lines
401 B
Puppet
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 ;
|
|
}
|
|
}
|