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