*Puppet Version: 4.10.4 (2017_2.2)
*OS Name/Version: Redhat Linux 7.2
Describe your issue in as much detail as possible...
file _line match and replace a string is not working..
match string ^#LogLevel, replace with LogLevel=notice
added append_on_no_match => false,
to stop appending the "line: every run. tried undef, had not effect
Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.