==> default: Chef::Exceptions::InvalidDataBagPath
==> default: ------------------------------------
==> default: Data bag path '/tmp/vagrant-chef/fdc6caf9a3118279699556aed8f850d7/data_bags' is invalid
To fix this error, just create data_bags directory (if there isn't already) and add chef.data_bags_path configuration this in your VagrantFile
config.vm.provision :chef_solo do |chef|
# insert here
chef.data_bags_path = "./data_bags"
end
No comments:
Post a Comment