diff options
| author | James Turnbull <james@lovedthanlost.net> | 2009-12-13 08:41:11 +1100 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-12-18 14:35:08 +1100 |
| commit | f5960ce2bde4af9af1af8bdf106e83d21afacb5c (patch) | |
| tree | 2c5e92b97e90e8f81f6f8ab7a266c7e09c1351ba /lib/puppet/feature | |
| parent | 2d88926b76e14c8aa105ad7b1480cee9132fc699 (diff) | |
| download | puppet-f5960ce2bde4af9af1af8bdf106e83d21afacb5c.tar.gz puppet-f5960ce2bde4af9af1af8bdf106e83d21afacb5c.tar.xz puppet-f5960ce2bde4af9af1af8bdf106e83d21afacb5c.zip | |
Closed #2937 - Migrated a number of requires to features
Diffstat (limited to 'lib/puppet/feature')
| -rw-r--r-- | lib/puppet/feature/base.rb | 3 | ||||
| -rw-r--r-- | lib/puppet/feature/selinux.rb | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/puppet/feature/base.rb b/lib/puppet/feature/base.rb index c3fb9a2f3..aac04f234 100644 --- a/lib/puppet/feature/base.rb +++ b/lib/puppet/feature/base.rb @@ -28,3 +28,6 @@ Puppet.features.add(:augeas, :libs => ["augeas"]) # We have RRD available Puppet.features.add(:rrd, :libs => ["RRDtool"]) + +# We have OpenSSL +Puppet.features.add(:openssl, :libs => ["openssl"]) diff --git a/lib/puppet/feature/selinux.rb b/lib/puppet/feature/selinux.rb new file mode 100644 index 000000000..84be239fc --- /dev/null +++ b/lib/puppet/feature/selinux.rb @@ -0,0 +1,3 @@ +require 'puppet/util/feature' + +Puppet.features.add(:selinux, :libs => ["selinux"]) |
