Skip to content
Snippets Groups Projects
Commit b3db3dbb authored by Västgöta Nation's avatar Västgöta Nation
Browse files

Heed the warning about Optional's default being non-undef.

Having another default led to weird errors.
parent 739e1967
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ define mpd::config ( ...@@ -93,7 +93,7 @@ define mpd::config (
String $pid_file = "${mpd_home}/pid", String $pid_file = "${mpd_home}/pid",
String $playlist_directory = "${music_directory}/playlists", String $playlist_directory = "${music_directory}/playlists",
String $state_file = "${mpd_home}/state", String $state_file = "${mpd_home}/state",
Optional[String] $user = 'mpd', Optional[String] $user = undef,
String $bind_to_address = 'any', String $bind_to_address = 'any',
Integer $port = 6600, Integer $port = 6600,
Enum['default','secure','verbose'] $log_level = 'default', Enum['default','secure','verbose'] $log_level = 'default',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment