Bug fixes & markdown related fixes

2498 	Confusing/incorrect wording about where the action policy is applied
2497 description of action policy example is incorrect
2493 note about printfile could be more specifc
2491 reports are allowed in "any" context in 3.5

2. Streamlined the parsing of the html file and production of markdown files using a newly defined script "scripts/chapterparser.py: reading in the original, edited html file; splicing it into more reasonable sized html files defined by section or subsection; calling a Makefile that runs pandoc against the html files to produce markdown files; partly automating defining the appropriate meta data and adding it to the beginning of each markdown file.

Note: the meta data ultimately may need to be modified by hand in the final markdown files for one or more of the titles, categories, and tags unless a more consistent and predictible way is found to script this. It should be easily possible to keep some of that process automated but in the end might still require human intervention.

Note: The script chapterparser.py mentioned above can be found in the repo https://github.com/KevWright/cfengine

	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-Miscellaneous-in-edit_005fline-promises-5.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-Miscellaneous-in-edit_005fxml-promises-10.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-build_005fxpath-in-edit_005fxml-promises-11.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-commands-in-agent-promises-1.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-databases-in-agent-promises-2.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-delete_005fattribute-in-edit_005fxml-promises-14.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-delete_005flines-in-edit_005fline-promises-6.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-delete_005ftext-in-edit_005fxml-promises-16.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-delete_005ftree-in-edit_005fxml-promises-12.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-field_005fedits-in-edit_005fline-promises-8.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-files-in-agent-promises-4.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-guest_005fenvironments-in-agent-promises-3.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-insert_005flines-in-edit_005fline-promises-7.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-insert_005ftext-in-edit_005fxml-promises-18.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-insert_005ftree-in-edit_005fxml-promises-13.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-interfaces-in-agent-promises-19.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-methods-in-agent-promises-20.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-outputs-in-agent-promises-21.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-packages-in-agent-promises-22.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-processes-in-agent-promises-23.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-replace_005fpatterns-in-edit_005fline-promises-9.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-services-in-agent-promises-24.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-set_005fattribute-in-edit_005fxml-promises-15.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-set_005ftext-in-edit_005fxml-promises-17.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0-storage-in-agent-promises-25.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-agent-0.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-common-0-Miscellaneous-in-common-promises-6.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-common-0-classes-in-common-promises-1.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-common-0-defaults-in-common-promises-2.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-common-0-meta-in-common-promises-3.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-common-0-reports-in-common-promises-4.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-common-0-vars-in-common-promises-5.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-common-0.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-knowledge-0-inferences-in-knowledge-promises-1.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-knowledge-0-occurrences-in-knowledge-promises-4.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-knowledge-0-things-in-knowledge-promises-2.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-knowledge-0-topics-in-knowledge-promises-3.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-knowledge-0.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-monitor-0-measurements-in-monitor-promises-1.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-monitor-0.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-server-0-access-in-server-promises-1.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-server-0-roles-in-server-promises-2.markdown
	new file:   bundles-logs-functions-variables/Bundles-for-server-0.markdown
	new file:   bundles-logs-functions-variables/Logs-and-records-0-Additional-reports-in-commercical-CFEngine-versions-4.markdown
	new file:   bundles-logs-functions-variables/Logs-and-records-0-Embedded-Databases-1.markdown
	new file:   bundles-logs-functions-variables/Logs-and-records-0-Reports-in-outputs-3.markdown
	new file:   bundles-logs-functions-variables/Logs-and-records-0-State-information-5.markdown
	new file:   bundles-logs-functions-variables/Logs-and-records-0-Text-logs-2.markdown
	new file:   bundles-logs-functions-variables/Logs-and-records-0.markdown
	new file:   bundles-logs-functions-variables/Special-Variables-0-Variable-context-const-1.markdown
	new file:   bundles-logs-functions-variables/Special-Variables-0-Variable-context-edit-2.markdown
	new file:   bundles-logs-functions-variables/Special-Variables-0-Variable-context-match-3.markdown
	new file:   bundles-logs-functions-variables/Special-Variables-0-Variable-context-mon-4.markdown
	new file:   bundles-logs-functions-variables/Special-Variables-0-Variable-context-sys-5.markdown
	new file:   bundles-logs-functions-variables/Special-Variables-0-Variable-context-this-6.markdown
	new file:   bundles-logs-functions-variables/Special-Variables-0.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-accessedbefore-2.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-accumulated-3.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-ago-4.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-and-5.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-canonify-6.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-changedbefore-8.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-classify-9.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-classmatch-10.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-concat-7.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-countclassesmatching-11.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-countlinesmatching-12.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-dirname-13.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-diskfree-14.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-escape-15.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-execresult-16.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-fileexists-17.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-filesexist-18.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-filesize-19.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-getenv-20.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-getfields-21.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-getgid-22.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-getindices-23.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-getuid-24.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-getusers-25.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-getvalues-26.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-grep-27.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-groupexists-28.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-hash-29.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-hashmatch-30.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-host2ip-31.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-hostinnetgroup-33.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-hostrange-34.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-hostsseen-35.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-hostswithclass-36.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-hubknowledge-37.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-ip2host-32.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-iprange-38.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-irange-39.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-isdir-40.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-isexecutable-41.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-isgreaterthan-42.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-islessthan-43.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-islink-44.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-isnewerthan-45.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-isplain-46.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-isvariable-47.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-join-48.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-lastnode-49.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-laterthan-50.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-ldaparray-51.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-ldaplist-52.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-ldapvalue-53.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-lsdir-54.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-maplist-55.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-not-56.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-now-57.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-on-58.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-or-59.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-parseintarray-60.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-parserealarray-61.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-parsestringarray-62.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-parsestringarrayidx-63.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-peerleader-65.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-peerleaders-66.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-peers-64.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-product-67.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-randomint-68.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-readfile-69.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-readintarray-70.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-readintlist-71.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-readrealarray-72.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-readreallist-73.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-readstringarray-74.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-readstringarrayidx-75.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-readstringlist-76.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-readtcp-77.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-regarray-78.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-regcmp-79.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-regextract-80.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-registryvalue-81.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-regldap-84.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-regline-82.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-reglist-83.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-remoteclassesmatching-86.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-remotescalar-85.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-returnszero-87.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-rrange-88.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-selectservers-89.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-splayclass-90.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-splitstring-91.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-strcmp-92.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-sum-93.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-translatepath-94.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-usemodule-95.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Function-userexists-96.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0-Introduction-to-functions-1.markdown
	new file:   bundles-logs-functions-variables/Special-functions-0.markdown