Class: Inspec::Resources::PpaRepository
Instance Method Summary
collapse
#initialize, #to_s
Instance Method Details
#deprecated ⇒ Object
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
138
139
140
141
|
# File 'lib/resources/apt.rb', line 138
def enabled?
deprecated
super()
end
|
#exists? ⇒ Boolean
133
134
135
136
|
# File 'lib/resources/apt.rb', line 133
def exists?
deprecated
super()
end
|