diff options
author | Luke Kanies <luke@madstop.com> | 2009-04-10 15:23:31 -0500 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-04-22 14:39:38 +1000 |
commit | 22ae661263b9b42c3ad4d4d6dee3d3b1d1d2e25b (patch) | |
tree | 9fecc1decba23858aed339749165ca6870e1ffdc /lib | |
parent | efe68165b382d6860e83b0bb1d1108f36fa3d2fd (diff) | |
download | puppet-22ae661263b9b42c3ad4d4d6dee3d3b1d1d2e25b.tar.gz puppet-22ae661263b9b42c3ad4d4d6dee3d3b1d1d2e25b.tar.xz puppet-22ae661263b9b42c3ad4d4d6dee3d3b1d1d2e25b.zip |
Adding "rubygems" and "stomp" features
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/feature/rubygems.rb | 6 | ||||
-rw-r--r-- | lib/puppet/feature/stomp.rb | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/puppet/feature/rubygems.rb b/lib/puppet/feature/rubygems.rb new file mode 100644 index 000000000..639524ffe --- /dev/null +++ b/lib/puppet/feature/rubygems.rb @@ -0,0 +1,6 @@ +# Created by Luke Kanies on 2006-11-07. +# Copyright (c) 2006. All rights reserved. + +require 'puppet/util/feature' + +Puppet.features.add(:rubygems, :libs => "rubygems") diff --git a/lib/puppet/feature/stomp.rb b/lib/puppet/feature/stomp.rb new file mode 100644 index 000000000..4a77c0a25 --- /dev/null +++ b/lib/puppet/feature/stomp.rb @@ -0,0 +1,6 @@ +require 'puppet/util/feature' + +# We want this to load if possible, but it's not automatically +# required. +Puppet.features.rubygems? +Puppet.features.add(:stomp, :libs => %{stomp}) |