summaryrefslogtreecommitdiffstats
path: root/lib/puppet/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/config.rb')
-rw-r--r--lib/puppet/config.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/config.rb b/lib/puppet/config.rb
index c697545ce..c5da14880 100644
--- a/lib/puppet/config.rb
+++ b/lib/puppet/config.rb
@@ -348,7 +348,9 @@ class Config
def reparse
if defined? @file and @file.changed?
Puppet.notice "Reparsing %s" % @file.file
- parse(@file)
+ @@sync.synchronize do
+ parse(@file)
+ end
reuse()
end
end