lib/mascherano/tasks/auth_basic.cap in mascherano-1.0.3 vs lib/mascherano/tasks/auth_basic.cap in mascherano-1.0.4

- old
+ new

@@ -4,10 +4,10 @@ puts "Please type the password for HTTP basic authentication, press ENTER when you're finished:" passwd = $stdin.gets.chomp htpasswd = nil run_locally do - htpasswd = execute(:htpasswd, '-nb', fetch(:auth_basic_user), passwd).stdout + htpasswd = capture(:htpasswd, '-nb', fetch(:auth_basic_user), passwd) htpasswd.chomp! end on roles(fetch(:auth_basic_roles)) do upload! StringIO.new(htpasswd), fetch(:auth_basic_target)