lib/cap-util/fake_cap.rb in cap-util-1.0.1 vs lib/cap-util/fake_cap.rb in cap-util-1.1.0

- old
+ new

@@ -21,9 +21,13 @@ def run(cmd, *args) @cmds_run << cmd end + def sudo(cmd, *args) + run("sudo #{cmd}", *args) + end + def fetch(var_name) self.send("fetch_#{var_name}") end def role(name, hostname, opts)