From 07e0d592c42249481aa7578e521182c6c19271ca Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 13 Jun 2006 17:31:10 +0000 Subject: Fixing #169. Tags are ignored during config. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1259 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/config.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/puppet') 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. -- cgit