Skip to content

Commit

Permalink
(maint) Ignore os.release.major related fact diffs on Window 11
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcooper committed Jun 27, 2022
1 parent 46c09b6 commit aa6e458
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@

agents.each do |agent|
exclude_list += ['macosx_productversion.*', 'os.macosx.version'] if agent.platform =~ /^osx-1[1-9]/
# FACT-3039 was only fixed in facter 4
exclude_list += %w[
operatingsystemrelease
operatingsystemmajrelease
os.release.full
os.release.major
] if agent.platform =~ /windows-11/

step 'run puppet facts diff ' do
on agent, puppet('facts diff') do
Expand Down

0 comments on commit aa6e458

Please sign in to comment.