diff options
author | elijah <elijah@riseup.net> | 2016-02-12 15:10:16 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-02-12 15:10:16 -0800 |
commit | 553abaa13d0a5232f807951754f12da9ff3fa7a6 (patch) | |
tree | 15b48a10e66918d479c0ce356c9ca69d4407fa97 /lib/leap_cli/remote/leap_plugin.rb | |
parent | 24704a7f28521aca9181430bcb9adfcd67182534 (diff) |
support for node_init script
Diffstat (limited to 'lib/leap_cli/remote/leap_plugin.rb')
-rw-r--r-- | lib/leap_cli/remote/leap_plugin.rb | 37 |
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 |