Skip to content

Commit

Permalink
Make sbin_path operating-system dependant
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Sep 3, 2024
1 parent 08ed8b9 commit f87b942
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions data/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ syslog_ng::options:
syslog_ng::service_name: syslog-ng
syslog_ng::config_file: /etc/syslog-ng/syslog-ng.conf
syslog_ng::config_file_header: "# This file was generated by Puppet's ccin2p3-syslog_ng module"
syslog_ng::sbin_path: /usr/sbin
1 change: 1 addition & 0 deletions data/osfamily/FreeBSD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ syslog_ng::config_file: /usr/local/etc/syslog-ng.conf
syslog_ng::group: wheel
syslog_ng::package_name: syslog-ng
syslog_ng::module_prefix: ''
syslog_ng::sbin_path: /usr/local/sbin
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
String[1] $service_name,
String[0] $module_prefix,
String[1] $config_file_header,
Stdlib::Absolutepath $sbin_path,
String[1] $package_ensure = 'installed',
Optional[Stdlib::Absolutepath] $init_config_file = undef,
Hash $init_config_hash = {},
Boolean $manage_init_defaults = false,
Boolean $manage_repo = false,
Boolean $manage_package = true,
Array[String[1]] $modules = [],
Stdlib::Absolutepath $sbin_path = '/usr/sbin',
String[1] $user = 'root',
String[1] $group = 'root',
Boolean $syntax_check_before_reloads = true,
Expand Down

0 comments on commit f87b942

Please sign in to comment.