summaryrefslogtreecommitdiffstats
path: root/lib/puppet/server
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-11 20:44:38 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-11 20:44:38 +0000
commite287d1e1f1f4ff912ad8c049f8abe44d085011fa (patch)
tree65f7cc668024b3da308732e4bec95dfb71695372 /lib/puppet/server
parent37a059be9538bc90e09a17a45573fc44da6861b4 (diff)
downloadpuppet-e287d1e1f1f4ff912ad8c049f8abe44d085011fa.tar.gz
puppet-e287d1e1f1f4ff912ad8c049f8abe44d085011fa.tar.xz
puppet-e287d1e1f1f4ff912ad8c049f8abe44d085011fa.zip
Almost all tests now pass. I have basically reached the point where I was before I integrated graphing, except that all of the relationship handling is now inside the transaction, and any kind of recursion (including file) is *tons* easier to model and manage.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1905 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/server')
-rwxr-xr-xlib/puppet/server/pelement.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/server/pelement.rb b/lib/puppet/server/pelement.rb
index 3001cd9a1..0c9537957 100755
--- a/lib/puppet/server/pelement.rb
+++ b/lib/puppet/server/pelement.rb
@@ -40,6 +40,9 @@ class Server::PElement < Server::Handler
# And then apply the configuration. This way we're reusing all
# the code in there. It should probably just be separated out, though.
transaction = client.apply
+
+ # And then clean up
+ component.remove
# It'd be nice to return some kind of report, but... at this point
# we have no such facility.