OP#410 fix basic errrors

This commit is contained in:
2026-02-03 01:15:33 +01:00
parent 768f98cb09
commit e93cf3c795
4 changed files with 5 additions and 53 deletions

View File

@@ -4,8 +4,7 @@
# @summary This class holds all parameters for the confdroid_apache module, which are
# inherited by all classes except defines.
# @param [String] pkg_ensure Specify which
# [package type] (https://confdroid.com/2017/05/puppet-type-package/)
# to use, i.e. `latest`, `present` or `absent`.
# package type to use, i.e. `latest`, `present` or `absent`.
# @param [Boolean] ae_manage_user Whether or not to manage details for the
# httpd service user. This is generally only required when using httpd on
# a number of servers sharing storage resources, i.e. NFS, where UID and GID
@@ -42,22 +41,13 @@
# @param [String] ae_https_port the port to use for the https protocol
# @param [String] ae_target_service which service to monitor with nagios
# @param [Boolean] ae_manage_fw whether to manage firewall settings
# @param [String] reqpackages List of packages to install.
# @param [Array] reqpackages List of packages to install.
###########################################################################
class confdroid_apache::params (
# installation
String $pkg_ensure = 'latest',
String $reqpackages = ['httpd','mod_ssl'],
Boolean $ae_manage_user = false,
String $ae_user_name = 'apache',
String $ae_user_uid = '48',
String $ae_u_comment = 'Apache',
String $ae_u_groups = undef,
String $ae_user_home = '/usr/share/httpd',
String $ae_user_shell = '/bin/false',
String $pkg_ensure = 'present',
Array $reqpackages = ['httpd','mod_ssl'],
# configuration files
Boolean $ae_manage_cfg = false,