Skip to content

Commit

Permalink
Merge pull request #217 from mspaulding06/login-shell-option
Browse files Browse the repository at this point in the history
Add support for login shell
  • Loading branch information
ryotarai committed Jul 7, 2016
2 parents c22b16f + 1e42c93 commit dc34f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/itamae/backend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def create_specinfra_backend
disable_sudo: disable_sudo?,
ssh_options: ssh_options,
shell: @options[:shell],
login_shell: @options[:login_shell],
)
end

Expand Down
1 change: 1 addition & 0 deletions lib/itamae/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def self.define_exec_options
option :node_yaml, type: :string, aliases: ['-y']
option :dry_run, type: :boolean, aliases: ['-n']
option :shell, type: :string, default: "/bin/sh"
option :login_shell, type: :boolean, default: false
option :ohai, type: :boolean, default: false, desc: "This option is DEPRECATED and will be unavailable."
option :profile, type: :string, desc: "[EXPERIMENTAL] Save profiling data", banner: "PATH"
option :detailed_exitcode, type: :boolean, default: false, desc: "exit code 0 - The run succeeded with no changes or failures, exit code 1 - The run failed, exit code 2 - The run succeeded, and some resources were changed"
Expand Down

0 comments on commit dc34f4d

Please sign in to comment.