Sha256: 60b51d5f165482bc1f75a3f5c2fe04f92d5fa8744705f0fded124bb3a53505f1

Contents?: true

Size: 203 Bytes

Versions: 16

Compression:

Stored size: 203 Bytes

Contents

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
serverspec-1.16.0 lib/serverspec/type/ppa.rb
serverspec-1.15.0 lib/serverspec/type/ppa.rb
serverspec-1.14.0 lib/serverspec/type/ppa.rb
serverspec-1.13.0 lib/serverspec/type/ppa.rb
serverspec-1.12.0 lib/serverspec/type/ppa.rb
serverspec-1.11.0 lib/serverspec/type/ppa.rb
serverspec-1.10.0 lib/serverspec/type/ppa.rb
serverspec-2.0.0.beta8 lib/serverspec/type/ppa.rb
serverspec-2.0.0.beta7 lib/serverspec/type/ppa.rb
serverspec-1.9.1 lib/serverspec/type/ppa.rb
serverspec-1.9.0 lib/serverspec/type/ppa.rb
serverspec-1.8.0 lib/serverspec/type/ppa.rb
serverspec-2.0.0.beta6 lib/serverspec/type/ppa.rb
serverspec-1.7.1 lib/serverspec/type/ppa.rb
serverspec-2.0.0.beta5 lib/serverspec/type/ppa.rb
serverspec-1.7.0 lib/serverspec/type/ppa.rb