Skip to content

Commit f823cda

Browse files
authored
(BUGFIX) Update values to correctly reflect what is expected (#508)
* (maint) Update values to correctly reflect what is expected
1 parent dd3101b commit f823cda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/classes/motd_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
ensure: 'file', backup: 'false',
4747
# The following Regex checks for the matching content in this comment and allows for two different IP values to be matched after foo.example.com. This is a workaround to ensure that PDK
4848
# integration testing passes while the MOTD unit tests dont break. The string we are looking for is:
49-
# "RedHat 9.0 x86_64\n\nFQDN: foo.example.com (172.16.254.254 OR 10.109.1.2)\nProcessor: Intel Xeon Processor (Cascadelake)\nKernel: Linux\nMemory Size: 3.10 GiB\n",
50-
content: %r{RedHat\s9\.0\sx86_64\n\nFQDN:\s*foo.example.com\s\((172\.16\.254\.254|10\.109\.1\.2)\)\nProcessor:\s*Intel\sXeon\sProcessor\s\(Cascadelake\)\nKernel:\s*Linux\nMemory\sSize:\s*3.10\sGiB}, # rubocop:disable Layout/LineLength
49+
# "RedHat 9.3 x86_64\n\nFQDN: foo.example.com (172.16.254.254 OR 10.109.1.2)\nProcessor: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz\nKernel: Linux\nMemory Size: 1.44 GiB\n",
50+
content: %r{RedHat\s9\.3\sx86_64\n\nFQDN:\s*foo\.example\.com\s\((172\.16\.254\.254|10\.109\.1\.2)\)\nProcessor:\s*Intel\(R\)\sXeon\(R\)\s*.*\nKernel:\s*Linux\nMemory\sSize:\s*1.44\sGiB},
5151
owner: 'root', group: 'root', mode: '0644'
5252
)
5353
end

0 commit comments

Comments
 (0)