Hi Rich.Thanks for that but when I try to do so I got that 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

It seems it can't find the class at all even it's all there and that's
why I thought the init.pp would be why.
Alfredo


On Mon, Aug 31, 2015 at 3:02 PM, Rich Burroughs <r...@richburroughs.com> wrote:
> A lot of modules do have one, but not all of them. It's not required, it's a
> design decision.
>
> You should be able to add the classes you want to assign using the proper
> scoping like:
>
> mysql::server
>
>
> Rich
> On Sun, Aug 30, 2015 at 9:12 PM Alfredo De Luca <alfredo.del...@gmail.com>
> wrote:
>>
>> Hi all.
>> I found out that niether puppetlabs-postgresql or mysql has the
>> init.pp so that's why when I call them from hiera they fail.
>> Is it normal?
>>
>> Alfredo
>>
>>
>> On Sat, Aug 29, 2015 at 2:31 PM, Alfredo De Luca
>> <alfredo.del...@gmail.com> wrote:
>> > 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
>>
>>
>>
>> --
>> 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/CAAWpFTFioMKsLcNDKtKtG8o5Fo7X7Z-kBzqCWsp2VasRGNZBLQ%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/CAPGcbtCceoq9ks%2Brvux7_x%3DFj6GUZLTvRr7jftXW8RstFcerGg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
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/CAAWpFTEcHYL%2BTa3VYmeE7QNyKeMEch%3Db0Epotx_VEAiigTqnGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to