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.3.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.2.4 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.2.3 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.2.2 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.2.1 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.2.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.1.1 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.1.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.4 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.3 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.2 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.1 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta52 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta51 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta50 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta49 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta48 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta47 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta46 lib/specinfra/command/redhat/base/yumrepo.rb