Sha256: 730eef2c7d9b765f5ed07d205f471b078bee5a08d2db8e2e2977ba507e91a200

Contents?: true

Size: 215 Bytes

Versions: 112

Compression:

Stored size: 215 Bytes

Contents

module Serverspec
  module Type
    class Yumrepo < Base
      def exists?
        backend.check_yumrepo(@name)
      end

      def enabled?
        backend.check_yumrepo_enabled(@name)
      end
    end
  end
end

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
serverspec-1.16.0 lib/serverspec/type/yumrepo.rb
serverspec-1.15.0 lib/serverspec/type/yumrepo.rb
serverspec-1.14.0 lib/serverspec/type/yumrepo.rb
serverspec-1.13.0 lib/serverspec/type/yumrepo.rb
serverspec-1.12.0 lib/serverspec/type/yumrepo.rb
serverspec-1.11.0 lib/serverspec/type/yumrepo.rb
serverspec-1.10.0 lib/serverspec/type/yumrepo.rb
serverspec-1.9.1 lib/serverspec/type/yumrepo.rb
serverspec-1.9.0 lib/serverspec/type/yumrepo.rb
serverspec-1.8.0 lib/serverspec/type/yumrepo.rb
serverspec-1.7.1 lib/serverspec/type/yumrepo.rb
serverspec-1.7.0 lib/serverspec/type/yumrepo.rb
serverspec-1.6.0 lib/serverspec/type/yumrepo.rb
serverspec-1.5.0 lib/serverspec/type/yumrepo.rb
serverspec-2.0.0.beta2 lib/serverspec/type/yumrepo.rb
serverspec-1.4.2 lib/serverspec/type/yumrepo.rb
serverspec-2.0.0.beta1 lib/serverspec/type/yumrepo.rb
serverspec-1.4.1 lib/serverspec/type/yumrepo.rb
serverspec-1.4.0 lib/serverspec/type/yumrepo.rb
serverspec-1.3.0 lib/serverspec/type/yumrepo.rb