summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-11-26 00:44:47 -0600
committerJames Turnbull <james@lovedthanlost.net>2008-11-26 20:30:40 +1100
commit5742966d79206cb5f26cc61c20b065df876f540e (patch)
treee4bf649fc90a56e4872521ac5fd499ca0763c800 /lib/puppet
parent31ec3e64f3acaec36f3bddc6078f6ddd0d7efbf7 (diff)
downloadpuppet-5742966d79206cb5f26cc61c20b065df876f540e.tar.gz
puppet-5742966d79206cb5f26cc61c20b065df876f540e.tar.xz
puppet-5742966d79206cb5f26cc61c20b065df876f540e.zip
Fixing #1743 - defined types get catalogs too.
I wasn't adding the catalog to the defined types when creating the transportable objects. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/transportable.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/transportable.rb b/lib/puppet/transportable.rb
index d203b5928..41c51fde6 100644
--- a/lib/puppet/transportable.rb
+++ b/lib/puppet/transportable.rb
@@ -53,6 +53,7 @@ module Puppet
Puppet.debug "Defining %s on %s" % [param, ref]
trans[param] = value
}
+ trans.catalog = self.catalog
Puppet::Type::Component.create(trans)
end