diff options
author | Alex Vandiver <alexmv@dropbox.com> | 2015-07-22 11:51:37 -0700 |
---|---|---|
committer | Alex Vandiver <alexmv@dropbox.com> | 2015-07-22 11:51:40 -0700 |
commit | 2a498ae29cd2d4eeac52fa123bb97e5e2d5b1c90 (patch) | |
tree | 932d58e2ff3d5b4984ff92eb14dcbbdf78d829c2 /spec/spec.opts | |
parent | 231f711e3f0ccb8601bea55f0e6d562b8674488e (diff) | |
download | puppet-vcsrepo-2a498ae29cd2d4eeac52fa123bb97e5e2d5b1c90.tar.gz puppet-vcsrepo-2a498ae29cd2d4eeac52fa123bb97e5e2d5b1c90.tar.bz2 |
Explitly unset SSH_AUTH_SOCK; it is preferred to the -i flag
Even if the -i flag is explicitly passed via the command line, openssh
ignores the identity file if an socket exists to an SSH authentication
agent. In cases where puppet has been configured to use an explicit
identity file, altering behavior based on the calling environment of
puppet violates the principle of least surprise, and can lead to
inconsistent deployments.
Work around this odd corner case of ssh by explicitly unsetting
SSH_AUTH_SOCK inside the ssh wrapper.
Diffstat (limited to 'spec/spec.opts')
0 files changed, 0 insertions, 0 deletions