Merge branch 'type/__postfix' of git://github.com/asteven/cdist

remotes/origin/2.3
Nico Schottelius 12 years ago
commit 9ded11daf0
  1. 2
      cdist/conf/type/__postfix_master/gencode-remote

@ -42,6 +42,8 @@ remove_entry() {
suffix="#/cdist:$__object_name"
cat << DONE
tmpfile=\$(mktemp ${config}.cdist.XXXXXXXXXX)
# preserve ownership and permissions of existing file
cp -p "$config" "\$tmpfile"
awk -v prefix="$prefix" -v suffix="$suffix" '
{
if (index(\$0,prefix)) {

Loading…
Cancel
Save