Class: Serverspec::Type::Yumrepo
- Defined in:
- lib/serverspec/type/yumrepo.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Serverspec::Type::Base
Instance Method Details
#enabled? ⇒ Boolean
8 9 10 |
# File 'lib/serverspec/type/yumrepo.rb', line 8 def enabled? backend.check_yumrepo_enabled(@name) end |
#exists? ⇒ Boolean
4 5 6 |
# File 'lib/serverspec/type/yumrepo.rb', line 4 def exists? backend.check_yumrepo(@name) end |