Skip to content

Commit

Permalink
Merge pull request #614 from lsst-it/IT-3057/fix-yum-versionlock-clean
Browse files Browse the repository at this point in the history
(common) fix setting of yum::plugin::versionlock::clean param
  • Loading branch information
jhoblitt committed Jul 29, 2022
2 parents 926b68b + 3a7b486 commit 995338d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions hieradata/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,7 @@ rsyslog::config::actions:
config:
file: "-/var/log/boot.log"

yum::plugin::versionlock:
# trigger `yum clean all`
clean: true
yum::plugin::versionlock::clean: true # trigger `yum clean all`

letsencrypt::email: "rubinobs-it-las@lsst.org"
profile::icinga::agent::host_template: "GeneralHostTemplate"
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def node_files
include_examples 'krb5.conf content', %r{default_ccache_name = FILE:/tmp/krb5cc_%{uid}}
include_examples 'krb5.conf content', %r{udp_preference_limit = 0}
end

it { is_expected.to contain_class('yum::plugin::versionlock').with_clean(true) }
end

shared_examples 'lhn sysctls', :lhn_node do
Expand Down

0 comments on commit 995338d

Please sign in to comment.