lib/psychic/shell.rb in psychic-runner-0.0.3 vs lib/psychic/shell.rb in psychic-runner-0.0.4
- old
+ new
@@ -2,9 +2,16 @@
module Shell
autoload :ExecutionResult, 'psychic/shell/execution_result'
autoload :ExecutionError, 'psychic/shell/execution_result'
autoload :MixlibShellOutExecutor, 'psychic/shell/mixlib_shellout_executor'
+ AVAILABLE_OPTIONS = [
+ # All MixLib::ShellOut options - though we don't use most of these
+ :cwd, :domain, :password, :user, :group, :umask,
+ :timeout, :returns, :live_stream, :live_stdout,
+ :live_stderr, :input, :logger, :log_level, :log_tag, :env
+ ]
+
class << self
attr_writer :shell
end
def self.shell