In  /etc/puppet/hieradata/nodes/ create a file 'puppet-sql.alflab.net.yaml' 
that contains:

---
postgresql::server:


restart your instance PuppetMaster (service httpd/apache2 restart)
Then we test hiera debug mode if it finds the information:

hiera -d postgresql::server
hiera -d sudo::configs fqdn=puppet-sql.alflab.net

or (for array)
hiera -d -a postgresql::server fqdn=puppet-sql.alflab.net

or (for hash):
hiera -d -h postgresql::server fqdn=puppet-sql.alflab.net


Can you give the return orders, please






Le samedi 29 août 2015 06:31:29 UTC+2, Alfredo De Luca a écrit :
>
> Hi all. 
> Using Puppet open source  3.8  with hiera for test purpose. 
>
> I installed puppetlabs-postgresql from forge but when on my puppet 
> client yaml I use postgresql I got the following error: 
>
>
> Error: Could not retrieve catalog from remote server: Error 400 on 
> SERVER: Could not find class postgresql for puppet-sql.alflab.net on 
> node puppet-sql.alflab.net 
>
>
> Any clue why? 
>
> Here is the yaml file 
>
> --- 
> classes: 
>   - sudo 
>   - selinux 
>   - postgresql 
>
> All the rest is working just fine. Also I tried puppetlabs-mysql but 
> same error. 
>
> Regards 
>
> -- 
> Alfredo 
>

-- 
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/6a741c4e-35ad-43c2-bb2d-3c48c7bc558c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to