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)

My* site.pp* file includes lots of class definitions and finally about 20 
node definitions, like these:
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-users+unsubscr...@googlegroups.com.
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.

Reply via email to