Jira (PUP-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-03-04 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  PUP-4046 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 
 
Henrik Lindberg thoughts on this? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-03-04 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4046 
 
 
 
  Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Scrum Team:
 
 Language 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-03-04 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-4046 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 
 
No need to open a new ticket - the PR was not merged. Both problems can be fixed at the same time. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-03-04 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-4046 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 
 
This was introduced by the refactoring of the hiera functions to the 4.x function API. For some reason, when the hiera_include, calls the 3.x include function, it ends up being a function that was not loaded by any 4x function loader. It needs this to check if the include function is available as a 4.x. function. The failure is on line 89 in Puppet::Pops::Functions::Function, but why it does not have a loader set is mysterious. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-03-04 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-4046 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 
 
Has it been confirmed if this occurs only in the AIO packaging, or if it also occurs when running from source? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-03-04 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4046 
 
 
 
  Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Fix Version/s:
 
 PUP4.0.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-03-04 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4046 
 
 
 
  Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Affects Version/s:
 
 PUP4.x 
 
 
 

Affects Version/s:
 
 PUP4.0.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-03-04 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-4046 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 
 
Reproduced by running puppet master and hiera master - both from source, by using this simple reproducer: 
 
 
 
 
 
 
class foo { 
 
 
 
 
  notice yay 
 
 
 
 
} 
 
 
 
 
hiera_include(classes, [foo])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-03-04 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4046 
 
 
 
  Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Component/s:
 
 Client 
 
 
 

Assignee:
 
 KyloGinsberg HenrikLindberg 
 
 
 

Sprint:
 
 Language2015-03-18 
 
 
 

Story Points:
 
 1 
 
 
 

Priority:
 
 Normal Major 
 
 
 

Scope Change Reason:
 
 BugfoundintestingofAIO 
 
 
 

Scope Change Category:
 
 Found 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

Jira (PUP-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-02-26 Thread Richard Clamp (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Richard Clamp updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4046 
 
 
 
  Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 

Change By:
 
 Richard Clamp 
 
 
 
 
 
 
 
 
 
 Usinghiera_include()withpuppet-agentasofversion0.3.2.29.g49f7b1b-1.el7producesthefollowingerror.{code}[root@puppet4manifests]#/opt/puppetlabs/puppet/bin/puppetapplydefault.pp-tInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsError:EvaluationError:ErrorwhileevaluatingaFunctionCall,uninitializedconstantHiera::PuppetFunctionat/etc/puppetlabs/puppet/manifests/default.pp:17:1onnodepuppet4.vm.super-visions.comError:EvaluationError:ErrorwhileevaluatingaFunctionCall,uninitializedconstantHiera::PuppetFunctionat/etc/puppetlabs/puppet/manifests/default.pp:17:1onnodepuppet4.vm.super-visions.com{code}default.pp{code}hiera_include('classes',[]){code}hiera.yaml{code}---:backends:-yaml:hierarchy:-defaults-%{clientcert}-%{environment}-global:yaml:#datadirisemptyhere,sohierausesitsdefaults:#-/etc/puppetlabs/code/hieradataon*nix#-%CommonAppData%\PuppetLabs\hiera\varonWindows#Whenspecifyingadatadir,makesurethedirectoryexists.:datadir:/etc/puppetlabs/hieradata{code}/etc/puppetlabs/hieradataisempty,sameresultwithaglobal.yamlfiletestedandworkingonpuppet-agent-0.3.2.22.g8642ba7-1.el7(andbefore).puppet.confisemptyMoretestingshowsthefollowing:Whenaddingany/allofthefollowinglines'before'thehiera_include()inthe.ppfiletheerrorchanges.{code}$a=hiera('a','a')$b=hiera_hash('b',{})$c=hiera_array('c',[]){code} Thedifferenterror: Withthepatchfrom {code}[root@puppet4~]#puppetapply/etc/puppetlabs/puppet/manifests/default.pp-tInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsError:EvaluationError:ErrorwhileevaluatingaFunctionCall,Functionhiera_include():cannotcallfunction'include'-noloaderspecifiedat/etc/puppetlabs/puppet/manifests/default.pp:23:1onnodepuppet4.vm.super-visions.comError:EvaluationError:ErrorwhileevaluatingaFunctionCall,Functionhiera_include():cannotcallfunction'include'-noloaderspecifiedat/etc/puppetlabs/puppet/manifests/default.pp:23:1onnodepuppet4.vm.super-visions.com{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
  

Jira (PUP-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-02-26 Thread Richard Clamp (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Richard Clamp updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4046 
 
 
 
  Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 

Change By:
 
 Richard Clamp 
 
 
 
 
 
 
 
 
 
 Usinghiera_include()withpuppet-agentasofversion0.3.2.29.g49f7b1b-1.el7producesthefollowingerror.{code}[root@puppet4manifests]#/opt/puppetlabs/puppet/bin/puppetapplydefault.pp-tInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsError:EvaluationError:ErrorwhileevaluatingaFunctionCall,uninitializedconstantHiera::PuppetFunctionat/etc/puppetlabs/puppet/manifests/default.pp:17:1onnodepuppet4.vm.super-visions.comError:EvaluationError:ErrorwhileevaluatingaFunctionCall,uninitializedconstantHiera::PuppetFunctionat/etc/puppetlabs/puppet/manifests/default.pp:17:1onnodepuppet4.vm.super-visions.com{code}default.pp{code}hiera_include('classes',[]){code}hiera.yaml{code}---:backends:-yaml:hierarchy:-defaults-%{clientcert}-%{environment}-global:yaml:#datadirisemptyhere,sohierausesitsdefaults:#-/etc/puppetlabs/code/hieradataon*nix#-%CommonAppData%\PuppetLabs\hiera\varonWindows#Whenspecifyingadatadir,makesurethedirectoryexists.:datadir:/etc/puppetlabs/hieradata{code}/etc/puppetlabs/hieradataisempty,sameresultwithaglobal.yamlfiletestedandworkingonpuppet-agent-0.3.2.22.g8642ba7-1.el7(andbefore).puppet.confisemptyMoretestingshowsthefollowing:Whenaddingany/allofthefollowinglines'before'thehiera_include()inthe.ppfiletheerrorchanges.{code}$a=hiera('a','a')$b=hiera_hash('b',{})$c=hiera_array('c',[]){code}Withthepatchfrom https://github.com/puppetlabs/puppet/pull/3655appliedtheerrorchangesto: {code}[root@puppet4~]#puppetapply/etc/puppetlabs/puppet/manifests/default.pp-tInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsError:EvaluationError:ErrorwhileevaluatingaFunctionCall,Functionhiera_include():cannotcallfunction'include'-noloaderspecifiedat/etc/puppetlabs/puppet/manifests/default.pp:23:1onnodepuppet4.vm.super-visions.comError:EvaluationError:ErrorwhileevaluatingaFunctionCall,Functionhiera_include():cannotcallfunction'include'-noloaderspecifiedat/etc/puppetlabs/puppet/manifests/default.pp:23:1onnodepuppet4.vm.super-visions.com{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 

Jira (PUP-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-02-26 Thread Stefan Goethals (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stefan Goethals updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4046 
 
 
 
  Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 

Change By:
 
 Stefan Goethals 
 
 
 
 
 
 
 
 
 
 Usinghiera_include()withpuppet-agentasofversion0.3.2.29.g49f7b1b-1.el7producesthefollowingerror.{code}[root@puppet4manifests]#/opt/puppetlabs/puppet/bin/puppetapplydefault.pp-tInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsError:EvaluationError:ErrorwhileevaluatingaFunctionCall,uninitializedconstantHiera::PuppetFunctionat/etc/puppetlabs/puppet/manifests/default.pp:17:1onnodepuppet4.vm.super-visions.comError:EvaluationError:ErrorwhileevaluatingaFunctionCall,uninitializedconstantHiera::PuppetFunctionat/etc/puppetlabs/puppet/manifests/default.pp:17:1onnodepuppet4.vm.super-visions.com{code}default.pp{code}hiera_include('classes',[]){code}hiera.yaml{code}---:backends:-yaml:hierarchy:-defaults-%{clientcert}-%{environment}-global:yaml:#datadirisemptyhere,sohierausesitsdefaults:#-/etc/puppetlabs/code/hieradataon*nix#-%CommonAppData%\PuppetLabs\hiera\varonWindows#Whenspecifyingadatadir,makesurethedirectoryexists.:datadir:/etc/puppetlabs/hieradata{code}/etc/puppetlabs/hieradataisempty,sameresultwithaglobal.yamlfiletestedandworkingonpuppet-agent-0.3.2.22.g8642ba7-1.el7(andbefore).puppet.confisemptyMoretestingshowsthefollowing:Whenaddingany/allofthefollowinglines'before'thehiera_include()inthe.ppfiletheerrorchanges.{code}$a=hiera('a','a')$b=hiera_hash('b',{})$c=hiera_array('c',[]){code}The new different error:{code}[root@puppet4~]#puppetapply/etc/puppetlabs/puppet/manifests/default.pp-tInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsError:EvaluationError:ErrorwhileevaluatingaFunctionCall,Functionhiera_include():cannotcallfunction'include'-noloaderspecifiedat/etc/puppetlabs/puppet/manifests/default.pp:23:1onnodepuppet4.vm.super-visions.comError:EvaluationError:ErrorwhileevaluatingaFunctionCall,Functionhiera_include():cannotcallfunction'include'-noloaderspecifiedat/etc/puppetlabs/puppet/manifests/default.pp:23:1onnodepuppet4.vm.super-visions.com{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

Jira (PUP-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-02-26 Thread Stefan Goethals (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stefan Goethals commented on  PUP-4046 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 
 
Thanks for the quick fix. That indeed gets rid of the first error. 
Now i get the second error: 
 
 
 
 
 
 
Error: Evaluation Error: Error while evaluating a Function Call, Function hiera_include(): cannot call function 'include' - no loader specified at /etc/puppetlabs/puppet/manifests/default.pp:23:1 on node puppet4.vm.super-visions.com
 
 
 
 
 
 
 
Do you want me to open a separate bug for that? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-02-26 Thread Stefan Goethals (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stefan Goethals created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4046 
 
 
 
  Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 4.x 
 
 
 

Assignee:
 
 Kylo Ginsberg 
 
 
 

Components:
 

 Client 
 
 
 

Created:
 

 2015/02/26 3:58 AM 
 
 
 

Environment:
 
 
Vagrant Atlas box puppetlabs/centos-7.0-64-nocm 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Stefan Goethals 
 
 
 
 
 
 
 
 
 
 
Using hiera_include() with puppet-agent as of version 0.3.2.29.g49f7b1b-1.el7 produces the following error. 
 
 
 
 
 
 
[root@puppet4 manifests]# /opt/puppetlabs/puppet/bin/puppet apply default.pp -t 
 
 

Jira (PUP-4046) Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction

2015-02-26 Thread Stefan Goethals (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stefan Goethals updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4046 
 
 
 
  Puppet-agent 0.3.2.89.g8eeaf77-1.el7 - uninitialized constant Hiera::PuppetFunction  
 
 
 
 
 
 
 
 
 

Change By:
 
 Stefan Goethals 
 
 
 
 
 
 
 
 
 
 Usinghiera_include()withpuppet-agentasofversion0.3.2.29.g49f7b1b-1.el7producesthefollowingerror.{code}[root@puppet4manifests]#/opt/puppetlabs/puppet/bin/puppetapplydefault.pp-tInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsError:EvaluationError:ErrorwhileevaluatingaFunctionCall,uninitializedconstantHiera::PuppetFunctionat/etc/puppetlabs/puppet/manifests/default.pp:17:1onnodepuppet4.vm.super-visions.comError:EvaluationError:ErrorwhileevaluatingaFunctionCall,uninitializedconstantHiera::PuppetFunctionat/etc/puppetlabs/puppet/manifests/default.pp:17:1onnodepuppet4.vm.super-visions.com{code}default.pp{code}hiera_include('classes',[]){code}hiera.yaml{code}---:backends:-yaml:hierarchy:-defaults-%{clientcert}-%{environment}-global:yaml:#datadirisemptyhere,sohierausesitsdefaults:#-/etc/puppetlabs/code/hieradataon*nix#-%CommonAppData%\PuppetLabs\hiera\varonWindows#Whenspecifyingadatadir,makesurethedirectoryexists.:datadir:/etc/puppetlabs/hieradata{code}/etc/puppetlabs/hieradataisempty,sameresultwithaglobal.yamlfiletestedandworkingonpuppet-agent-0.3.2.22.g8642ba7-1.el7(andbefore).puppet.confisempty Moretestingshowsthefollowing:  Whenaddingany/allofthefollowinglines'before'thehiera_include()inthe.ppfiletheerrorchanges.{code}$a=hiera('a','a')$b=hiera_hash('b',{})$c=hiera_array('c',[]){code}Thenewerror:{code}[root@puppet4~]#puppetapply/etc/puppetlabs/puppet/manifests/default.pp-tInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsInfo:LoadingfactsError:EvaluationError:ErrorwhileevaluatingaFunctionCall,Functionhiera_include():cannotcallfunction'include'-noloaderspecifiedat/etc/puppetlabs/puppet/manifests/default.pp:23:1onnodepuppet4.vm.super-visions.comError:EvaluationError:ErrorwhileevaluatingaFunctionCall,Functionhiera_include():cannotcallfunction'include'-noloaderspecifiedat/etc/puppetlabs/puppet/manifests/default.pp:23:1onnodepuppet4.vm.super-visions.com{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment