diff options
author | elijah <elijah@riseup.net> | 2013-06-04 23:06:10 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-06-04 23:06:10 -0700 |
commit | 8f79b632aeeee1111087dee6ebb6302aca700bbd (patch) | |
tree | 647b24bee28b28301de6c4a82a916222cde491e8 /lib/leap_cli/remote/tasks.rb | |
parent | a46321a43318a9cd3e2dd645b64fe81b71e7f8ea (diff) |
add support for `leap facts`. includes some fun new helpers, like run_with_progress(), capture(), and replace_file!().
Diffstat (limited to 'lib/leap_cli/remote/tasks.rb')
-rw-r--r-- | lib/leap_cli/remote/tasks.rb | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/leap_cli/remote/tasks.rb b/lib/leap_cli/remote/tasks.rb index f967db1..0721c34 100644 --- a/lib/leap_cli/remote/tasks.rb +++ b/lib/leap_cli/remote/tasks.rb @@ -25,9 +25,12 @@ task :install_prerequisites, :max_hosts => MAX_HOSTS do leap.mark_initialized end -#task :apply_puppet, :max_hosts => MAX_HOSTS do -# raise "now such directory #{puppet_source}" unless File.directory?(puppet_source) -# leap.log :applying, "puppet" do -# puppet.apply -# end -#end +# +# just dummies, used to capture task options +# + +task :skip_errors_task, :on_error => :continue, :max_hosts => MAX_HOSTS do +end + +task :standard_task, :max_hosts => MAX_HOSTS do +end
\ No newline at end of file |