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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/c57ff48d-af64-4cb4-a81c-19f98ec5bb5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.