Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #441 from matschaffer/tmp-exclusion-removal-408
Browse files Browse the repository at this point in the history
Remove tmp from exclusions
  • Loading branch information
matschaffer committed Jul 2, 2015
2 parents 8be45ab + 5b64cbd commit 6f7ae02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/chef/knife/solo_cook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def rsync_permissions
end

def rsync_excludes
(%w{revision-deploys tmp .git .hg .svn .bzr} + chefignore.ignores).uniq
(%w{revision-deploys .git .hg .svn .bzr} + chefignore.ignores).uniq
end

def debug?
Expand Down
2 changes: 0 additions & 2 deletions test/solo_cook_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def test_rsync_without_gateway_connection_options
'-rL',
'--rsh=ssh ssh_arguments',
'--exclude=revision-deploys',
'--exclude=tmp',
'--exclude=.git',
'--exclude=.hg',
'--exclude=.svn',
Expand All @@ -76,7 +75,6 @@ def test_rsync_with_gateway_connection_options
'-rL',
'--rsh=ssh -TA user@gateway ssh -T -o StrictHostKeyChecking=no ssh_arguments',
'--exclude=revision-deploys',
'--exclude=tmp',
'--exclude=.git',
'--exclude=.hg',
'--exclude=.svn',
Expand Down

0 comments on commit 6f7ae02

Please sign in to comment.