Thanks.
On Mon, Nov 11, 2013 at 10:30 AM, Rob Reynolds <[email protected]> wrote: > I believe this was updated in this ARM > https://github.com/puppetlabs/armatures/blob/master/arm-9.data_in_modules/index.md > > But you may want to check to see if this is still something we are moving > forward with. > > > On Mon, Nov 11, 2013 at 10:16 AM, MM <[email protected]> wrote: > >> Where can I find this updated examples? >> >> >> On Thursday, September 19, 2013 1:03:17 PM UTC-7, Rob Reynolds wrote: >> >>> Henrik posted some updates/fixes to his examples. Can you check that >>> first? >>> >>> >>> On Wed, Sep 18, 2013 at 10:57 AM, Igor Berger <[email protected]>wrote: >>> >>>> Any ideas? >>>> >>>> >>>> On Monday, September 16, 2013 11:30:42 AM UTC-4, Igor Berger wrote: >>>>> >>>>> Hello, >>>>> >>>>> I'm running Puppet agent stand-alone on Windows. >>>>> >>>>> I got data-in-modules working. However, no matter what I put into the >>>>> module hiera.yaml, >>>>> I can only override the defaults from common.yaml by osfamily (and >>>>> not, e.g., by environment). >>>>> >>>>> In the setup below the following command outputs: >>>>> >>>>> >puppet apply --binder -e "notice lookup ('my_key')" >>>>> --environment=local >>>>> Notice: Scope(Class[main]): windows-value >>>>> Notice: Compiled catalog for myhostname in environment local in 1.40 >>>>> seconds >>>>> >>>>> And if I delete the osfamily directory, the same command outputs >>>>> "common-value". >>>>> >>>>> So, even though osfamily is not part of the hierarchy, it's used to >>>>> override the common value. >>>>> Conversely, environment is part of the hierarchy, but it's not used. >>>>> >>>>> Did I miss anything? >>>>> >>>>> Thanks, >>>>> Igor. >>>>> >>>>> >>>>> Module structure: >>>>> >>>>> my_module/ >>>>> hiera.yaml >>>>> data/ >>>>> common.yaml >>>>> environment/ >>>>> local.yaml >>>>> osfamily/ >>>>> windows.yaml >>>>> >>>>> >>>>> hiera.yaml contains: >>>>> >>>>> --- >>>>> version: 2 >>>>> hierarchy: >>>>> [ >>>>> ['environment', '${environment}', 'data/environment/${environmen >>>>> t}'], >>>>> ['common', 'true', 'data/common'] >>>>> ] >>>>> >>>>> >>>>> data/common.yaml contains: >>>>> >>>>> --- >>>>> my_key: 'common-value' >>>>> >>>>> >>>>> data/osfamily/windows.yaml contains: >>>>> >>>>> --- >>>>> my_key: 'windows-value' >>>>> >>>>> >>>>> data/environment/local.yaml contains: >>>>> >>>>> --- >>>>> my_key: 'local-value' >>>>> >>>>> -- >>>> 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 [email protected]. >>>> To post to this group, send email to [email protected]. >>>> >>>> Visit this group at http://groups.google.com/group/puppet-users. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> Rob Reynolds >>> Developer, Puppet Labs >>> >>> Join us at PuppetConf 2014, September 23-24 in San Francisco >>> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/96546f73-d70b-4057-99cd-307ffc902ad2%40googlegroups.com >> . >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Rob Reynolds > Developer, Puppet Labs > > Join us at PuppetConf 2014, September 23-24 in San Francisco > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/Z_6ehvPEm98/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAMJiBK7sxcjhCXJLwOf3mD%2Baq%3DV33NM3C0qD3ZSN%3D2VbmRPfZQ%40mail.gmail.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CANTbHr_mgF3p-fMAGCUwWL4L-JOX1d%2BBDnA9csnWURGEXNXATg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
