Re: BUG - *Matching rules won't match multiple tabs.
Jo Rhett <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.bugs,gmane.comp.sysutils.cfengine.general |
|---|---|
| Organization | Net Consonance |
| Message-ID | <[email protected]> |
Mark Burgess wrote: > Jo, please use the tool provided. There is nothing wrong with these > posix standard routines. You might be writing perl regexs or regexs from > other non-posix libraries by mistake. Attach is both the testfile and the cfagent.conf which demonstrates the problem. You can test it yourself. -- Jo Rhett Net Consonance ... net philanthropy, open source and other randomness _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
cfagent.conf
(text/plain, 836 B)
### # BEGIN cfagent.conf (Only hard classes in this file ) ### control: Inform = ( on ) cfinputs_version = ( 2007100801 ) site = ( svcolo ) domain = ( svcolo.com ) timezone = ( PST ) smtpserver = ( mail.svcolo.com ) # used by cfexecd EmailTo = ( [email protected] ) # where to mail output OutputPrefix = ( ":" ) # Shorten output lines policyhost = ( arran.svcolo.com ) # Which host/dir is the master for configuration roll-outs? Repository = ( /home/jrhett/test ) # Where backup files (for copy/tidy) are kept # Where extension modules can be found workdir = ( /home/jrhett/test ) # Actions to take actionsequence = ( editfiles ) IfElapsed = ( 1 ) # Checks can be repeated after 1 mins editfiles: { /home/jrhett/test/testfile DeleteLinesMatching "^0^I^I1" } # END cfagent.conf
testfile
(text/plain, 181 B)
0 1 0 2 * * * root /usr/sbin/freebsd-update cron 0 * * * * root /usr/local/sbin/cfexecd -F 0 2 * * * root /usr/sbin/freebsd-update cron 0 * * * * root /usr/local/sbin/cfexecd -F