I've moved my configuration as you suggested, and errors are starting to 
populate my log, which is good!, because I wasn't getting error messages at 
all.

I'm aware that my setup is monolithic and shoud be splitting my class 
hierarchy into several files, but that would make my admin much more 
complicated, provided I'm managing my setup via several scripts, not by 
direct editing, so I intend to stay this way as long as I can.

Than you for putting me on the right track!! I didn't notice that setup dir 
had changed.

On Friday, 5 April 2019 12:34:18 UTC+2, Martin Alfke wrote:
>
> Hi Miguel, 
>
> > On 4. Apr 2019, at 13:41, Miguel Ángel Ibáñez Mompeán <miba...@gmail.com 
> <javascript:>> wrote: 
> > 
> > Hello, 
> > 
> > I'm getting empty catalogs after upgrading Ubuntu 16.04 LTS to 18.04 LTS 
> (so did my puppetserver, 3.8.5 -> 5.4.0 ). My puppet agent on my testing 
> machine is also v 5.4.0. 
> > 
> > My client machine for testing (c06x19) reveives the hostname.json 
> catalog file, but it seems to be empty: 
> > # cat /var/cache/puppet/client_data/catalog/c06x19.iescierva.net.json 
> > {"tags":["settings"],"name":"c06x19.iescierva.net","version":1554375515,"code_id":null,"catalog_uuid":"33c3535c-3fec-4d72-a656-7f41ec2b9229","catalog_format":1,"environment":"production","resources":[{"type":"Stage","title":"main","tags":["stage"],"exported":false},{"type":"Class","title":"Settings","tags":["class","settings"],"exported":false},{"type":"Class","title":"Main","tags":["class"],"exported":false,"parameters":{"name":"main"}}],"edges":[{"source":"Stage[main]","target":"Class[Settings]"},{"source":"Stage[main]","target":"Class[Main]"}],"classes":["settings"]}
> >  
>
> > 
> > 
> > Client syslog shows: 
> > Apr  4 12:58:50 c06x19 puppet-agent[4916]: Reopening log files 
> > Apr  4 12:58:50 c06x19 puppet-agent[4916]: Starting Puppet client 
> version 5.4.0 
> > Apr  4 12:58:50 c06x19 systemd[1]: Started Puppet agent. 
> > Apr  4 12:58:51 c06x19 puppet-agent[4920]: Applied catalog in 0.02 
> seconds 
> > 
> > (on previous version, it usually took seconds, even minutes, to have the 
> work done) 
> > 
> > 
> > puppet parser also seems to be ok (all I've got is a standalone site.pp 
> file): 
> > puppet parser validate /etc/puppet/manifests/site.pp 
> > (empty output, no errors or warnings) 
> > 
> Puppet has switched location for Puppet code from /etc/puppet to 
> /etc/puppetlabs/code/environments/production 
>
> > My site.pp file includes lots of class definitions and finally about 20 
> node definitions, like these: 
>
> Class definitions in site.pp? 
> You seem to follow very old best practice. 
> Have you digged into Puppet control repository and roles and profiles? 
>
> hth, 
> Martin 
>
> > node 
> >   /^c05x\d\d\.iescierva\.net$/ 
> >   { 
> >     include computer::ws::student::c05 
> >     include os::mint::v19_1 
> >   } 
> > 
> > node 
> >   'c06x19.iescierva.net' 
> >   { 
> >     include computer::ws::student::c06 
> >     include os::mint::v19_1 
> >     include docker 
> >   } 
> > 
> > Any suggestion? What am I missing here? 
> > Any help or direction will be strongly appreciated. 
> > 
> > M.A. 
> > 
> > 
> > -- 
> > 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...@googlegroups.com <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/26885257-8e40-4a60-b715-85fd460e6db4%40googlegroups.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/11c3f61d-426f-404e-b759-5c422cbe7016%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to