Class: Inspec::Resources::PpaRepository

Inherits:
AptRepository show all
Defined in:
lib/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



143
144
145
# File 'lib/resources/apt.rb', line 143

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

#enabled?Boolean

Returns:

  • (Boolean)


138
139
140
141
# File 'lib/resources/apt.rb', line 138

def enabled?
  deprecated
  super()
end

#exists?Boolean

Returns:

  • (Boolean)


133
134
135
136
# File 'lib/resources/apt.rb', line 133

def exists?
  deprecated
  super()
end