Skip to content

Commit

Permalink
Don't rsync the plugins dir
Browse files Browse the repository at this point in the history
Don't stupidly exclude the chef-solo-search lib dir
  • Loading branch information
tobami committed Jan 3, 2012
1 parent 3432d17 commit 1bea17c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions littlechef/chef.py
Expand Up @@ -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",
)
Expand Down

0 comments on commit 1bea17c

Please sign in to comment.