Jira (PUP-5048) Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5048 Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource Change By: Henrik Lindberg Team: Puppet Developer 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 (PUP-5048) Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5048 Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource Change By: Henrik Lindberg I'm facing some issues to use Hiera 3.0.1 with Puppet 4.2.When applying my puppet manifest using this command:{{puppet apply environments/production/manifests/init.pp --hiera_config=hiera.yaml}}I get the following error: {{Error: Evaluation Error: Error while evaluating a Function Call, Could not find data item myclass::ensure in any Hiera data file and no default supplied at /home/vagrant/temp/environments/production/manifests/init.pp:13:39 on node a}}Here is the directory structure : {code} {{$ tree.├── environments│ └── production│ ├── config.yaml│ └── manifests│ └── init.pp└── hiera.yaml}} {code} content of config.yaml: {code} {{$ cat hiera.yaml ---:backends: - yaml:hierarchy: - config:yaml: :datadir: environments/production}} {code} content of init.pp: {code:puppet} {{class myclass( $version = $myclass::params::version, $ensure = $myclass::params::ensure,) inherits myclass::params { notify {"$version": } notify {"$ensure": }}class myclass::params { $version = hiera('myclass::version', '1.0.0') $ensure = hiera('myclass::ensure', 'running')}class {'myclass': }}} {code} content of hiera data source:{ code} { { $ cat config.yaml---myclass::version: '1.0.0'myclass::ensure:}} {code} Looks like Hiera can't handle empty values from a yaml data source and/or replace them by default value Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4)
Jira (PUP-5048) Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource
Title: Message Title Henrik Lindberg assigned an issue to Mohamed HADROUJ Puppet / PUP-5048 Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource Change By: Henrik Lindberg Assignee: Mohamed HADROUJ Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5048) Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource
Title: Message Title Henrik Lindberg commented on PUP-5048 Re: Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource Is this a regression? If so, in which version did this work? Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5048) Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource
Title: Message Title Josh Cooper updated an issue Puppet / PUP-5048 Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource Change By: Josh Cooper Scrum Team: Language Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5048) Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource
Title: Message Title Mohamed HADROUJ updated an issue Puppet / PUP-5048 Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource Change By: Mohamed HADROUJ I'mfacingsomeissuestouseHiera3.0.1withPuppet4.2.Whenapplyingmypuppetmanifestusingthiscommand:{{puppetapplyenvironments/production/manifests/init.pp--hiera_config=hiera.yaml}}Igetthefollowingerror:{{Error:EvaluationError:ErrorwhileevaluatingaFunctionCall,Couldnotfinddataitemmyclass::ensureinanyHieradatafileandnodefaultsuppliedat/home/vagrant/temp/environments/production/manifests/init.pp:13:39onnodea}}Hereisthedirectorystructure:{{$tree.├──environments│└──production│├──config.yaml│└──manifests│└──init.pp└──hiera.yaml}}contentofconfig.yaml:{{$cathiera.yaml---:backends:-yaml:hierarchy:-config:yaml::datadir:environments/production }}contentofinit.pp:{{classmyclass($version=$myclass::params::version,$ensure=$myclass::params::ensure,)inheritsmyclass::params{notify{$version:}notify{$ensure:}}classmyclass::params{$version=hiera('myclass::version','1.0.0')$ensure=hiera('myclass::ensure','running')}class{'myclass':}}}contentofhieradatasource:{{$catconfig.yaml---myclass::version:'1.0.0'myclass::ensure:}}LookslikeHieracan'thandleemptyvaluesfromayamldatasourceand/orreplacethembydefaultvalue Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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
Jira (PUP-5048) Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource
Title: Message Title Mohamed HADROUJ updated an issue Puppet / PUP-5048 Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource Change By: Mohamed HADROUJ I'mfacingsomeissuestouseHiera3.0.1withPuppet4.2.Whenapplyingmypuppetmanifestusingthiscommand:{{puppetapplyenvironments/production/manifests/init.pp--hiera_config=hiera.yaml}}Igetthefollowingerror:{{Error:EvaluationError:ErrorwhileevaluatingaFunctionCall,Couldnotfinddataitemmyclass::ensureinanyHieradatafileandnodefaultsuppliedat/home/vagrant/temp/environments/production/manifests/init.pp:13:39onnodea}}Hereisthedirectorystructure:{{$tree.├──environments│└──production│├──config.yaml│└──manifests│└──init.pp└──hiera.yaml }} contentofconfig.yaml:{{$cathiera.yaml---:backends:-yaml:hierarchy:-config:yaml::datadir:environments/production }} contentofinit.pp:{{classmyclass($version=$myclass::params::version,$ensure=$myclass::params::ensure,)inheritsmyclass::params{notify{$version:}notify{$ensure:}}classmyclass::params{$version=hiera('myclass::version','1.0.0')$ensure=hiera('myclass::ensure','running')}class{'myclass':}}}contentofhieradatasource:{{ $catconfig.yaml---myclass::version:'1.0.0'myclass::ensure: }}LookslikeHieracan'thandleemptyvaluesfromayamldatasourceand/orreplacethembydefaultvalue Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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,
Jira (PUP-5048) Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource
Title: Message Title Mohamed HADROUJ created an issue Puppet / PUP-5048 Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource Issue Type: Bug Affects Versions: PUP 4.2.1 Assignee: Unassigned Created: 2015/08/18 5:29 AM Priority: Normal Reporter: Mohamed HADROUJ I'm facing some issues to use Hiera 3.0.1 with Puppet 4.2. When applying my puppet manifest using this command: {{ puppet apply environments/production/manifests/init.pp --hiera_config=hiera.yaml }} I get the following error: {{ Error: Evaluation Error: Error while evaluating a Function Call, Could not find data item myclass::ensure in any Hiera data file and no default supplied at /home/vagrant/temp/environments/production/manifests/init.pp:13:39 on node a}} Here is the directory structure : {{ $ tree . ├── environments │ └── production │ ├── config.yaml │ └── manifests │ └── init.pp └── hiera.yaml }} content of config.yaml: {{ $ cat hiera.yaml — :backends: yaml :hierarchy: config
Jira (PUP-5048) Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource
Title: Message Title Mohamed HADROUJ updated an issue Puppet / PUP-5048 Hiera 3.0.1 + Puppet 4.2.1 can't manage empty values in yaml datasource Change By: Mohamed HADROUJ I'mfacingsomeissuestouseHiera3.0.1withPuppet4.2.Whenapplyingmypuppetmanifestusingthiscommand:{{puppetapplyenvironments/production/manifests/init.pp--hiera_config=hiera.yaml }}Igetthefollowingerror:{{Error:EvaluationError:ErrorwhileevaluatingaFunctionCall,Couldnotfinddataitemmyclass::ensureinanyHieradatafileandnodefaultsuppliedat/home/vagrant/temp/environments/production/manifests/init.pp:13:39onnodea}}Hereisthedirectorystructure:{{$tree.├──environments│└──production│├──config.yaml│└──manifests│└──init.pp└──hiera.yaml}}contentofconfig.yaml:{{$cathiera.yaml---:backends:-yaml:hierarchy:-config:yaml::datadir:environments/production}}contentofinit.pp:{{classmyclass($version=$myclass::params::version,$ensure=$myclass::params::ensure,)inheritsmyclass::params{notify{$version:}notify{$ensure:}}classmyclass::params{$version=hiera('myclass::version','1.0.0')$ensure=hiera('myclass::ensure','running')}class{'myclass':}}}contentofhieradatasource:{{$catconfig.yaml---myclass::version:'1.0.0'myclass::ensure:}}LookslikeHieracan'thandleemptyvaluesfromayamldatasourceand/orreplacethembydefaultvalue Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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