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.0.0.beta25 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta24 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta23 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta22 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta21 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta20 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta19 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta18 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta17 lib/specinfra/command/redhat/base/yumrepo.rb
specinfra-2.0.0.beta16 lib/specinfra/command/redhat/base/yumrepo.rb