Sha256: d57f76471aa90a1540dfea3d2e087891ab2ccf82d7f4d9790011ee8c1f0964b1

Contents?: true

Size: 337 Bytes

Versions: 130

Compression:

Stored size: 337 Bytes

Contents

class Specinfra::Command::Redhat::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 all -C | grep ^#{escape(repository)} | grep enabled"
    end
  end
end


Version data entries

130 entries across 130 versions & 1 rubygems

Version Path
specinfra-2.28.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.27.1 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.27.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.26.1 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.26.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.25.1 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.25.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.24.2 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.24.1 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.24.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.23.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.22.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.21.1 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.21.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.20.2 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.20.1 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.20.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.19.6 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.19.5 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.19.4 lib/specinfra/command/redhat/base/yumrepo.rb