Permalink
Browse files

Don't rsync the plugins dir

Don't stupidly exclude the chef-solo-search lib dir
  • Loading branch information...
tobami committed Jan 3, 2012
1 parent 3432d17 commit 1bea17c2127174aa79ab8792d6e18316a68882ca
Showing with 2 additions and 8 deletions.
  1. +2 −8 littlechef/chef.py
View
@@ -101,15 +101,9 @@ def _synchronize_node(configfile):
# Remove local temporary node file
os.remove(configfile)
# Synchronize kitchen
- kitchen_dirs = './cookbooks ./data_bags ./nodes ./plugins'
- kitchen_dirs += ' ./roles ./site-cookbooks'
rsync_project(
- node_work_path, kitchen_dirs,
- exclude=(
- '*.svn', '.bzr*', '.git*', '.hg*', # ignore vcs data
- '/site-cookbooks/chef_solo_search_lib/' # ignore data generated
- # by littlechef
- ),
+ node_work_path, './cookbooks ./data_bags ./roles ./site-cookbooks',
+ exclude=('*.svn', '.bzr*', '.git*', '.hg*'),
delete=True,
extra_opts="-q",
)

0 comments on commit 1bea17c

Please sign in to comment.