gposton / vagrant-hiera

MIT License
21 stars 12 forks source link

Config file isn't properly moved to guest #3

Open haf opened 12 years ago

haf commented 12 years ago

Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults

For config:

  config.hiera.config_path = './tests'
  config.hiera.config_file = 'vagrant-hiera.yaml'
  config.hiera.data_path   = './tests'
haf commented 12 years ago

The quickfix for this is to separate config_path and data_path.

gposton commented 11 years ago

Hey haf, thanks for the bug report. Not sure how I missed this report, I'm normally not this long in responding. Is this still an issue? If so, can you elaborate a bit more on the issue? What do you mean by 'separate config_path and data_path'? They are independent values and do not get joined anywhere in the code.

I see that the issue is that the config_file doesn't appear to make it onto the guest, but I can't for the life of me figure out why. The config you're using looks pretty much exactly like my example (in the code base) and I can't reproduce it there.

Also, In my example the config_path and data_path both point to the same directory and the config_file is put into place on the VM as expected.