Method: Specinfra::Command::Cumuluslinux::Base::Ppa.check_is_enabled

Defined in:
lib/specinfra/command/cumulus/base/ppa.rb

.check_is_enabled(package) ⇒ Object


7
8
9
# File 'lib/specinfra/command/cumulus/base/ppa.rb', line 7

def check_is_enabled(package)
  %Q{find /etc/apt/ -name \*.list | xargs grep -o "^deb +http://repo.cumulusnetworks.com/#{to_apt_line_uri(package)}"}
end