Skip to content

Commit

Permalink
Merge pull request #1153 from lsst-it/IT-5176/rsyslog-ruka
Browse files Browse the repository at this point in the history
(site/dev) add ruka as a log destination
  • Loading branch information
jhoblitt authored May 15, 2024
2 parents 7d06fc5 + 09c714d commit 85a871a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hieradata/site/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ rsyslog::config::actions:
StreamDriver: "ossl"
StreamDriverMode: "1"
StreamDriverAuthMode: "anon"
fluentbit_ruka:
type: "omfwd"
facility: "*.*"
config:
target: "rsyslog.fluent.ruka.dev.lsst.org"
port: 5140
protocol: "tcp"
StreamDriver: "ossl"
StreamDriverMode: "1"
StreamDriverAuthMode: "anon"
# The following keys are shared between the `dhcp` and `resolv_conf` classes:
# - dhcp::dnsdomain
# - dhcp::nameservers
Expand Down
15 changes: 15 additions & 0 deletions spec/support/spec/rsyslog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,21 @@
},
)
end

it do
is_expected.to contain_rsyslog__component__action('fluentbit_ruka').with(
type: 'omfwd',
facility: '*.*',
config: {
'target' => 'rsyslog.fluent.ruka.dev.lsst.org',
'port' => '5140',
'protocol' => 'tcp',
'StreamDriver' => 'ossl',
'StreamDriverMode' => '1',
'StreamDriverAuthMode' => 'anon',
},
)
end
when 'tu'
it do
is_expected.to contain_rsyslog__component__action('graylogtu').with(
Expand Down

0 comments on commit 85a871a

Please sign in to comment.