Jira (HI-541) Hiera cannot find datadir
Title: Message Title Henrik Lindberg commented on HI-541 Re: Hiera cannot find datadir For this kind of question it is best to use the Slack or IRC channels to get help figuring out what is wrong. If you are a PE user please contact Puppet Support. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-541) Hiera cannot find datadir
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-541 Hiera cannot find datadir Change By: Henrik Lindberg I have a working puppet 2016.2.1 using code manager (r10k) and environments (dev, staging, prod). This is working great. I than started to utilize hiera. When setting the hiera.yaml (as shown below). I'm getting the error "Cannot find datafile /etc/puppetlabs/code/environments*//*hieradata/common.yaml, skipping" {code} #---:backends: - yaml:hierarchy: - "nodes/%{::trusted.certname}" - "%{environment}" - "puppet_role/%{puppet_role}"- common:yaml::datadir: "/etc/puppetlabs/code/environments/%{::environment}/hieradata"# {code} I notice the double backslash which is a problem. If I replace the environment variable with an actual environment name (e.g. :datadir: "/etc/puppetlabs/code/environments/*development*/hieradata") and run hiera --debug i get back results. Has anyone run into this? Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-541) Hiera cannot find datadir
Title: Message Title Paul T assigned an issue to Jenny Mahmoudi Hiera / HI-541 Hiera cannot find datadir Change By: Paul T Assignee: Paul T Jenny Mahmoudi Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-541) Hiera cannot find datadir
Title: Message Title Paul T assigned an issue to Paul T Hiera / HI-541 Hiera cannot find datadir Change By: Paul T Assignee: Jenny Mahmoudi Paul T Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-541) Hiera cannot find datadir
Title: Message Title Paul T updated an issue Hiera / HI-541 Hiera cannot find datadir Change By: Paul T Priority: Blocker Normal Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-541) Hiera cannot find datadir
Title: Message Title Paul T updated an issue Hiera / HI-541 Hiera cannot find datadir Change By: Paul T Issue Type: Bug Task Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-541) Hiera cannot find datadir
Title: Message Title Paul T updated an issue Hiera / HI-541 Hiera cannot find datadir Change By: Paul T Summary: Hiera cannot find datafile datadir I have a working puppet 2016.2.1 using code manager (r10k) and environments (dev, staging, prod). This is working great. I than started to utilize hiera. When setting the hiera.yaml (as shown below). I'm getting the error "Cannot find datafile /etc/puppetlabs/code/environments*//*hieradata/common.yaml, skipping"#---:backends: - yaml:hierarchy: - "nodes/%{::trusted.certname}" - "%{environment}" - "puppet_role/%{puppet_role}"- common:yaml::datadir: "/etc/puppetlabs/code/environments/%{::environment}/hieradata"#I notice the double backslash which is a problem. If I replace the environment variable with an actual environment name (e.g. :datadir: "/etc/puppetlabs/code/environments/* development */hieradata" ) and run hiera -- debug i get back results. Has anyone run into this? Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to
Jira (HI-541) Hiera cannot find datadir
Title: Message Title Paul T updated an issue Hiera / HI-541 Hiera cannot find datadir Change By: Paul T Labels: 3.2 hiera Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.