[directory] add alpine support

remotes/katolaz/master
Nico Schottelius 6 years ago
parent 1722fced72
commit 63d7499b75
  1. 11
      cdist/conf/type/__directory/explorer/stat
  2. 1
      docs/changelog

@ -31,9 +31,16 @@ owner: %Du %Su
group: %Dg %Sg
mode: %Lp %Sp
" "$destination" | awk '/^type/ { print tolower($0); next; } { print; }'
;;
;;
alpine)
stat -c "type: %F
owner: %u %U
group: %g %G
mode: %a %A
" "$destination"
;;
*)
stat --printf="type: %F
stat --printf="type: %F
owner: %u %U
group: %g %G
mode: %a %A

@ -3,6 +3,7 @@ Changelog
next:
* Type __package: Add __package_apk support (Nico Schottelius)
* Type __directory: Add alpine support (Nico Schottelius)
* Type __file: Add alpine support (Nico Schottelius)
* Type __hostname: Add alpine support (Nico Schottelius)
* Type __locale: Add alpine support (Nico Schottelius)

Loading…
Cancel
Save