Re: [Puppet Users] Is hiera broken in FOSS Puppet 3.7.2?

2017-09-26 Thread Ramin K
Puppet 4 ships as an all in one package so you can even run it on 
Centos5 since it's ships with it's own Ruby, etc.


http://yum.puppetlabs.com/el/6/PC1/x86_64/

Ramin

On 9/26/17 12:32 PM, Peter Berghold wrote:

I was afraid that would be an answer I got... :-)

There are plans to move to Puppet 4 where I know all this works but 
given I have to support all this on RHEL 6.x there may be some obstacles 
there.   I would LOVE to wave a magic wand and make Puppet 3.x go away


So.. 3.8 eh?  There's something to investigate


On Tue, Sep 26, 2017 at 1:46 PM Rob Nelson > wrote:


If I had to guess, it would be that the merge settings either don't
exist or are buggy in 3.7.2. 3.8 was EOL in December last year, if
you have to stick with 3 I'd suggest at least trying it with 3.8.

On Tue, Sep 26, 2017 at 12:35 PM Peter Berghold
> wrote:

Seeing things like doing a hiera lookup inside a manifest such as

$somevar = hiera('randomvalue','notfound')

returning nils and other odd behavior.

I have a hiera.yaml file that looks like:

---
:backends:
   - yaml
:merge_behavior: deeper
:deep_merge_options: {}
:yaml:
   :datadir: "/etc/puppet/environments/%{environment}/hieradata"
:hierarchy:
   - "function/${::facts.host_function}"
   - "datacenter/%{::facts.sitename}"
   - "nodes/%{fqdn}"
   - "common_classes"
   - "common"

and yet I see both the nodes and common_classes being ignored.

Of more concern to me is I'm trying to set values such as

somemod::parms::value1:  somevalue

and that's being ignored.

Puppet.conf is configured correctly because it *is* finding a
class list in common.yaml but nowhere else.


Thoughts?

-- 
You received this message because you are subscribed to the

Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to puppet-users+unsubscr...@googlegroups.com
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/puppet-users/CAArvnv2ssHekfEX9Asi4eEriQqJ0ohgbyg%3DGSvM%2B0L_eGU2RUw%40mail.gmail.com

.
For more options, visit https://groups.google.com/d/optout.

-- 
Rob Nelson


-- 
You received this message because you are subscribed to the Google

Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to puppet-users+unsubscr...@googlegroups.com
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/puppet-users/CAC76iT8LVV3HzOC-9eKDyHJKhJTdGjEY9j5jWYqafW8BY6GYnQ%40mail.gmail.com

.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google 
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to puppet-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAArvnv1Mnqs1B_ZAUUFSb1xSifUu6X%2Birj41C9j1UJa%2Bprg2QQ%40mail.gmail.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c08d2935-2f5f-f852-1e87-273485e22c56%40badapple.net.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Is hiera broken in FOSS Puppet 3.7.2?

2017-09-26 Thread Rob Nelson
If it helps, I use Puppet 4 and RHEL6 all the time!


Rob Nelson
rnels...@gmail.com

On Tue, Sep 26, 2017 at 3:32 PM, Peter Berghold 
wrote:

> I was afraid that would be an answer I got... :-)
>
> There are plans to move to Puppet 4 where I know all this works but given
> I have to support all this on RHEL 6.x there may be some obstacles there.
> I would LOVE to wave a magic wand and make Puppet 3.x go away
>
> So.. 3.8 eh?  There's something to investigate
>
>
> On Tue, Sep 26, 2017 at 1:46 PM Rob Nelson  wrote:
>
>> If I had to guess, it would be that the merge settings either don't exist
>> or are buggy in 3.7.2. 3.8 was EOL in December last year, if you have to
>> stick with 3 I'd suggest at least trying it with 3.8.
>>
>> On Tue, Sep 26, 2017 at 12:35 PM Peter Berghold 
>> wrote:
>>
>>> Seeing things like doing a hiera lookup inside a manifest such as
>>>
>>> $somevar = hiera('randomvalue','notfound')
>>>
>>> returning nils and other odd behavior.
>>>
>>> I have a hiera.yaml file that looks like:
>>>
>>> ---
>>> :backends:
>>>   - yaml
>>> :merge_behavior: deeper
>>> :deep_merge_options: {}
>>> :yaml:
>>>   :datadir: "/etc/puppet/environments/%{environment}/hieradata"
>>> :hierarchy:
>>>   - "function/${::facts.host_function}"
>>>   - "datacenter/%{::facts.sitename}"
>>>   - "nodes/%{fqdn}"
>>>   - "common_classes"
>>>   - "common"
>>>
>>> and yet I see both the nodes and common_classes being ignored.
>>>
>>> Of more concern to me is I'm trying to set values such as
>>>
>>> somemod::parms::value1:  somevalue
>>>
>>> and that's being ignored.
>>>
>>> Puppet.conf is configured correctly because it *is* finding a class list
>>> in common.yaml but nowhere else.
>>>
>>>
>>> Thoughts?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Puppet Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to puppet-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/puppet-users/CAArvnv2ssHekfEX9Asi4eEriQqJ0o
>>> hgbyg%3DGSvM%2B0L_eGU2RUw%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> Rob Nelson
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to puppet-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/
>> msgid/puppet-users/CAC76iT8LVV3HzOC-9eKDyHJKhJTdGjEY9j5jWYqafW8BY6
>> GYnQ%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/puppet-users/CAArvnv1Mnqs1B_ZAUUFSb1xSifUu6X%
> 2Birj41C9j1UJa%2Bprg2QQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAC76iT-PHcgSVZgFOkBXwQ9OyUavE6wJgAcBWw8%3D-4RjLJg0CQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Is hiera broken in FOSS Puppet 3.7.2?

2017-09-26 Thread Peter Berghold
I was afraid that would be an answer I got... :-)

There are plans to move to Puppet 4 where I know all this works but given I
have to support all this on RHEL 6.x there may be some obstacles there.   I
would LOVE to wave a magic wand and make Puppet 3.x go away

So.. 3.8 eh?  There's something to investigate


On Tue, Sep 26, 2017 at 1:46 PM Rob Nelson  wrote:

> If I had to guess, it would be that the merge settings either don't exist
> or are buggy in 3.7.2. 3.8 was EOL in December last year, if you have to
> stick with 3 I'd suggest at least trying it with 3.8.
>
> On Tue, Sep 26, 2017 at 12:35 PM Peter Berghold 
> wrote:
>
>> Seeing things like doing a hiera lookup inside a manifest such as
>>
>> $somevar = hiera('randomvalue','notfound')
>>
>> returning nils and other odd behavior.
>>
>> I have a hiera.yaml file that looks like:
>>
>> ---
>> :backends:
>>   - yaml
>> :merge_behavior: deeper
>> :deep_merge_options: {}
>> :yaml:
>>   :datadir: "/etc/puppet/environments/%{environment}/hieradata"
>> :hierarchy:
>>   - "function/${::facts.host_function}"
>>   - "datacenter/%{::facts.sitename}"
>>   - "nodes/%{fqdn}"
>>   - "common_classes"
>>   - "common"
>>
>> and yet I see both the nodes and common_classes being ignored.
>>
>> Of more concern to me is I'm trying to set values such as
>>
>> somemod::parms::value1:  somevalue
>>
>> and that's being ignored.
>>
>> Puppet.conf is configured correctly because it *is* finding a class list
>> in common.yaml but nowhere else.
>>
>>
>> Thoughts?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to puppet-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/puppet-users/CAArvnv2ssHekfEX9Asi4eEriQqJ0ohgbyg%3DGSvM%2B0L_eGU2RUw%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Rob Nelson
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/CAC76iT8LVV3HzOC-9eKDyHJKhJTdGjEY9j5jWYqafW8BY6GYnQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAArvnv1Mnqs1B_ZAUUFSb1xSifUu6X%2Birj41C9j1UJa%2Bprg2QQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Is hiera broken in FOSS Puppet 3.7.2?

2017-09-26 Thread Rob Nelson
If I had to guess, it would be that the merge settings either don't exist
or are buggy in 3.7.2. 3.8 was EOL in December last year, if you have to
stick with 3 I'd suggest at least trying it with 3.8.

On Tue, Sep 26, 2017 at 12:35 PM Peter Berghold 
wrote:

> Seeing things like doing a hiera lookup inside a manifest such as
>
> $somevar = hiera('randomvalue','notfound')
>
> returning nils and other odd behavior.
>
> I have a hiera.yaml file that looks like:
>
> ---
> :backends:
>   - yaml
> :merge_behavior: deeper
> :deep_merge_options: {}
> :yaml:
>   :datadir: "/etc/puppet/environments/%{environment}/hieradata"
> :hierarchy:
>   - "function/${::facts.host_function}"
>   - "datacenter/%{::facts.sitename}"
>   - "nodes/%{fqdn}"
>   - "common_classes"
>   - "common"
>
> and yet I see both the nodes and common_classes being ignored.
>
> Of more concern to me is I'm trying to set values such as
>
> somemod::parms::value1:  somevalue
>
> and that's being ignored.
>
> Puppet.conf is configured correctly because it *is* finding a class list
> in common.yaml but nowhere else.
>
>
> Thoughts?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/CAArvnv2ssHekfEX9Asi4eEriQqJ0ohgbyg%3DGSvM%2B0L_eGU2RUw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Rob Nelson

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAC76iT8LVV3HzOC-9eKDyHJKhJTdGjEY9j5jWYqafW8BY6GYnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Is hiera broken in FOSS Puppet 3.7.2?

2017-09-26 Thread Peter Berghold
Seeing things like doing a hiera lookup inside a manifest such as

$somevar = hiera('randomvalue','notfound')

returning nils and other odd behavior.

I have a hiera.yaml file that looks like:

---
:backends:
  - yaml
:merge_behavior: deeper
:deep_merge_options: {}
:yaml:
  :datadir: "/etc/puppet/environments/%{environment}/hieradata"
:hierarchy:
  - "function/${::facts.host_function}"
  - "datacenter/%{::facts.sitename}"
  - "nodes/%{fqdn}"
  - "common_classes"
  - "common"

and yet I see both the nodes and common_classes being ignored.

Of more concern to me is I'm trying to set values such as

somemod::parms::value1:  somevalue

and that's being ignored.

Puppet.conf is configured correctly because it *is* finding a class list in
common.yaml but nowhere else.


Thoughts?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAArvnv2ssHekfEX9Asi4eEriQqJ0ohgbyg%3DGSvM%2B0L_eGU2RUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.