Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(site/dev) rm rsyslog -> opensearch #1116

Merged
merged 1 commit into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions hieradata/site/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,6 @@ rsyslog::config::actions:
StreamDriver: "ossl"
StreamDriverMode: "1"
StreamDriverAuthMode: "anon"
opensearch:
type: "omelasticsearch"
facility: "*.*"
config:
server: "opensearch.ayekan.dev.lsst.org"
serverport: 443
usehttps: "on"
allowunsignedcerts: "on" # off for prod
searchIndex: "rsyslog-hosts"
bulkmode: "on"
maxbytes: "100m"
queue.type: "linkedlist"
queue.size: "5000"
queue.dequeuebatchsize: "300"
action.resumeretrycount: "-1"
# The following keys are shared between the `dhcp` and `resolv_conf` classes:
# - dhcp::dnsdomain
# - dhcp::nameservers
Expand Down
20 changes: 0 additions & 20 deletions spec/support/spec/rsyslog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,26 +118,6 @@
},
)
end

it do
is_expected.to contain_rsyslog__component__action('opensearch').with(
type: 'omelasticsearch',
facility: '*.*',
config: {
'server' => 'opensearch.ayekan.dev.lsst.org',
'serverport' => 443,
'allowunsignedcerts' => 'on',
'usehttps' => 'on',
'searchIndex' => 'rsyslog-hosts',
'bulkmode' => 'on',
'maxbytes' => '100m',
'queue.type' => 'linkedlist',
'queue.size' => '5000',
'queue.dequeuebatchsize' => '300',
'action.resumeretrycount' => '-1',
},
)
end
when 'tu'
it do
is_expected.to contain_rsyslog__component__action('graylogtu').with(
Expand Down
Loading