Sha256: 21b88366e7d6d281f263dd7d7e29dbff6c85811181481bf227743c72572df905
Contents?: true
Size: 533 Bytes
Versions: 169
Compression:
Stored size: 533 Bytes
Contents
class Specinfra::Command::Cumulusnetworks::Base::Ppa < Specinfra::Command::Debian::Base::Ppa class << self def check_exists(package) %Q{find /etc/apt/ -name \*.list | xargs grep -o "deb +http://repo.cumulusnetworks.com/#{to_apt_line_uri(package)}"} end 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 private def to_apt_line_uri(repo) escape(repo.gsub(/^ppa:/,'')) end end end
Version data entries
169 entries across 169 versions & 3 rubygems