Skip to content

Commit 6842002

Browse files
committed
Tempfile: Use default tmp directory (permissions)
1 parent 2ff2132 commit 6842002

File tree

1 file changed

+1
-1
lines changed
  • lib/puppet/provider/vcsrepo

1 file changed

+1
-1
lines changed

lib/puppet/provider/vcsrepo/git.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ def git_ssh_with_identity_ssh_command(*args)
702702

703703
# @!visiblity private
704704
def git_ssh_with_identity_ssh_file(*args)
705-
Tempfile.open('git-helper', Puppet[:statedir]) do |f|
705+
Tempfile.open('git-helper') do |f|
706706
f.puts '#!/bin/sh'
707707
f.puts 'SSH_AUTH_SOCKET='
708708
f.puts 'export SSH_AUTH_SOCKET'

0 commit comments

Comments
 (0)