lib/server_tools/provision.rb in server_tools-0.1.6 vs lib/server_tools/provision.rb in server_tools-0.2.0
- old
+ new
@@ -11,10 +11,10 @@
def command
[
"ssh #{hostname}",
"-t -t",
"#{ssh_opts(options)}",
- "sudo /usr/bin/chef-client -o'#{options[:roles].join(',')}'"
+ "sudo /usr/bin/chef-client #{options[:chef_client_flags]}"
].join(' ')
end
private