Browse Source

Merge branch 'fix/type/__file/pre-exists-dryrun' into 'master'

__file: Fix --state pre-exists

See merge request ungleich-public/cdist!944
bugfix/in-script-import
poljakowski 2 years ago
parent
commit
eda96a06a0
  1. 5
      cdist/conf/type/__file/gencode-remote

5
cdist/conf/type/__file/gencode-remote vendored

@ -87,11 +87,6 @@ case "$state_should" in
fi
;;
pre-exists)
# pre-exists should never reach gencode-remote…
exit 1
;;
absent)
if [ "$type" = "file" ]; then
echo "rm -f '$destination'"

Loading…
Cancel
Save