++changes(2.3.7)

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
Merge branch 'master' into preos
if ... THEN ;-)

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
catch permissionserror when deleting old cache

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
++changes

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
Merge branch 'master' into preos
mkdiropt needs to be unquoted => empty if not existing

Otherwise this happens:

    root@lilly ~ # cat
    /var/lib/cdist/object/__directory/vm/.cdist/code-remote
    rm -f "/vm"
    mkdir "" "/vm"

which results into

    mkdir: cannot create directory `': No such file or directory

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>