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 <icalv...@gmail.com> wrote:

> 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 variable but if I
> change *%{::environment}* for a fix value, all works fine.
>
> In a client the error is...
>
> *err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Could not find data item mysql_monitor_user in any Hiera data file and no
> default supplied at....*
>
> In the puppetmaster ( repupuppet himselft ) the error is ...
>
> *err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> malformed format string - %S at*
>
> Both for line...
>
> *$cndb_db = hiera('cndb_db')*
>
>
> My hiera version is 1.2.1
>
> My puppet version is 2.7.23
>
> Thanks!!!!
>
>
>  --
> 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 puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/c57ff48d-af64-4cb4-a81c-19f98ec5bb5b%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/c57ff48d-af64-4cb4-a81c-19f98ec5bb5b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
GVoice: 707.410.0371
LinkedIn: http://www.linkedin.com/in/brendanobra

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAMxvyWhO%2BKK6n-xyJ95-QmscS%3DS2Edq3BC_7R%3DOm59yhHcWo_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to