11 file { '/etc/init.d/stunnel4':
12 source => 'puppet:///modules/stunnel4/etc-init.d-stunnel4',
15 file { '/etc/stunnel/stunnel.conf':
17 require => Package['stunnel4'],
20 exec { 'enable_stunnel4':
21 command => 'sed -i -e \'s/^ENABLED=/#&/; $a ENABLED=1 # added by puppet\' /etc/default/stunnel4',
22 unless => 'grep -q \'^ENABLED=1\' /etc/default/stunnel4',
23 require => Package['stunnel4'],
25 exec { 'kill_file_override':
26 command => 'sed -i -e \'s/^FILES=/#&/\' /etc/default/stunnel4',
27 onlyif => 'grep -q \'^FILES=\' /etc/default/stunnel4',
28 require => Package['stunnel4'],