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