Fix yum package_method to be able to delete packages
(cherry picked from commit 0d1fee9eb980ea8fb727db94dcc2fa88045144ee)

Conflicts:
	masterfiles/lib/3.5/packages.cf
	masterfiles/lib/3.6/packages.cf
	masterfiles/libraries/cfengine_stdlib.cf
Redmine#1578: when creating logs, set mode to 600
(cherry picked from commit b527d9d5ec07d0d534b076e2825e7f9fef10eff0)

Updated ChangeLog.
Document fix for yum package_method and extend to yum_rpm
(cherry picked from commit 21ba8c6b23b0ec84a02ccb6b34fd713593d4fefb)

Conflicts:
	masterfiles/lib/3.5/packages.cf
	masterfiles/lib/3.6/packages.cf
	masterfiles/libraries/cfengine_stdlib.cf
Fix wrong log message when a promise is ignored due to 'ifvarclass' not matching

This situation occurs if a promise is prefixed with a "class_exp_1::" notation
and has a "ifvarclass => "class_exp_2" statement. Then the log message
says:
Skipping next promise '<promise>', as context 'class_exp_1' is not relevant
Whereas it should say:
Skipping next promise '<promise>', as var-context 'class_exp_2' is not relevant
(cherry picked from commit 5e44af859f90343563cff4662c316d2a714862ba)

Update ChangeLog.
Fix missing "promise kept" status for the last line in a file.

For the last line we shortcut out using MatchRegion, but previously
we did not set the promise status.

Fixes issue 2943.
(cherry picked from commit 3c75e08892ac5f4092ec79f53cba8d1f3a08c76f)

Conflicts:
	tests/acceptance/10_files/04_match/kept_promise.cf
Autotest fails because of cached bundle result. Fix by splitting.
(cherry picked from commit 18a831d23c88b15b232be51548f784a5fb6d51ce)
Revert "Revert "Fixes redmine #2988 otrs #1221. Get rid of special chars in debian6/7's /etc/issue""

This reverts commit 5c9394c541c6a80011514e781c4a7b44201ac148.
avoid testcase failure in non-debian env
(cherry picked from commit 30f49ee432c2ceb7632923d8e137109caf528f3b)
Revert "Remove fix for 2988 from changelog after revert"

This reverts commit febc07f3cd53db45329f9bc946aba15602b3d3a0.