You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think i'm holding this wrong, but I'm not exactly sure how, so I was hoping you could help me.
I'm trying to use hiera in order to store both encrypted and unencrypted data, but I'm getting this error:
Going to invoke puppet apply with:
sudo -E /opt/puppetlabs/bin/puppet apply /tmp/kitchen/manifests/test/modules/test/manifests/test_cloud_jenkins_deploy.pp --modulepath=/tmp/kitchen/modules --fileserverconfig=/tmp/kitchen/fileserver.conf --hiera_config=/tmp/kitchen/hiera.global.yaml --detailed-exitcodes ; RC=$?; [ $RC -eq 2 ] && exit 0; exit $RC
Notice: /File[/tmp/kitchen/hiera.global.yaml]: Not removing directory; use 'force' to override
Notice: /File[/tmp/kitchen/hiera.global.yaml]: Not removing directory; use 'force' to override
Error: Could not set 'file' on ensure: Is a directory @ rb_sysopen - /tmp/kitchen/hiera.global.yaml
Error: Could not set 'file' on ensure: Is a directory @ rb_sysopen - /tmp/kitchen/hiera.global.yaml
Wrapped exception:
Is a directory @ rb_sysopen - /tmp/kitchen/hiera.global.yaml
Error: /File[/tmp/kitchen/hiera.global.yaml]/ensure: change from 'directory' to 'file' failed: Could not set 'file' on ensure: Is a directory @ rb_sysopen - /tmp/kitchen/hiera.global.yaml
Error: Could not prepare for execution: Got 1 failure(s) while initializing: File[/tmp/kitchen/hiera.global.yaml]: change from 'directory' to 'file' failed: Could not set 'file' on ensure: Is a directory @ rb_sysopen - /tmp/kitchen/hiera.global.yaml
I log onto the box and it is indeed a directory, which I would expect the code wasn't expecting:
I've checked over the examples that are posted and searched github for more, but as of yet, I haven't been able to find anything that looked like they were using eyaml in their hieradata like I am; therefore I'm at a loss for what to do next, and was hoping you could help me.
Thanks,
Alex
The text was updated successfully, but these errors were encountered:
Howdy,
I think i'm holding this wrong, but I'm not exactly sure how, so I was hoping you could help me.
I'm trying to use hiera in order to store both encrypted and unencrypted data, but I'm getting this error:
Going to invoke puppet apply with:
I log onto the box and it is indeed a directory, which I would expect the code wasn't expecting:
My config looks like this:
and my repository looks like this:
I've checked over the examples that are posted and searched github for more, but as of yet, I haven't been able to find anything that looked like they were using eyaml in their hieradata like I am; therefore I'm at a loss for what to do next, and was hoping you could help me.
Thanks,
Alex
The text was updated successfully, but these errors were encountered: