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-parse-0.1.4 lib/vendor/puppet/provider/confiner.rb
puppet-parse-0.1.3 lib/vendor/puppet/provider/confiner.rb
puppet-parse-0.1.2 lib/vendor/puppet/provider/confiner.rb
puppet-parse-0.1.1 lib/vendor/puppet/provider/confiner.rb
puppet-2.7.26 lib/puppet/provider/confiner.rb
puppet-2.7.25 lib/puppet/provider/confiner.rb
puppet-2.7.24 lib/puppet/provider/confiner.rb
puppet-2.7.23 lib/puppet/provider/confiner.rb
puppet-2.7.22 lib/puppet/provider/confiner.rb
puppet-parse-0.1.0 lib/vendor/puppet/provider/confiner.rb
puppet-parse-0.0.6 lib/vendor/puppet/provider/confiner.rb
puppet-2.7.21 lib/puppet/provider/confiner.rb
puppet-2.6.18 lib/puppet/provider/confiner.rb
puppet-parse-0.0.5 lib/vendor/puppet/provider/confiner.rb
puppet-parse-0.0.4 lib/vendor/puppet/provider/confiner.rb
puppet-3.0.2 lib/puppet/provider/confiner.rb
puppet-3.0.2.rc3 lib/puppet/provider/confiner.rb
puppet-3.0.2.rc2 lib/puppet/provider/confiner.rb
puppet-3.0.2.rc1 lib/puppet/provider/confiner.rb
puppet-parse-0.0.2 lib/vendor/puppet/provider/confiner.rb