summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael V. O'Brien <michael@reductivelabs.com>2007-09-25 12:37:36 -0500
committerMichael V. O'Brien <michael@reductivelabs.com>2007-09-25 12:37:36 -0500
commitdf1879b814c25cd3564abaa3064e0cdd6ef50eb4 (patch)
treec8f50d56b64d4f20ed57e5a0c6c368359dd8a51a
parent06ad6a375080ccbc38e8adc73b8bd91fa7a819fc (diff)
parentab1b0344da8faf8d94a363ba4a64e0238845828a (diff)
downloadpuppet-df1879b814c25cd3564abaa3064e0cdd6ef50eb4.tar.gz
puppet-df1879b814c25cd3564abaa3064e0cdd6ef50eb4.tar.xz
puppet-df1879b814c25cd3564abaa3064e0cdd6ef50eb4.zip
Merge branch 'master' of git://reductivelabs.com/puppet
-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