Created
April 25, 2017 15:43
-
-
Save filler/3db71f1da15288a7c332eabba11bfebe to your computer and use it in GitHub Desktop.
lol, databags.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: Make this target diff whats on the chef server versus whats | |
# about to go to the chef server. This way we can catch any out of | |
# band changes that might have happened and can recover from them. | |
# | |
# TODO: Make this target clean the chef server of any objects not in | |
# version control. | |
chef-bags: | |
@$(foreach bag,$(shell basename .chef/data_bags/*), \ | |
knife data bag create $(bag) ; \ | |
knife data bag from file $(bag) .chef/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment