diff options
Diffstat (limited to 'manifests/subsystem/apt.pp')
-rw-r--r-- | manifests/subsystem/apt.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/subsystem/apt.pp b/manifests/subsystem/apt.pp index 6c904c6..78dbcbf 100644 --- a/manifests/subsystem/apt.pp +++ b/manifests/subsystem/apt.pp @@ -40,8 +40,9 @@ class nodo::subsystem::apt( if $upgrade_handler == 'apt' { $command = "${apt} update ${log} && ${apt} dist-upgrade -y ${log} && ${apt} autoremove -y ${log} && ${apt} clean ${log}" } - elsif $upgrade_method == 'hydra' { - $command = "hydractl upgrade clean ${log}" + elsif $upgrade_handler == 'hydra' { + #$command = "hydractl upgrade clean ${log}" + $command = "hydractl upgrade clean" } exec { 'nodo-apt-auto-update': |