Jira (HI-522) deeper merge not being respected
Title: Message Title Kyle Decot commented on HI-522 Re: deeper merge not being respected Thanks for the response Henrik Lindberg. Turns out that you're right and that I should have been using hiera_hash instead of the regular hiera call. Thanks again Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 (HI-522) deeper merge not being respected
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-522 deeper merge not being respected Change By: Henrik Lindberg When performing `puppet agent -t` on my node I am not receiving the hiera values that I expect. I have specified the deeper merge strategy as: {code} :hierarchy: - "%{::fqdn}" - common:merge_behavior: deeper:deep_merge_options: :knockout_prefix: '--' {code} I have also installed the gem using: {code} puppetserver gem install deep_merge {code} In common.yaml I have something like: {code} foo: - bar: "hello" - baz: "world" {code} and then in my node's yaml file I have {code} foo: - "hello" {code} When performing a run w/ {{ hiera("foo", {}) }} I'm only getting a single item when I would expect two Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 (HI-522) deeper merge not being respected
Title: Message Title Kyle Decot updated an issue Hiera / HI-522 deeper merge not being respected Change By: Kyle Decot When performing `puppet agent -t` on my node I am not receiving the hiera values that I expect. I have specified the deeper merge strategy as::hierarchy: - "%{::fqdn}" - common:merge_behavior: deeper:deep_merge_options: :knockout_prefix: '--'I have also installed the gem using:puppetserver gem install deep_mergeIn common.yaml I have something like:foo: - bar: "hello" - baz: "world"and then in my node's yaml file I havefoo: - "hello"When performing a run w/ hiera("foo", {}) I'm only getting a single item when I would expect two Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 (HI-522) deeper merge not being respected
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-522 deeper merge not being respected Change By: Henrik Lindberg Scrum Team: Language Component/s: Community Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 (HI-522) deeper merge not being respected
Title: Message Title Henrik Lindberg commented on HI-522 Re: deeper merge not being respected IIRC, you have to use hiera_hash to get hash lookup and merges. The key that you are looking up needs to be a hash everywhere; you have a key that is bound to a string value, and then expect that to be merged with a hash? Can you start by trying to use hiera_hash instead of hiera and report back? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 (HI-522) deeper merge not being respected
Title: Message Title Henrik Lindberg assigned an issue to Kyle Decot Hiera / HI-522 deeper merge not being respected Change By: Henrik Lindberg Assignee: Kyle Decot Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 (HI-522) deeper merge not being respected
Title: Message Title Kyle Decot updated an issue Hiera / HI-522 deeper merge not being respected Change By: Kyle Decot When performing `puppet agent -t` on my node I am not receiving the hiera values that I expect. I have specified the deeper merge strategy as: :hierarchy: - "%{::fqdn}" - common:merge_behavior: deeper:deep_merge_options: :knockout_prefix: '--'I have also installed the gem using:puppetserver gem install deep_mergeIn common.yaml I have something like:foo: - bar: "hello" - baz: "world"and then in my node's yaml file I havefoo: "hello"When performing a run w/ hiera("foo", {}) I'm only getting a single item when I would expect two Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 (HI-522) deeper merge not being respected
Title: Message Title Kyle Decot created an issue Hiera / HI-522 deeper merge not being respected Issue Type: Bug Affects Versions: HI 3.1.1 Assignee: Unassigned Components: Community Created: 2016/07/05 12:03 PM Priority: Normal Reporter: Kyle Decot When performing `puppet agent -t` on my node I am not receiving the hiera values that I expect. I have specified the deeper merge strategy as: :hierarchy: "%{::fqdn}" common :merge_behavior: deeper :deep_merge_options: :knockout_prefix: '--' I have also installed the gem using: puppetserver gem install deep_merge In common.yaml I have something like: foo: