summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-09-25 14:11:14 -0500
committerLuke Kanies <luke@madstop.com>2007-09-25 14:11:14 -0500
commit8ec60118684fc32b65ce70ccfc009e07b7e6a3cd (patch)
treef6e2b1adcbefb25672ef7cc8b9070d654978dac0 /bin
parent2e3306143b1f58765f48911ba433a119de323b84 (diff)
parentab1b0344da8faf8d94a363ba4a64e0238845828a (diff)
Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppet into indirection
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ralsh7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/ralsh b/bin/ralsh
index 7bf0bd3d7..e4df0f0e1 100755
--- a/bin/ralsh
+++ b/bin/ralsh
@@ -228,11 +228,10 @@ else
params.each do |param, value|
obj[param] = value
end
- comp = Puppet::Type.type(:component).create(:name => "ralsh")
- comp.push(obj)
- transaction = comp.evaluate
+ config = Puppet::Node::Configuration.new
+ config.add_resource obj
begin
- transaction.evaluate
+ config.apply
rescue => detail
if Puppet[:trace]
puts detail.backtrace