| EOF
}
} else {
- notify{ "Warning, ssh key for ${name}, ${target_user} not defined (yet?).": }
+ notify { "Warning, ssh key for ${name}, ${target_user} not defined (yet?).":
+ loglevel => warning,
+ }
}
@@ferm::rule { "ssh-${raw_tags[0]}_${target_user}-${name}_from_${::hostname}":
String $user = $name,
) {
if $facts["${user}_user_exists"] == undef {
- notify{"We do not have facters for user ${user} existance and keys -- add it to modules/debian_org/lib/facter/roleaccounts.rb": }
+ notify { "We do not have facters for user ${user} existance and keys -- add it to modules/debian_org/lib/facter/roleaccounts.rb":
+ loglevel => warning,
+ }
} elsif $facts["${user}_user_exists"] {
if ! $facts["${user}_key"] {
exec { "create-${user}-ssh-key":
}
}
} else {
- notify{"User ${user} does not exist on this host. Will not create ssh key": }
+ notify { "User ${user} does not exist on this host. Will not create ssh key":
+ loglevel => warning,
+ }
}
}