summaryrefslogtreecommitdiff
path: root/lib/leap_cli/remote/leap_plugin.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/remote/leap_plugin.rb')
-rw-r--r--lib/leap_cli/remote/leap_plugin.rb37
1 files changed, 0 insertions, 37 deletions
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