Skip to content

Commit

Permalink
Add different rsyslog base packages
Browse files Browse the repository at this point in the history
On RedHat, it's named "iproute" but
on Debian based systems it's named "iproute2"
  • Loading branch information
Fritz Patrick (IFAG IT OS DC UX EA) authored and Fritz Patrick (IFAG IT OS DC UX EA) committed Feb 17, 2025
1 parent c4a62dd commit 91e3825
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
7 changes: 7 additions & 0 deletions roles/rsyslog/vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# __rsyslog_base_packages
#
# List of default rpm packages to install.
# NOTE: iproute2 is needed for the ip command which
# is needed for the default_ipv4 fact
# package is named iproute2 for Debian/Ubuntu systems
__rsyslog_base_packages: ['iproute2', 'rsyslog']
6 changes: 6 additions & 0 deletions roles/rsyslog/vars/RedHat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# __rsyslog_base_packages
#
# List of default rpm packages to install.
# NOTE: iproute is needed for the ip command which
# is needed for the default_ipv4 fact
__rsyslog_base_packages: ['iproute', 'rsyslog']
7 changes: 0 additions & 7 deletions roles/rsyslog/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-only
---
# __rsyslog_base_packages
#
# List of default rpm packages to install.
# NOTE: iproute is needed for the ip command which
# is needed for the default_ipv4 fact
__rsyslog_base_packages: ['iproute', 'rsyslog']

# rsyslog configuration directory
__rsyslog_config_dir: /etc/rsyslog.d

Expand Down

0 comments on commit 91e3825

Please sign in to comment.