Sha256: 12bfe788795e49247c6e6793bfaf7bc56ad1ed46d68e85aec0e64009e95f32d3
Contents?: true
Size: 377 Bytes
Versions: 109
Compression:
Stored size: 377 Bytes
Contents
class Specinfra::Command::Redhat::Base::Yumrepo < Specinfra::Command::Linux::Base::Yumrepo class << self def check_exists(repository) "yum repolist all -C | grep -qsE \"^[\\!\\*]?#{escape(repository)}\(\\s\|$\|\\/)\"" end def check_is_enabled(repository) "yum repolist enabled -C | grep -qs \"^[\\!\\*]\\?#{escape(repository)}\"" end end end
Version data entries
109 entries across 109 versions & 1 rubygems