diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/cumulus.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/cumulus.rb b/lib/oxidized/model/cumulus.rb index 00c8721..6e4b204 100644 --- a/lib/oxidized/model/cumulus.rb +++ b/lib/oxidized/model/cumulus.rb @@ -91,7 +91,7 @@ class Cumulus < Oxidized::Model post_login do if vars(:enable) == true cmd "sudo su -", /^\[sudo\] password/ - cmd vars(:password) + cmd @node.auth[:password] elsif vars(:enable) cmd "su -", /^Password:/ cmd vars(:enable) |