Class: Inspec::Resources::PpaRepository

Inherits:
AptRepository show all
Defined in:
lib/inspec/resources/apt.rb

Instance Method Summary collapse

Methods inherited from AptRepository

#initialize, #to_s

Constructor Details

This class inherits a constructor from Inspec::Resources::AptRepository

Instance Method Details

#deprecatedObject



145
146
147
# File 'lib/inspec/resources/apt.rb', line 145

def deprecated
  Inspec.deprecate(:resource_ppa, "The `ppa` resource is deprecated. Please use `apt`")
end

#enabled?Boolean

Returns:

  • (Boolean)


140
141
142
143
# File 'lib/inspec/resources/apt.rb', line 140

def enabled?
  deprecated
  super()
end

#exists?Boolean

Returns:

  • (Boolean)


135
136
137
138
# File 'lib/inspec/resources/apt.rb', line 135

def exists?
  deprecated
  super()
end