summaryrefslogtreecommitdiff
path: root/puppet/modules/stunnel/manifests/debian.pp
blob: bde1e2199dfe9b74be1dfa3ca3f683d451369ce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class stunnel::debian inherits stunnel::linux {

  Package['stunnel'] {
    name => 'stunnel4',
  }

  Service['stunnel'] {
    name => 'stunnel4',
    pattern => '/usr/bin/stunnel4',
  }

  file { '/etc/default/stunnel4':
    content => template('stunnel/Debian/default'),
    require => Package['stunnel4'],
    notify  => Service['stunnel4'],
    owner   => root,
    group   => 0,
    mode    => '0644';
  }
}