Skip to content

Commit

Permalink
add types in sudo::conf
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed May 13, 2024
1 parent 3fc67ef commit 6c9feff
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions manifests/conf.pp
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
# }
#
define sudo::conf (
$ensure = present,
$priority = 10,
$content = undef,
$source = undef,
$template = undef,
$sudo_config_dir = undef,
$sudo_file_name = undef,
$sudo_syntax_path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Enum['present', 'absent'] $ensure = present,
Integer[0] $priority = 10,
Optional[String[1]] $content = undef,
Optional[String[1]] $source = undef,
Optional[String[1]] $template = undef,
Optional[String[1]] $sudo_config_dir = undef,
Optional[String[1]] $sudo_file_name = undef,
String[1] $sudo_syntax_path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
) {
include sudo

Expand Down

0 comments on commit 6c9feff

Please sign in to comment.