diff --git a/manifests/init.pp b/manifests/init.pp index 22d7acb..43dee27 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,6 +5,9 @@ if $runas != 'root' { $user = $::current_user } + else { + $user = 'root' + } if $currenthost { $writecommand = '/usr/bin/defaults -currentHost write'