Sha256: 71d5fcb1f75af30f6eb888caa0662032701ddfa71a24bdebaacaa104677892e6

Contents?: true

Size: 997 Bytes

Versions: 4

Compression:

Stored size: 997 Bytes

Contents

#  Created by Luke Kanies on 2006-04-30.
#  Copyright (c) 2006. All rights reserved.

require 'puppet/util/feature'

# Add the simple features, all in one file.

# We've got LDAP available.
Puppet.features.add(:ldap, :libs => ["ldap"])

# We have the Rdoc::Usage library.
Puppet.features.add(:usage, :libs => %w{rdoc/ri/ri_paths rdoc/usage})

# We have libshadow, useful for managing passwords.
Puppet.features.add(:libshadow, :libs => ["shadow"])

# We're running as root.
Puppet.features.add(:root) { require 'puppet/util/suidmanager'; Puppet::Util::SUIDManager.uid == 0 }

# We've got mongrel available
Puppet.features.add(:mongrel, :libs => %w{rubygems mongrel puppet/network/http_server/mongrel})

# We have lcs diff
Puppet.features.add :diff, :libs => %w{diff/lcs diff/lcs/hunk}

# We have augeas
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"])

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-0.25.5 lib/puppet/feature/base.rb
puppet-0.25.4 lib/puppet/feature/base.rb
puppet-0.25.3 lib/puppet/feature/base.rb
puppet-0.25.2 lib/puppet/feature/base.rb