diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-02-23 02:15:59 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-02-23 02:15:59 +0000 |
commit | 82e02eb53f99fa59d6ea7ba2b3ac35b6ef1ee64a (patch) | |
tree | 7f452e6d7780c2c52b84c776bd34f4065efaf8d9 | |
parent | 31df227490178517d8c47ff640a15c0712f9acf9 (diff) | |
download | puppet-82e02eb53f99fa59d6ea7ba2b3ac35b6ef1ee64a.tar.gz puppet-82e02eb53f99fa59d6ea7ba2b3ac35b6ef1ee64a.tar.xz puppet-82e02eb53f99fa59d6ea7ba2b3ac35b6ef1ee64a.zip |
Fixing bug when creating containers with parents
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@929 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r-- | lib/puppet/transportable.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/puppet/transportable.rb b/lib/puppet/transportable.rb index 4bc54e4b8..1cbf2f3ba 100644 --- a/lib/puppet/transportable.rb +++ b/lib/puppet/transportable.rb @@ -184,11 +184,13 @@ module Puppet else #Puppet.debug "%s[%s] has no parameters" % [@type, @name] end + container = Puppet.type(:component).create(trans) if parent - trans[:parent] = parent + container.parent = parent + #Puppet.warning "parent is of type %s" % parent.class + #trans[:parent] = parent end - container = Puppet.type(:component).create(trans) else hash = { :name => @name, |