Hi,
I have to run to work, but quickly here is my binder_config.yaml
root@hiera-2:/etc/puppet# cat hiera.yaml
---
version: 2
hierarchy:
[ ['osfamily', '${osfamily}', '${osfamily}' ],
['environment', '${environment}', '${environment}' ],
['common', 'true', 'common' ]
]
backends:
- yaml
- json
I'll copy in the new one after work and see if I can get it working.
I have been using calling scope variables in my hiera lookups. I use a
$cname variable set at node scope to allow machines to get their ssl certs
out of hiera. How could I implement this under the new system?
Thanks for replying so quickly,
Spencer
On Mon, Sep 16, 2013 at 8:12 AM, Henrik Lindberg <
[email protected]> wrote:
> On 2013-16-09 3:39, Spencer Krum wrote:
>
>> Hello,
>>
>> I am trying to follow ARM-9 and use the data in modules features
>> introduced in the 3.3 release. I am struggling to get many of the
>> features mentioned in ARM-9 working. I have a basic module here
>> https://github.com/pro-puppet/**puppet-module-startrek<https://github.com/pro-puppet/puppet-module-startrek>,
>> but when trying to
>> add an element to the hierarchy (see branch 'species') I'm hitting a
>> roadblock. I have copied in the binder_config.yaml file from ARM-9, even
>> without modifications, and I get the following error:
>>
>> root@hiera-2:/etc/puppet# !pup
>> puppet apply modules/startrek/tests/init.pp
>> Error: syntax error on line 3, col 20: ` { 'name' => 'site',' on node
>> hiera-2.green.gah
>> Error: syntax error on line 3, col 20: ` { 'name' => 'site',' on node
>> hiera-2.green.gah
>>
>> So I guess my immediate question is "is the binder_config.yaml snippet
>> in ARM-9 correct?
>>
>
> The typos (backslashes in examples) are now removed in the ARM-9 text.
>
> Thanks again for catching this and reporting.
>
> - henrik
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> puppet-dev+unsubscribe@**googlegroups.com<puppet-dev%[email protected]>
> .
> To post to this group, send email to [email protected].
> Visit this group at
> http://groups.google.com/**group/puppet-dev<http://groups.google.com/group/puppet-dev>
> .
> For more options, visit
> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
> .
>
--
Spencer Krum
(619)-980-7820
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" 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-dev.
For more options, visit https://groups.google.com/groups/opt_out.