Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-cat-9) Update code to match syntax standard, part 2
Code now compliant with the following rules: - parameter_documentation - parameter_types
- Loading branch information
1 parent
08f7a48
commit ae56cc9
Showing
66 changed files
with
1,075 additions
and
895 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
--relative | ||
--no-parameter_types-check | ||
--no-parameter_documentation-check | ||
--no-anchor_resource-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -461,92 +461,92 @@ | |
# Specifies any idditional Internet media (mime) types that you wish to be configured. | ||
# | ||
class apache ( | ||
$apache_name = $apache::params::apache_name, | ||
$service_name = $apache::params::service_name, | ||
$default_mods = true, | ||
String $apache_name = $apache::params::apache_name, | ||
String $service_name = $apache::params::service_name, | ||
Variant[Array,Boolean] $default_mods = true, | ||
Boolean $default_vhost = true, | ||
$default_charset = undef, | ||
Optional[String] $default_charset = undef, | ||
Boolean $default_confd_files = true, | ||
Boolean $default_ssl_vhost = false, | ||
$default_ssl_cert = $apache::params::default_ssl_cert, | ||
$default_ssl_key = $apache::params::default_ssl_key, | ||
$default_ssl_chain = undef, | ||
$default_ssl_ca = undef, | ||
$default_ssl_crl_path = undef, | ||
$default_ssl_crl = undef, | ||
$default_ssl_crl_check = undef, | ||
String $default_ssl_cert = $apache::params::default_ssl_cert, | ||
String $default_ssl_key = $apache::params::default_ssl_key, | ||
Optional[String] $default_ssl_chain = undef, | ||
Optional[String] $default_ssl_ca = undef, | ||
Optional[String] $default_ssl_crl_path = undef, | ||
Optional[String] $default_ssl_crl = undef, | ||
Optional[String] $default_ssl_crl_check = undef, | ||
Boolean $default_ssl_reload_on_change = false, | ||
$default_type = 'none', | ||
$dev_packages = $apache::params::dev_packages, | ||
$ip = undef, | ||
String $default_type = 'none', | ||
Optional[Variant[Array,String]] $dev_packages = $apache::params::dev_packages, | ||
Optional[String] $ip = undef, | ||
Boolean $service_enable = true, | ||
Boolean $service_manage = true, | ||
$service_ensure = 'running', | ||
$service_restart = undef, | ||
$purge_configs = true, | ||
$purge_vhost_dir = undef, | ||
$purge_vdir = false, | ||
$serveradmin = 'root@localhost', | ||
Variant[Boolean,String] $service_ensure = 'running', | ||
Optional[String] $service_restart = undef, | ||
Boolean $purge_configs = true, | ||
Optional[Boolean] $purge_vhost_dir = undef, | ||
Boolean $purge_vdir = false, | ||
String $serveradmin = 'root@localhost', | ||
Enum['On', 'Off', 'on', 'off'] $sendfile = 'On', | ||
$ldap_verify_server_cert = undef, | ||
$ldap_trusted_mode = undef, | ||
$error_documents = false, | ||
$timeout = '60', | ||
$httpd_dir = $apache::params::httpd_dir, | ||
$server_root = $apache::params::server_root, | ||
$conf_dir = $apache::params::conf_dir, | ||
$confd_dir = $apache::params::confd_dir, | ||
Optional[Enum['On', 'Off', 'on', 'off']] $ldap_verify_server_cert = undef, | ||
Optional[String] $ldap_trusted_mode = undef, | ||
Boolean $error_documents = false, | ||
String $timeout = '60', | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
david22swan
Author
Member
|
||
String $httpd_dir = $apache::params::httpd_dir, | ||
String $server_root = $apache::params::server_root, | ||
String $conf_dir = $apache::params::conf_dir, | ||
String $confd_dir = $apache::params::confd_dir, | ||
Enum['Off', 'On', 'Double', 'off', 'on', 'double'] $hostname_lookups = $apache::params::hostname_lookups, | ||
$conf_enabled = $apache::params::conf_enabled, | ||
$vhost_dir = $apache::params::vhost_dir, | ||
$vhost_enable_dir = $apache::params::vhost_enable_dir, | ||
$mod_libs = $apache::params::mod_libs, | ||
$mod_packages = $apache::params::mod_packages, | ||
$vhost_include_pattern = $apache::params::vhost_include_pattern, | ||
$mod_dir = $apache::params::mod_dir, | ||
$mod_enable_dir = $apache::params::mod_enable_dir, | ||
$mpm_module = $apache::params::mpm_module, | ||
$lib_path = $apache::params::lib_path, | ||
$conf_template = $apache::params::conf_template, | ||
$servername = $apache::params::servername, | ||
$pidfile = $apache::params::pidfile, | ||
Optional[String] $conf_enabled = $apache::params::conf_enabled, | ||
String $vhost_dir = $apache::params::vhost_dir, | ||
Optional[String] $vhost_enable_dir = $apache::params::vhost_enable_dir, | ||
Hash $mod_libs = $apache::params::mod_libs, | ||
Hash $mod_packages = $apache::params::mod_packages, | ||
String $vhost_include_pattern = $apache::params::vhost_include_pattern, | ||
String $mod_dir = $apache::params::mod_dir, | ||
Optional[String] $mod_enable_dir = $apache::params::mod_enable_dir, | ||
Variant[Boolean,String] $mpm_module = $apache::params::mpm_module, | ||
String $lib_path = $apache::params::lib_path, | ||
String $conf_template = $apache::params::conf_template, | ||
Optional[String] $servername = $apache::params::servername, | ||
String $pidfile = $apache::params::pidfile, | ||
Optional[Stdlib::Absolutepath] $rewrite_lock = undef, | ||
Boolean $manage_user = true, | ||
Boolean $manage_group = true, | ||
$user = $apache::params::user, | ||
$group = $apache::params::group, | ||
$http_protocol_options = $apache::params::http_protocol_options, | ||
$supplementary_groups = [], | ||
$keepalive = $apache::params::keepalive, | ||
$keepalive_timeout = $apache::params::keepalive_timeout, | ||
$max_keepalive_requests = $apache::params::max_keepalive_requests, | ||
$limitreqfieldsize = '8190', | ||
$limitreqfields = '100', | ||
$logroot = $apache::params::logroot, | ||
$logroot_mode = $apache::params::logroot_mode, | ||
String $user = $apache::params::user, | ||
String $group = $apache::params::group, | ||
Optional[String] $http_protocol_options = $apache::params::http_protocol_options, | ||
Array $supplementary_groups = [], | ||
String $keepalive = $apache::params::keepalive, | ||
Variant[Integer,String] $keepalive_timeout = $apache::params::keepalive_timeout, | ||
Variant[Integer,String] $max_keepalive_requests = $apache::params::max_keepalive_requests, | ||
String $limitreqfieldsize = '8190', | ||
String $limitreqfields = '100', | ||
String $logroot = $apache::params::logroot, | ||
Optional[String] $logroot_mode = $apache::params::logroot_mode, | ||
Apache::LogLevel $log_level = $apache::params::log_level, | ||
$log_formats = {}, | ||
$ssl_file = undef, | ||
$ports_file = $apache::params::ports_file, | ||
$docroot = $apache::params::docroot, | ||
$apache_version = $apache::version::default, | ||
$server_tokens = 'Prod', | ||
$server_signature = 'On', | ||
$trace_enable = 'On', | ||
Hash $log_formats = {}, | ||
Optional[String] $ssl_file = undef, | ||
String $ports_file = $apache::params::ports_file, | ||
String $docroot = $apache::params::docroot, | ||
String $apache_version = $apache::version::default, | ||
String $server_tokens = 'Prod', | ||
String $server_signature = 'On', | ||
String $trace_enable = 'On', | ||
Optional[Enum['on', 'off', 'nodecode']] $allow_encoded_slashes = undef, | ||
$file_e_tag = undef, | ||
Optional[String] $file_e_tag = undef, | ||
Optional[Enum['On', 'on', 'Off', 'off', 'DNS', 'dns']] | ||
$use_canonical_name = undef, | ||
$package_ensure = 'installed', | ||
Boolean $use_optional_includes = $apache::params::use_optional_includes, | ||
$use_systemd = $apache::params::use_systemd, | ||
$mime_types_additional = $apache::params::mime_types_additional, | ||
$file_mode = $apache::params::file_mode, | ||
$root_directory_options = $apache::params::root_directory_options, | ||
Boolean $root_directory_secured = false, | ||
$error_log = $apache::params::error_log, | ||
$scriptalias = $apache::params::scriptalias, | ||
$access_log_file = $apache::params::access_log_file, | ||
$use_canonical_name = undef, | ||
String $package_ensure = 'installed', | ||
Boolean $use_optional_includes = $apache::params::use_optional_includes, | ||
Boolean $use_systemd = $apache::params::use_systemd, | ||
Hash $mime_types_additional = $apache::params::mime_types_additional, | ||
String $file_mode = $apache::params::file_mode, | ||
Array $root_directory_options = $apache::params::root_directory_options, | ||
Boolean $root_directory_secured = false, | ||
String $error_log = $apache::params::error_log, | ||
String $scriptalias = $apache::params::scriptalias, | ||
String $access_log_file = $apache::params::access_log_file, | ||
Array[Enum['h2', 'h2c', 'http/1.1']] $protocols = [], | ||
Optional[Boolean] $protocols_honor_order = undef, | ||
) inherits apache::params { | ||
|
Oops, something went wrong.
Why is this a
String
instead of anInteger
type? This failed some of our unit tests as we require and giveInteger
as parameter.