Skip to content

Commit

Permalink
make xdmod_export::token optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jjackzhn committed Jun 5, 2024
1 parent 8ef4c23 commit c465d33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manifests/xdmod_export.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
#
class profile_ondemand::xdmod_export (
Boolean $enable_xdmod_export = false,
String $token,
Optional[String] $token,
) {

if $enable_xdmod_export {
assert_type(String[1], $token)

user { 'xdmod-ondemand-export':
shell => '/bin/false',
managehome => true,
Expand Down

0 comments on commit c465d33

Please sign in to comment.