Issue #5477 has been updated by Jesse Wolfe.

Assignee set to Jesse Wolfe
Branch set to http://github.com/jes5199/puppet/tree/ticket/next/5477

I've got a draft of a solution
----------------------------------------
Bug #5477: if site.pp does not exist on the first compile, puppet master will 
not detect when it is created
https://projects.puppetlabs.com/issues/5477

Author: Dan Bode
Status: Accepted
Priority: High
Assignee: Jesse Wolfe
Category: parser
Target version: 2.6.x
Affected Puppet version: 
Keywords: 
Branch: http://github.com/jes5199/puppet/tree/ticket/next/5477


In 2.6, compile does not fail when site.pp does not exist.

However, if a catalog is compiled when site.pp does not exist, puppetmaster 
does not detect when site.pp is created. This requires a restart.

To recreate:

<pre>
# ensure that site.pp does not exist
>rm -f /etc/puppet/manifests/site.pp
>puppet master --verbose --no-daemonize
>puppet agent --test
>echo 'notify{foo:}' > /etc/puppet/manifests/site.pp
>sleep 20
>puppet agent --test
</pre>

changes in site.pp are not noticed, it requires a restart of the puppetmaster.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to