diff options
author | Luke Kanies <luke@madstop.com> | 2007-12-11 17:32:21 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-12-11 17:32:21 -0600 |
commit | 690e2872864a8a46710445ab07c7d9afa33d0afc (patch) | |
tree | db3347ad6403c124b788866946e5106bc269fb97 /lib | |
parent | f1169ee7cd05003de67070f193e70255706d95cb (diff) | |
download | puppet-690e2872864a8a46710445ab07c7d9afa33d0afc.tar.gz puppet-690e2872864a8a46710445ab07c7d9afa33d0afc.tar.xz puppet-690e2872864a8a46710445ab07c7d9afa33d0afc.zip |
This should be the last fix for exported resources.
Hosts were keeping the export bit on all resources,
even when they'd collected another host's resources,
which caused a duplicate copy that was still exported.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/parser/collector.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/parser/collector.rb b/lib/puppet/parser/collector.rb index 63eb87896..b8165a84f 100644 --- a/lib/puppet/parser/collector.rb +++ b/lib/puppet/parser/collector.rb @@ -147,6 +147,8 @@ class Puppet::Parser::Collector end resource = obj.to_resource(self.scope) + + resource.exported = false scope.compile.store_resource(scope, resource) |