From 553abaa13d0a5232f807951754f12da9ff3fa7a6 Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 12 Feb 2016 15:10:16 -0800 Subject: support for node_init script --- lib/leap_cli/remote/leap_plugin.rb | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'lib/leap_cli/remote/leap_plugin.rb') diff --git a/lib/leap_cli/remote/leap_plugin.rb b/lib/leap_cli/remote/leap_plugin.rb index 21e69ee..9e255ea 100644 --- a/lib/leap_cli/remote/leap_plugin.rb +++ b/lib/leap_cli/remote/leap_plugin.rb @@ -5,14 +5,6 @@ module LeapCli; module Remote; module LeapPlugin - def required_packages - "puppet rsync lsb-release locales" - end - - def required_wheezy_packages - "puppet ruby-hiera-puppet rsync lsb-release locales" - end - def log(*args, &block) LeapCli::Util::log(*args, &block) end @@ -61,10 +53,6 @@ module LeapCli; module Remote; module LeapPlugin end end - def mark_initialized - run "touch #{Leap::Platform.init_path}" - end - # # dumps debugging information # # @@ -196,29 +184,4 @@ module LeapCli; module Remote; module LeapPlugin STDOUT.flush end - #def mkdir(dir) - # run "mkdir -p #{dir}" - #end - - #def chown_root(dir) - # run "chown root -R #{dir} && chmod -R ag-rwx,u+rwX #{dir}" - #end - - #def logrun(cmd) - # @streamer ||= LeapCli::Remote::LogStreamer.new - # run cmd do |channel, stream, data| - # @streamer.collect_output(channel[:host], data) - # end - #end - -# return_code = nil -# run "something; echo return code: $?" do |channel, stream, data| -# if data =~ /return code: (\d+)/ -# return_code = $1.to_i -# else -# Capistrano::Configuration.default_io_proc.call(channel, stream, data) -# end -# end -# puts "finished with return code: #{return_code}" - end; end; end -- cgit v1.2.3