Closed dagobert closed 5 years ago
I think there's some issue with quotes. Try: config_file_notify => Exec['samba_reload_config'], or: config_file_notify => 'Exec[samba_reload_config]', or config_file_notify => Exec[samba_reload_config],
Also, as workaorund, you might try to use directly the notify metaparameter and remove config_file_notify: notify => Exec['samba_reload_config'],
Pls, let me know if any of these works
I think there's some issue with quotes. Try: config_file_notify => Exec['samba_reload_config'],
SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Tp::Conf[samba]: parameter 'config_file_notify' expects a value of type Boolean or String, got Type[Resource]
or: config_file_notify => 'Exec[samba_reload_config]',
No error and tested. This works.
or config_file_notify => Exec[samba_reload_config],
Server Error: Evaluation Error: Error while evaluating a Resource Statement, Tp::Conf[samba]: parameter 'config_file_notify' expects a value of type Boolean or String, got Type[Resource]
Also, as workaorund, you might try to use directly the notify metaparameter and remove config_file_notify: notify => Exec['samba_reload_config'],
I was using this in the meantime.
Will send a PR.
I am using the followin setup
When running puppet agent I get the following error:
My module list