Sha256: b9c725afdd4abb3e171cb339607d50fc80fbf35f8c0acce3f1c3cc19bd022760
Contents?: true
Size: 343 Bytes
Versions: 1
Compression:
Stored size: 343 Bytes
Contents
class Specinfra::Command::Ios_xr::Base::Yumrepo < Specinfra::Command::Linux::Base::Yumrepo class << self def check_exists(repository) "yum repolist all -C | grep ^#{escape(repository)}" end def check_is_enabled(repository) "yum repolist enabled -C | grep -qs \"^[\\!\\*]\\?#{escape(repository)}\"" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
specinfra-cisco-2.41.0 | lib/specinfra/command/ios_xr/base/yumrepo.rb |