X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fssh%2Fmanifests%2Fkeygen.pp;h=0af33418ca7afb52416595b598a21645b045b6bb;hb=2675f35ffcbd2e02cf6dc68d97f186627ad634eb;hp=29fd063be5e24ceb1bb6b80d9159cb34e5f0b1cb;hpb=2a425a85aee59abba7f8de4b9bb6f61824938d82;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssh/manifests/keygen.pp b/modules/ssh/manifests/keygen.pp index 29fd063be..0af33418c 100644 --- a/modules/ssh/manifests/keygen.pp +++ b/modules/ssh/manifests/keygen.pp @@ -3,7 +3,9 @@ define ssh::keygen( 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": @@ -14,6 +16,8 @@ define ssh::keygen( } } } 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, + } } }