Re: [Puppet Users] suppressing undefined variable warnings in PE2016.1

2017-02-15 Thread Ben Hines
Wed, Feb 15, 2017 at 10:19 PM Ben Hines <bhi...@gmail.com > > wrote: > >> I would be really cool if warnings could be disabled (And re enabled) >> from code, like like pragmas in C++. That would let me keep the undefined >> variables warning where it's needed, but i

Re: [Puppet Users] suppressing undefined variable warnings in PE2016.1

2017-02-15 Thread Ben Hines
I would be really cool if warnings could be disabled (And re enabled) from code, like like pragmas in C++. That would let me keep the undefined variables warning where it's needed, but ignore for other areas. (like third party modules i may not care about) In my case, i am using hiera lookup

Re: [Puppet Users] Hiera 5 calling_class

2017-02-10 Thread Ben Hines
com > wrote: > On 08/02/17 17:55, Ben Hines wrote: > >> Perhaps this is just a bug, but does %{calling_class} function with >> Hiera 5? I haven't been able to get it to function. Perhaps it has a >> new syntax? >> >> > It is deliberately not supported in the

[Puppet Users] Hiera 5 calling_class

2017-02-08 Thread Ben Hines
Perhaps this is just a bug, but does %{calling_class} function with Hiera 5? I haven't been able to get it to function. Perhaps it has a new syntax? Notice it's blank: ==> test: Hierarchy entry "calling_class" ==> test: Path

[Puppet Users] hiera calling_class files fail with yaml provider on Windows

2014-01-13 Thread Ben Hines
Howdy, My organization has a pre-existing hiera configuration which uses {calling_class}.yaml configuration files, like: classes/base::openldap.yaml Which get pulled into hiera via this path in the hierarchy. :hierarchy: ... - %{environment}/classes/%{calling_class} This does not work on