From 8f79b632aeeee1111087dee6ebb6302aca700bbd Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 4 Jun 2013 23:06:10 -0700 Subject: add support for `leap facts`. includes some fun new helpers, like run_with_progress(), capture(), and replace_file!(). --- lib/leap_cli/remote/tasks.rb | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'lib/leap_cli/remote/tasks.rb') 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 -- cgit v1.2.3