summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/config.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/puppet/config.rb b/lib/puppet/config.rb
index 7af3a72d9..bcfdabd90 100644
--- a/lib/puppet/config.rb
+++ b/lib/puppet/config.rb
@@ -525,8 +525,16 @@ Generated on #{Time.now}.
objects = bucket.to_type
objects.finalize
+ tags = nil
+ if Puppet[:tags]
+ tags = Puppet[:tags]
+ Puppet[:tags] = ""
+ end
trans = objects.evaluate
trans.evaluate
+ if tags
+ Puppet[:tags] = tags
+ end
# Remove is a recursive process, so it's sufficient to just call
# it on the component.