How hard would it be to make --syntax-only accept a path to a configuration file as an argument? This would be useful to me since I use an Ansible template module to install the file and it has a validate parameter but it requires an argument for the filename. It could of course still function normally If no path to a configuration file was provided. Thanks, -Mark Mark Faine System Administrator SAIC/NICS 215 Wynn Dr. 5065 Huntsville, AL 35805 256-961-1295 (Desk) 256-617-4861 (Work Cell)
This already exists syslog-ng --syntax-only --cfgfile=my_config_file On 5/9/19 2:05 PM, Faine, Mark R. (MSFC-IS40)[NICS] wrote:
How hard would it be to make --syntax-only accept a path to a configuration file as an argument? This would be useful to me since I use an Ansible template module to install the file and it has a validate parameter but it requires an argument for the filename. It could of course still function normally If no path to a configuration file was provided.
Thanks,
-Mark
Thank you, I'll try that. -Mark From: syslog-ng <syslog-ng-bounces@lists.balabit.hu> On Behalf Of Evan Rempel Sent: Thursday, May 9, 2019 4:40 PM To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng] feature request idea This already exists syslog-ng --syntax-only --cfgfile=my_config_file On 5/9/19 2:05 PM, Faine, Mark R. (MSFC-IS40)[NICS] wrote: How hard would it be to make --syntax-only accept a path to a configuration file as an argument? This would be useful to me since I use an Ansible template module to install the file and it has a validate parameter but it requires an argument for the filename. It could of course still function normally If no path to a configuration file was provided. Thanks, -Mark
participants (2)
-
Evan Rempel
-
Faine, Mark R. (MSFC-IS40)[NICS]