Ask Your Question
1

How do you keep the puppetmaster from requiring a restart when a manifest is renamed?

asked 2013-05-07 06:20:45 -0500

Ars gravatar image

updated 2013-05-07 06:40:50 -0500

It seems anytime a file move breaks a module (which is very expected), the puppet master does not want to recover when the file name is corrected.

Here is my site.pp:

node default {
    include dummy::one
    include dummy::two
}

A very simple pair of classes:

root@polaroid:/etc/puppet/modules/dummy/manifests# cat one.pp
class dummy::one {
    notify {"dummy::one reporting for duty":}
}
root@polaroid:/etc/puppet/modules/dummy/manifests# cat two.pp
class dummy::two {
    notify {"dummy::two reporting for duty":}
}

A working run:

root@polaroid:~# puppet agent --test
Info: Retrieving plugin
Info: Caching catalog for polaroid ...
(more)
edit retag flag offensive close merge delete

Comments

What version of puppet is this?

llowder gravatar imagellowder ( 2013-05-07 09:59:14 -0500 )edit
1

It's 3.1.1. It seems to be related to this bug: https://projects.puppetlabs.com/issues/16568

Ars gravatar imageArs ( 2013-05-07 10:09:35 -0500 )edit
2

I added the link to your answer.

llowder gravatar imagellowder ( 2013-05-07 12:04:18 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-05-07 10:12:27 -0500

Ars gravatar image

updated 2013-05-07 12:03:51 -0500

llowder gravatar image

This appears to be a bug: #16568

The bug is fixed in 3.2

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2013-05-07 06:20:45 -0500

Seen: 307 times

Last updated: May 07 '13