Skip to content

Commit

Permalink
puppetlabs/stdlib: Allow 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Dec 2, 2021
1 parent 4872bc0 commit 3421b79
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
66 changes: 33 additions & 33 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,85 +3,85 @@
# Defines all the variables used in the module.
#
class augeasproviders::params {
# lint:ignore:top_scope_facts
$apache_directive_hash = $::augeasproviders_apache_directive_hash ? {
# lint:ignore:variable_scope
$apache_directive_hash = $augeasproviders_apache_directive_hash ? {
undef => false,
default => $::augeasproviders_apache_directive_hash,
default => $augeasproviders_apache_directive_hash,
}

$apache_setenv_hash = $::augeasproviders_apache_setenv_hash ? {
$apache_setenv_hash = $augeasproviders_apache_setenv_hash ? {
undef => false,
default => $::augeasproviders_apache_setenv_hash,
default => $augeasproviders_apache_setenv_hash,
}

$host_hash = $::augeasproviders_host_hash ? {
$host_hash = $augeasproviders_host_hash ? {
undef => false,
default => $::augeasproviders_host_hash,
default => $augeasproviders_host_hash,
}

$kernel_parameter_hash = $::augeasproviders_kernel_parameter_hash ? {
$kernel_parameter_hash = $augeasproviders_kernel_parameter_hash ? {
undef => false,
default => $::augeasproviders_kernel_parameter_hash,
default => $augeasproviders_kernel_parameter_hash,
}

$mailalias_hash = $::augeasproviders_mailalias_hash ? {
$mailalias_hash = $augeasproviders_mailalias_hash ? {
undef => false,
default => $::augeasproviders_mailalias_hash,
default => $augeasproviders_mailalias_hash,
}

$mounttab_hash = $::augeasproviders_mounttab_hash ? {
$mounttab_hash = $augeasproviders_mounttab_hash ? {
undef => false,
default => $::augeasproviders_mounttab_hash,
default => $augeasproviders_mounttab_hash,
}

$nrpe_command_hash = $::augeasproviders_nrpe_command_hash ? {
$nrpe_command_hash = $augeasproviders_nrpe_command_hash ? {
undef => false,
default => $::augeasproviders_nrpe_command_hash,
default => $augeasproviders_nrpe_command_hash,
}

$pam_hash = $::augeasproviders_pam_hash ? {
$pam_hash = $augeasproviders_pam_hash ? {
undef => false,
default => $::augeasproviders_pam_hash,
default => $augeasproviders_pam_hash,
}

$pg_hba_hash = $::augeasproviders_pg_hba_hash ? {
$pg_hba_hash = $augeasproviders_pg_hba_hash ? {
undef => false,
default => $::augeasproviders_pg_hba_hash,
default => $augeasproviders_pg_hba_hash,
}

$puppet_auth_hash = $::augeasproviders_puppet_auth_hash ? {
$puppet_auth_hash = $augeasproviders_puppet_auth_hash ? {
undef => false,
default => $::augeasproviders_puppet_auth_hash,
default => $augeasproviders_puppet_auth_hash,
}

$shellvar_hash = $::augeasproviders_shellvar_hash ? {
$shellvar_hash = $augeasproviders_shellvar_hash ? {
undef => false,
default => $::augeasproviders_shellvar_hash,
default => $augeasproviders_shellvar_hash,
}

$ssh_config_hash = $::augeasproviders_ssh_config_hash ? {
$ssh_config_hash = $augeasproviders_ssh_config_hash ? {
undef => false,
default => $::augeasproviders_ssh_config_hash,
default => $augeasproviders_ssh_config_hash,
}

$sshd_config_hash = $::augeasproviders_sshd_config_hash ? {
$sshd_config_hash = $augeasproviders_sshd_config_hash ? {
undef => false,
default => $::augeasproviders_sshd_config_hash,
default => $augeasproviders_sshd_config_hash,
}

$sshd_config_subsystem_hash = $::augeasproviders_sshd_config_subsystem_hash ? {
$sshd_config_subsystem_hash = $augeasproviders_sshd_config_subsystem_hash ? {
undef => false,
default => $::augeasproviders_sshd_config_subsystem_hash,
default => $augeasproviders_sshd_config_subsystem_hash,
}

$sysctl_hash = $::augeasproviders_sysctl_hash ? {
$sysctl_hash = $augeasproviders_sysctl_hash ? {
undef => false,
default => $::augeasproviders_sysctl_hash,
default => $augeasproviders_sysctl_hash,
}

$syslog_hash = $::augeasproviders_syslog_hash ? {
$syslog_hash = $augeasproviders_syslog_hash ? {
undef => false,
default => $::augeasproviders_syslog_hash,
default => $augeasproviders_syslog_hash,
}

$defaults = {
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"issues_url": "https://github.com/hercules-team/augeasproviders_core/issues",
"description": "This module provides alternative providers for core Puppet types using the Augeas configuration API library.",
"dependencies": [
{ "name": "puppetlabs/stdlib", "version_requirement": ">=3.2.0 <6.0.0" },
{ "name": "puppetlabs/stdlib", "version_requirement": ">=3.2.0 < 9.0.0" },
{ "name": "herculesteam/augeasproviders_apache", "version_requirement": ">=3.1.0 <4.0.0" },
{ "name": "herculesteam/augeasproviders_base", "version_requirement": ">=2.1.0 <3.0.0" },
{ "name": "herculesteam/augeasproviders_grub", "version_requirement": ">=3.1.0 <4.0.0" },
Expand Down

0 comments on commit 3421b79

Please sign in to comment.