HI,
Le jeudi 6 décembre 2012 13:07:19 UTC+1, mawi a écrit :
>
> Hi,
>
> I'm looking for help on this use case:
>
> I have several modules managing e.g. ntp and ssh on some nodes. The
> content of ntp.conf and sshd_config are generated from templates for most
> of the nodes. Now we have a use c
>
> <%= scope.function_hiera([cluster['port']]) %>
>
using the var name or the string direclty wont work...
<%= scope.function_hiera([var['port']]) %>
evelio
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web
> Hi,
>
> 2012/11/23 Evelio VILA >
>
>> Hi guys,
>>
>> i have a hiera.yaml config file like this:
>>
>> ---
>> :hierarchy:
>> - %{env}/%{tmp_module_name}
>> - %{env}/%{tmp_module_name}.common
>> :backends:
>>
Hi guys,
i have a hiera.yaml config file like this:
---
:hierarchy:
- %{env}/%{tmp_module_name}
- %{env}/%{tmp_module_name}.common
:backends:
- yaml
:yaml:
:datadir: '/etc/puppet/hieradata'
I also have a test/some_module.yaml file like this:
---
db:
root: pass