-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add EL9 support * Also avoid legacy `operatingsystemmajrelease` fact in tests
- Loading branch information
Showing
13 changed files
with
489 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
* Mon Oct 23 2023 Steven Pritchard <[email protected]> - 8.6.0 | ||
- Add EL9 support | ||
|
||
* Wed Oct 11 2023 Steven Pritchard <[email protected]> - 8.5.0 | ||
- [puppetsync] Updates for Puppet 8 | ||
- These updates may include the following: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
ruleset( | ||
name="ruleset_test_name" | ||
queue.filename="test_name_disk_queue" | ||
queue.syncqueuefiles="off" | ||
queue.type="LinkedList" | ||
queue.saveonshutdown="on" | ||
) { | ||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="1.2.3.4" | ||
port="514" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
ResendLastMSGOnReconnect="on" | ||
) | ||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="5.6.7.8" | ||
port="5678" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
ResendLastMSGOnReconnect="on" | ||
) | ||
} | ||
|
||
if (test_rule) then call ruleset_test_name |
40 changes: 40 additions & 0 deletions
40
spec/defines/rule/expected/el9/remote_tls_with_peers_undef_hostname_for_logserver.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
ruleset( | ||
name="ruleset_test_name" | ||
queue.filename="test_name_disk_queue" | ||
queue.syncqueuefiles="off" | ||
queue.type="LinkedList" | ||
queue.saveonshutdown="on" | ||
) { | ||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="logserver.my.domain" | ||
port="6514" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
StreamDriverMode="1" | ||
StreamDriverAuthMode="x509/name" | ||
StreamDriverPermittedPeers="logserver.my.domain" | ||
ResendLastMSGOnReconnect="on" | ||
) | ||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="logserver2.other.place" | ||
port="4444" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
StreamDriverMode="1" | ||
StreamDriverAuthMode="x509/name" | ||
StreamDriverPermittedPeers="logserver2.other.place" | ||
ResendLastMSGOnReconnect="on" | ||
) | ||
} | ||
|
||
if (test_rule) then call ruleset_test_name |
81 changes: 81 additions & 0 deletions
81
spec/defines/rule/expected/el9/remote_tls_with_peers_undef_hostname_for_remotes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
ruleset( | ||
name="ruleset_test_name" | ||
queue.filename="test_name_disk_queue" | ||
queue.syncqueuefiles="off" | ||
queue.type="LinkedList" | ||
queue.saveonshutdown="on" | ||
) { | ||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="logserver.my.domain" | ||
port="6514" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
StreamDriverMode="1" | ||
StreamDriverAuthMode="x509/name" | ||
StreamDriverPermittedPeers="logserver.my.domain" | ||
ResendLastMSGOnReconnect="on" | ||
) | ||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="logserver2.other.place" | ||
port="4444" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
StreamDriverMode="1" | ||
StreamDriverAuthMode="x509/name" | ||
StreamDriverPermittedPeers="logserver2.other.place" | ||
ResendLastMSGOnReconnect="on" | ||
) | ||
|
||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="failover.my.domain" | ||
port="6514" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
StreamDriverMode="1" | ||
StreamDriverAuthMode="x509/name" | ||
StreamDriverPermittedPeers="failover.my.domain" | ||
ResendLastMSGOnReconnect="on" | ||
action.resumeRetryCount="-1" | ||
action.execOnlyWhenPreviousIsSuspended="on" | ||
) | ||
|
||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="failover.other.place" | ||
port="4444" | ||
# NOTE: This must exist for the last failover host so that we can queue logs to disk when needed. | ||
queue.filename="test_name_disk_queue_action" | ||
queue.syncqueuefiles="off" | ||
queue.type="LinkedList" | ||
queue.saveonshutdown="on" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
StreamDriverMode="1" | ||
StreamDriverAuthMode="x509/name" | ||
StreamDriverPermittedPeers="failover.other.place" | ||
ResendLastMSGOnReconnect="on" | ||
action.resumeRetryCount="-1" | ||
action.execOnlyWhenPreviousIsSuspended="on" | ||
) | ||
} | ||
|
||
if (test_rule) then call ruleset_test_name |
48 changes: 48 additions & 0 deletions
48
spec/defines/rule/expected/el9/remote_tls_with_peers_undef_ip_for_failover.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
ruleset( | ||
name="ruleset_test_name" | ||
queue.filename="test_name_disk_queue" | ||
queue.syncqueuefiles="off" | ||
queue.type="LinkedList" | ||
queue.saveonshutdown="on" | ||
) { | ||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="logserver1.my.domain" | ||
port="6514" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
StreamDriverMode="1" | ||
StreamDriverAuthMode="x509/name" | ||
StreamDriverPermittedPeers="*.example.com" | ||
ResendLastMSGOnReconnect="on" | ||
) | ||
|
||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="1.2.3.4" | ||
port="6514" | ||
# NOTE: This must exist for the last failover host so that we can queue logs to disk when needed. | ||
queue.filename="test_name_disk_queue_action" | ||
queue.syncqueuefiles="off" | ||
queue.type="LinkedList" | ||
queue.saveonshutdown="on" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
StreamDriverMode="1" | ||
StreamDriverAuthMode="x509/name" | ||
StreamDriverPermittedPeers="*.example.com" | ||
ResendLastMSGOnReconnect="on" | ||
action.resumeRetryCount="-1" | ||
action.execOnlyWhenPreviousIsSuspended="on" | ||
) | ||
} | ||
|
||
if (test_rule) then call ruleset_test_name |
25 changes: 25 additions & 0 deletions
25
spec/defines/rule/expected/el9/remote_tls_with_peers_undef_ip_for_logserver.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
ruleset( | ||
name="ruleset_test_name" | ||
queue.filename="test_name_disk_queue" | ||
queue.syncqueuefiles="off" | ||
queue.type="LinkedList" | ||
queue.saveonshutdown="on" | ||
) { | ||
action( | ||
type="omfwd" | ||
protocol="tcp" | ||
target="1.2.3.4" | ||
port="6514" | ||
TCP_Framing="traditional" | ||
ZipLevel="0" | ||
maxErrorMessages="5" | ||
compression.mode="none" | ||
compression.stream.flushOnTXEnd="on" | ||
StreamDriverMode="1" | ||
StreamDriverAuthMode="x509/name" | ||
StreamDriverPermittedPeers="*.example.com" | ||
ResendLastMSGOnReconnect="on" | ||
) | ||
} | ||
|
||
if (test_rule) then call ruleset_test_name |
Oops, something went wrong.