[Puppet Users] Re: managing exceptions/specifics on file content / source

2012-12-06 Thread Evelio VILA
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

Re: [Puppet Users] how to query yaml file with hiera function.

2012-11-26 Thread Evelio VILA
> > <%= 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

Re: [Puppet Users] how to query yaml file with hiera function.

2012-11-26 Thread Evelio VILA
> 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: >>

[Puppet Users] how to query yaml file with hiera function.

2012-11-23 Thread Evelio VILA
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