Sha256: e1878c397723a1fc7940d7e2a550198809cf89e9f82e825e988ac8252a0d10c1

Contents?: true

Size: 370 Bytes

Versions: 39

Compression:

Stored size: 370 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'redhat', :release => '8'

describe get_command(:check_yumrepo_exists, 'epel') do
  it { should eq "dnf repolist all | grep -qsE \"^[\\!\\*]?epel\(\\s\|$\|\\/)\"" }
end

describe get_command(:check_yumrepo_is_enabled, 'epel') do
  it { should eq "dnf repolist enabled | grep -qs \"^[\\!\\*]\\?epel\"" }
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
specinfra-2.82.25 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.24 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.23 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.22 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.21 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.20 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.19 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.18 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.17 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.16 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.15 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.14 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.13 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.12 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.11 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.10 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.9 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.8 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.82.7 spec/command/redhat8/yumrepo_spec.rb