Skip to content
This repository
Browse code

Don't rsync the plugins dir

Don't stupidly exclude the chef-solo-search lib dir
  • Loading branch information...
commit 1bea17c2127174aa79ab8792d6e18316a68882ca 1 parent 3432d17
Miquel Torres authored

Showing 1 changed file with 2 additions and 8 deletions. Show diff stats Hide diff stats

  1. +2 8 littlechef/chef.py
10 littlechef/chef.py
@@ -101,15 +101,9 @@ def _synchronize_node(configfile):
101 101 # Remove local temporary node file
102 102 os.remove(configfile)
103 103 # Synchronize kitchen
104   - kitchen_dirs = './cookbooks ./data_bags ./nodes ./plugins'
105   - kitchen_dirs += ' ./roles ./site-cookbooks'
106 104 rsync_project(
107   - node_work_path, kitchen_dirs,
108   - exclude=(
109   - '*.svn', '.bzr*', '.git*', '.hg*', # ignore vcs data
110   - '/site-cookbooks/chef_solo_search_lib/' # ignore data generated
111   - # by littlechef
112   - ),
  105 + node_work_path, './cookbooks ./data_bags ./roles ./site-cookbooks',
  106 + exclude=('*.svn', '.bzr*', '.git*', '.hg*'),
113 107 delete=True,
114 108 extra_opts="-q",
115 109 )

0 comments on commit 1bea17c

Please sign in to comment.
Something went wrong with that request. Please try again.