Jira (HI-474) calling_module/calling_class aren't resolved when called from outsite any module (e.g. site.pp)

2022-02-16 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  HI-474  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: calling_module/calling_class aren't resolved when called from outsite any module (e.g. site.pp)   
 

  
 
 
 
 

 
 The hiera_include function is deprecated and will be removed in a future release. All of the hiera functionality is implemented in puppet lookup, so Im going to close this.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.100999.144421421.18602.1645081740107%40Atlassian.JIRA.


Jira (HI-474) calling_module/calling_class aren't resolved when called from outsite any module (e.g. site.pp)

2015-10-07 Thread JIRA
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Frank Grötzner created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Hiera /  HI-474 
 
 
 
  calling_module/calling_class aren't resolved when called from outsite any module (e.g. site.pp)  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 HI 1.3.4 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Community 
 
 
 

Created:
 

 2015/10/07 3:36 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Frank Grötzner 
 
 
 
 
 
 
 
 
 
 
It seems like the yaml-backend does not resolve calling_module and calling_class to anything when called from a context outside of any class, for example directly from site.pp. I'm pretty sure, that it resolved to "main" sometime ago and I couldn't find any change or documentation on that. Resolving to "main" does however work for the puppet-backend: 
site.pp: 
 
 
 
 
 
 
hiera_include('role', '')