Sha256: 468c3b57de8c8f25aa5c1c1365774e32c574e512f8c9de682dea879213d1c1e8

Contents?: true

Size: 373 Bytes

Versions: 15

Compression:

Stored size: 373 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'amazon', :release => '2022'

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

15 entries across 15 versions & 1 rubygems

Version Path
specinfra-2.91.0 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.90.1 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.90.0 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.89.0 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.88.2 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.88.1 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.88.0 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.87.2 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.87.1 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.87.0 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.86.0 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.85.1 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.85.0 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.84.1 spec/command/amazon2022/yumrepo_spec.rb
specinfra-2.84.0 spec/command/amazon2022/yumrepo_spec.rb