Ask Your Question

'puppet apply' does not pick up changes

asked 2013-11-13 12:53:04 -0500

koddsson gravatar image

I recently moved to a master-less puppet setup in git, which is checked out and applied via the 'puppet apply' command but that seems to have stopped working suddenly but I'm not sure why that is.

I doesn't apply any of the changes I've made to the modules. My best guess is that there is some cache somewhere but frankly I'm all out of ideas.

edit retag flag offensive close merge delete



Can you post some code? Also post the output of puppet apply foo --debug

spuder gravatar imagespuder ( 2013-11-13 14:38:11 -0500 )edit

puppet apply needs a manifest as cli parameter. e.g. puppet apply /etc/puppet/manifests/<node function="">.pp In which manner do you call puppet apply? Please provide some more ...(more)

Martin Alfke gravatar imageMartin Alfke ( 2013-11-19 06:12:44 -0500 )edit

If you're asking a question, please provide enough information for others to be able to answer it.

rjc gravatar imagerjc ( 2013-11-19 18:56:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-20 08:44:02 -0500

ffrank gravatar image

To peek under the hood of puppet apply, add the flags --verbose and/or --debug.

You should be able to observe all resources being tested and get an idea of whether puppet erroneously assumes they are in sync.

Of course, this is merely the first step in the debugging process. If manifests are indeed not picked up, the cause must be determined. The above mentioned options should be sufficient for that.

edit flag offensive delete link more


I have exactly the same problem where the puppet apply on the client doesn't not retrieve the latest module changes on the puppet master. I have tried --verbose --debug ...(more)

olauret gravatar imageolauret ( 2014-01-03 10:16:09 -0500 )edit

How is your master set up? If you are using webrick, your mileage may increase by switching to Passenger. Also, very old versions of puppet had problems of this kind ...(more)

ffrank gravatar imageffrank ( 2014-01-21 08:19:17 -0500 )edit

I have found a work around which was to restart the master at every change. I have installed the latest version and I have sometimes the same issue. And indeed, I'm relying sometimes on import.

olauret gravatar imageolauret ( 2014-07-15 03:16:11 -0500 )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


Asked: 2013-11-13 12:53:04 -0500

Seen: 418 times

Last updated: Dec 20 '13