Ask Your Question

Puppet Agent doesn't receive Catalog, Node.rb on Master shows correct YAML-output (Foreman)

asked 2016-10-16 06:06:35 -0600

Matt gravatar image

updated 2016-10-16 06:06:56 -0600

I'm having a strange issue with a Foreman setup where my agent don't receive their assigned manifests during their run.

On the puppet master I can run a positive

./node.rb puppet-agent-fqdn

Where I see my whole yaml for the agent which should be applied.

When I do a puppet run this run goes well, no errors, and the agent reports back to foreman that there are no changes.

I'm really clueless what to check so can't post any output that show an actual issue.

Anyone a clue where to start ?

edit retag flag offensive close merge delete


„changes“ in foreman are only reported as changes, if something actually changed. Write something like a `notify {'foo': }` in you manifests applied to the puppet node. You'll see, _this_ will report a „change” in foreman.

Kai Burghardt gravatar imageKai Burghardt ( 2016-10-16 13:18:50 -0600 )edit

I know, but it doesn't do that at all, I'm a little but further now but now my classes are not imported anymore. Investigating.

Matt gravatar imageMatt ( 2016-10-17 03:49:58 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-10-16 22:17:36 -0600

lupin gravatar image

You go Hosts-> All hosts clicked your host and on under Details there's YAML if you click that you'll see the classes for that host.

edit flag offensive delete link more


That is the same output as node.rb <fqdn> as it should.

Matt gravatar imageMatt ( 2016-10-17 03:50:18 -0600 )edit

You can search for classes.txt it's usually under /var/lib/ or /var/opt/lib. Try find /var -iname "classes*".

lupin gravatar imagelupin ( 2016-10-17 12:54:46 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-10-16 06:06:35 -0600

Seen: 166 times

Last updated: Oct 16 '16