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.91.0 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.90.1 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.90.0 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.89.0 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.88.2 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.88.1 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.88.0 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.87.2 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.87.1 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.87.0 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.86.0 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.85.1 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.85.0 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.84.1 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.84.0 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.83.4 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.83.3 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.83.2 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.83.1 spec/command/redhat8/yumrepo_spec.rb
specinfra-2.83.0 spec/command/redhat8/yumrepo_spec.rb