Issue #4093 has been reported by Dan Bode.

----------------------------------------
Feature #4093: file changes do not load immediately
http://projects.puppetlabs.com/issues/4093

Author: Dan Bode
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected version: 2.6alpha1
Keywords: 
Branch: 


when I make changes to my site.pp file, they are not immediately reflected in 
the agents compiled catalog (in client/server mode)

site.pp
<pre>
file { '/tmp/one':
  ensure => directory,
}
</pre>

site-broken.pp
<pre>
file { '/tmpe/one':
  ensure => directory,
}
</pre>

from the broken to working site.pp, then it has some sync issues:

<pre>

[r...@puppet2 manifests]# puppetd -t
warning: /User[puppet]: 'check' attribute is deprecated; use 'audit' instead
info: Caching catalog for puppetclient
info: Applying configuration version '1277475621'
# we start out in the broken state
err: //File[/tmpe/one]/ensure: change from absent to directory failed: Cannot 
create /tmpe/one; parent directory /tmpe does not exist
notice: Finished catalog run in 0.03 seconds
# here I change the site.pp to make it work again.
[r...@puppet2 manifests]# vi site.pp 
[r...@puppet2 manifests]# puppetd -t
warning: /User[puppet]: 'check' attribute is deprecated; use 'audit' instead
info: Caching catalog for puppetclient
info: Applying configuration version '1277475621'
# it should work, but it doesnt.
err: //File[/tmpe/one]/ensure: change from absent to directory failed: Cannot 
create /tmpe/one; parent directory /tmpe does not exist
notice: Finished catalog run in 0.03 seconds
# it works on the second time.
[r...@puppet2 manifests]# puppetd -t
warning: /User[puppet]: 'check' attribute is deprecated; use 'audit' instead
info: Caching catalog for puppetclient
info: Applying configuration version '1277475637'
notice: Finished catalog run in 0.02 seconds
[r...@puppet2 manifests]#





-- 
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