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.2.0 lib/serverspec/type/yumrepo.rb
serverspec-1.1.0 lib/serverspec/type/yumrepo.rb
serverspec-1.0.0 lib/serverspec/type/yumrepo.rb
serverspec-0.16.0 lib/serverspec/type/yumrepo.rb
serverspec-0.15.5 lib/serverspec/type/yumrepo.rb
serverspec-0.15.4 lib/serverspec/type/yumrepo.rb
serverspec-0.15.3 lib/serverspec/type/yumrepo.rb
serverspec-0.15.2 lib/serverspec/type/yumrepo.rb
serverspec-0.15.1 lib/serverspec/type/yumrepo.rb
serverspec-0.15.0 lib/serverspec/type/yumrepo.rb
serverspec-0.14.4 lib/serverspec/type/yumrepo.rb
serverspec-0.14.3 lib/serverspec/type/yumrepo.rb
serverspec-0.14.2 lib/serverspec/type/yumrepo.rb
serverspec-0.14.1 lib/serverspec/type/yumrepo.rb
serverspec-0.14.0 lib/serverspec/type/yumrepo.rb
serverspec-0.13.7 lib/serverspec/type/yumrepo.rb
serverspec-0.13.6 lib/serverspec/type/yumrepo.rb
serverspec-0.13.5 lib/serverspec/type/yumrepo.rb
serverspec-0.13.4 lib/serverspec/type/yumrepo.rb
serverspec-0.13.3 lib/serverspec/type/yumrepo.rb