Skip to content

Commit eb16100

Browse files
Sean P. McDonaldcaseywilliams
Sean P. McDonald
authored andcommitted
(maint) Fix typo
There was a typo in a regex check.
1 parent b50f7ec commit eb16100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configs/components/puppet-ca-bundle.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# Include the keystore for the agent if the agent has a java
2020
if settings[:runtime_project] == 'agent'
21-
if platform.name ~= /el-(6|7)|sles-(11|12)|debian-(7|8|9)|ubuntu-(14|15|16)/
21+
if platform.name =~ /el-(6|7)|sles-(11|12)|debian-(7|8|9)|ubuntu-(14|15|16)/
2222
install_commands << "#{platform[:make]} keystore OPENSSL=#{openssl_cmd} DESTDIR=#{File.join(settings[:prefix], 'ssl')}"
2323
end
2424
end

0 commit comments

Comments
 (0)