Compare commits
2 Commits
22039284f5
...
6f8c774cb0
Author | SHA1 | Date |
---|---|---|
Steven Armstrong | 6f8c774cb0 | |
Steven Armstrong | af54fe6feb |
|
@ -89,7 +89,7 @@ if [ "$state_should" = "present" ] || [ "$state_should" = "exists" ]; then
|
||||||
touch "$__object/files/set-attributes"
|
touch "$__object/files/set-attributes"
|
||||||
|
|
||||||
# upload file to temp location
|
# upload file to temp location
|
||||||
upload_destination="$(mktemp -u "${destination}.cdist.XXXXXXXXXX")"
|
upload_destination="$(mktemp -u "/__cdist${destination}.cdist.XXXXXXXXXX" | sed 's|^/__cdist||')"
|
||||||
# Yes, we are aware that this is a race condition.
|
# Yes, we are aware that this is a race condition.
|
||||||
# However:
|
# However:
|
||||||
# a) cdist usually writes to directories that are not user writable
|
# a) cdist usually writes to directories that are not user writable
|
||||||
|
|
|
@ -14,6 +14,7 @@ next:
|
||||||
* Types __letsencrypt_cert, __grafana_dashboard: Improve bullseye support (Evilham)
|
* Types __letsencrypt_cert, __grafana_dashboard: Improve bullseye support (Evilham)
|
||||||
* Type __ssh_authorized_key: Also remove tmpfile if removing line (Mark Verboom)
|
* Type __ssh_authorized_key: Also remove tmpfile if removing line (Mark Verboom)
|
||||||
* Type __apt_pin: Add default priority, add comment in generated files (Daniel Fancsali)
|
* Type __apt_pin: Add default priority, add comment in generated files (Daniel Fancsali)
|
||||||
|
* Type __file: make file uploading and attribute changes more atomic (Steven Armstrong)
|
||||||
|
|
||||||
6.9.8: 2021-08-24
|
6.9.8: 2021-08-24
|
||||||
* Type __rsync: Rewrite (Ander Punnar)
|
* Type __rsync: Rewrite (Ander Punnar)
|
||||||
|
|
Loading…
Reference in New Issue