Skip to content

Commit ce48eca

Browse files
committed
Drop Puppet < 6.1.0 support
Puppet 4 and Puppet 5 are end of life. Puppet 6.1.0 is a common version that has some features/bugfixes over 6.0.0. It probably works with that as well, but in practice nobody should run those old versions anyway.
1 parent 9ac1f5a commit ce48eca

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

manifests/current.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#
3737
class access_insights_client::current (
3838
$package_name = 'insights-client',
39-
$log_level = undef,
39+
Optional[Enum['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']] $log_level = undef,
4040
$auto_config = 'True',
4141
$authmethod = undef,
4242
$username = undef,

manifests/init.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# Copyright 2015 Red Hat Inc.
3838
#
3939
class access_insights_client (
40-
$log_level = undef,
40+
Optional[Enum['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']] $log_level = undef,
4141
$auto_config = 'True',
4242
$authmethod = undef,
4343
$username = undef,
@@ -49,7 +49,7 @@
4949
$auto_update = undef,
5050
$obfuscate = undef,
5151
$obfuscate_hostname = undef,
52-
$deployment_style = undef,
52+
Optional[Enum['current', 'old']] $deployment_style = undef,
5353
) {
5454
if $deployment_style {
5555
$class_name = $deployment_style

metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"requirements": [
2222
{
2323
"name": "puppet",
24-
"version_requirement": ">= 3.8.0 < 8.0.0"
24+
"version_requirement": ">= 6.1.0 < 8.0.0"
2525
}
2626
]
2727
}

0 commit comments

Comments
 (0)