Sha256: c80638a7fa7e15b8c0e46cd06c88a6f30b67bed2e0a5eb2d163b94943be4b8f0

Contents?: true

Size: 438 Bytes

Versions: 74

Compression:

Stored size: 438 Bytes

Contents

require 'puppet/provider/confine_collection'

module Puppet::Provider::Confiner
  def confine(hash)
    confine_collection.confine(hash)
  end

  def confine_collection
    @confine_collection ||= Puppet::Provider::ConfineCollection.new(self.to_s)
  end

  # Check whether this implementation is suitable for our platform.
  def suitable?(short = true)
    return(short ? confine_collection.valid? : confine_collection.summary)
  end
end

Version data entries

74 entries across 74 versions & 4 rubygems

Version Path
puppet-2.7.20 lib/puppet/provider/confiner.rb
puppet-2.7.20.rc1 lib/puppet/provider/confiner.rb
puppet-3.0.1 lib/puppet/provider/confiner.rb
puppet-3.0.1.rc1 lib/puppet/provider/confiner.rb
puppet-3.0.0 lib/puppet/provider/confiner.rb
puppet-3.0.0.rc8 lib/puppet/provider/confiner.rb
puppet-3.0.0.rc7 lib/puppet/provider/confiner.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/puppet-2.7.18/lib/puppet/provider/confiner.rb
puppet-3.0.0.rc5 lib/puppet/provider/confiner.rb
puppet-3.0.0.rc4 lib/puppet/provider/confiner.rb
puppet-2.7.19 lib/puppet/provider/confiner.rb
supply_drop-0.11.0 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/provider/confiner.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/puppet-2.7.18/lib/puppet/provider/confiner.rb
supply_drop-0.10.2 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/provider/confiner.rb
puppet-2.7.18 lib/puppet/provider/confiner.rb
puppet-2.6.17 lib/puppet/provider/confiner.rb
supply_drop-0.10.1 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/provider/confiner.rb
supply_drop-0.10.0 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/provider/confiner.rb
puppet-2.7.17 lib/puppet/provider/confiner.rb
puppet-2.7.16 lib/puppet/provider/confiner.rb