On 2014-05-08 17:21, Israel Calvete wrote:
> Hi,
>
> This is my hiera config.
>
> /---/
> /:backends: - yaml/
> /:hierarchy: - %{::environment}/
> /- common/
You must use double quotes when you want interpolation to work. See
http://docs.puppetlabs.com/hiera/1/variables.html#interpol
Pretty sure I ran across this same issue. Try pulling the :: out of the
variable name. e.g. %{environment}
- Jeff
On 05/08/2014 11:21 AM, Israel Calvete wrote:
Yes, hiera file is in /etc/puppet/hiera.yaml
On Thursday, May 8, 2014 6:15:34 PM UTC+2, Brendan O'Bra wrote:
Where is your hiera
Yes, hiera file is in /etc/puppet/hiera.yaml
On Thursday, May 8, 2014 6:15:34 PM UTC+2, Brendan O'Bra wrote:
>
> Where is your hiera.yaml located? Default for puppet is
> /etc/puppet/hiera.yaml
>
>
> On Thu, May 8, 2014 at 8:21 AM, Israel Calvete
> > wrote:
>
>> Hi,
>>
>> This is my hiera config
Where is your hiera.yaml located? Default for puppet is
/etc/puppet/hiera.yaml
On Thu, May 8, 2014 at 8:21 AM, Israel Calvete wrote:
> Hi,
>
> This is my hiera config.
>
> *---*
> *:backends: - yaml*
> *:hierarchy: - %{::environment}*
> *- common*
> *:yaml:*
> * :datadir:
> "/usr/s
Hi,
This is my hiera config.
*---*
*:backends: - yaml*
*:hierarchy: - %{::environment}*
*- common*
*:yaml:*
* :datadir:
"/usr/share/puppet/configuration/%{::environment}/hiera/current/hieradata"*
*:puppet:*
* :datasource: data*
It seems if puppet master can't resolve enviroment va