diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-05-31 10:35:55 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-05-31 10:35:55 -0300 |
commit | 292bcfc4541bf893bc1b941795aa542e844e8182 (patch) | |
tree | e3ab00e8a1650467463106f45fdbfd6980e05e7d /manifests | |
parent | e9da7ebc036c35ef66f334d0d3be519c1c582fa4 (diff) | |
download | puppet-nodo-292bcfc4541bf893bc1b941795aa542e844e8182.tar.gz puppet-nodo-292bcfc4541bf893bc1b941795aa542e844e8182.tar.bz2 |
Testing hydra upgrade_handler
Diffstat (limited to 'manifests')
-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': |