- exec { "postgrey restart":
- path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
- refreshonly => true,
- }
+ service { 'postgrey':
+ ensure => running,
+ require => Package['postgrey']
+ }
+
+ file { '/etc/default/postgrey':
+ source => 'puppet:///modules/postgrey/default',
+ require => Package['postgrey'],
+ notify => Service['postgrey']
+ }