3.0.1a3: "cf-promises -v" always reports valid input
"Jessica L. Greer" <[email protected]> Wed, 14 Jan 2009 16:53:56 -0500 (EST)
| Newsgroups | gmane.comp.sysutils.cfengine.bugs |
|---|---|
| Message-ID | <[email protected]> |
In verbose mode, cf-promises reports "Inputs are valid" regardless of
whether syntax errors have been detected:
###
body common control
{
bundlesequence => { "main" };
}
bundle agent main
{
syntax_error_here
}
###
root@testbox:/usr/local/share/cfengine# cf-promises -vf ./test-cfpromises.cf
...
cf3:./test-cfpromises.cf:8,17: syntax error, near token
'syntax_error_here'
cf3 > Parsing file ./test-cfpromises.cf
...
cf3 Wrote expansion summary to promise_output_common.txt
Summarizing promises as text to ./test-cfpromises.cf.txt
Summarizing promises as html to ./test-cfpromises.cf.html
cf3 Inputs are valid
-Jessica