diff --git a/manifests/config.pp b/manifests/config.pp index 5157673..dd6c947 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -2,7 +2,7 @@ if($timezone::params::timedatectl) { - exec { 'set timezone': + exec { 'set timezone - timedatectl': command => "timedatectl set-timezone ${timezone::region}/${timezone::locality}", unless => "timedatectl status | grep \"Time zone: ${timezone::region}/${timezone::locality}\"", path => '/usr/sbin:/usr/bin:/sbin:/bin',