description => 'Allow web access',
rule => '&SERVICE(tcp, (http https))'
}
+
+ exec { 'service apache2 reload':
+ path => '/usr/bin:/usr/sbin:/bin:/sbin',
+ command => 'service apache2 reload',
+ refreshonly => true,
+ require => Package['apache2'],
+ }
}
}
file { '/var/lib/dsa/sso/ca.crl':
content => template('roles/sso_rp/ca.crl.erb'),
+ notify => Exec['service apache2 reload'],
}
file { '/var/lib/dsa/sso/ca.crt':
source => 'puppet:///modules/roles/sso_rp/ca.crt',
+ notify => Exec['service apache2 reload'],
}
}