10 if ! ($source or $content) {
11 fail ( "No configuration found for ${name}" )
15 default: { fail ( "Unknown ensure value: '$ensure'" ) }
18 if ($source and $content) {
19 fail ( "Can't define both source and content for ${name}" )
22 $fname = "/etc/ferm/conf.d/${prio}_${name}.conf"
29 notify => Exec["ferm restart"],
36 notify => Exec["ferm restart"],