This repository has been archived by the owner on Mar 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 213
Don't use file_cache_path for rsyncing provision #128
Comments
Agreed. This is a behavior I wasn't aware of until recently. I'm inclined to say that using the file_cache_path for storage of the repo is the wrong move and we should just separate the concerns. |
I wonder if we could use or create a new var in solo.rb to dictate where the kitchen should be transfered to without upsetting the chef-solo run itself. |
Wouldn't be the knife.rb better for this var? |
Sorry for that mistaken opinion. |
The knife.rb param isn't bad I don't think. We'd just want to make this obvious for people just coming into the project. If we go that route it might also make sense to generate solo.rb when you run knife cook. |
Should be fixed with #145 |
tmatilai
added a commit
that referenced
this issue
Apr 6, 2013
Fixed by #199 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The rsync command use
--delete
option which deletes all files which are not in local machine. It is wrong behaviour because file_cache_path contains data created by chef under sudo and it maybe used by him later. It looks similar to this log output at the moment:It would be better use strict paths(cookbooks, data_bags, nodes, roles, encrypted_data_bag_secret) defined in Chef config.
The text was updated successfully, but these errors were encountered: