forked from ungleich-public/cdist
[directory] add alpine support
This commit is contained in:
parent
1722fced72
commit
63d7499b75
2 changed files with 10 additions and 2 deletions
|
@ -31,9 +31,16 @@ owner: %Du %Su
|
||||||
group: %Dg %Sg
|
group: %Dg %Sg
|
||||||
mode: %Lp %Sp
|
mode: %Lp %Sp
|
||||||
" "$destination" | awk '/^type/ { print tolower($0); next; } { print; }'
|
" "$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
|
owner: %u %U
|
||||||
group: %g %G
|
group: %g %G
|
||||||
mode: %a %A
|
mode: %a %A
|
||||||
|
|
|
@ -3,6 +3,7 @@ Changelog
|
||||||
|
|
||||||
next:
|
next:
|
||||||
* Type __package: Add __package_apk support (Nico Schottelius)
|
* Type __package: Add __package_apk support (Nico Schottelius)
|
||||||
|
* Type __directory: Add alpine support (Nico Schottelius)
|
||||||
* Type __file: Add alpine support (Nico Schottelius)
|
* Type __file: Add alpine support (Nico Schottelius)
|
||||||
* Type __hostname: Add alpine support (Nico Schottelius)
|
* Type __hostname: Add alpine support (Nico Schottelius)
|
||||||
* Type __locale: Add alpine support (Nico Schottelius)
|
* Type __locale: Add alpine support (Nico Schottelius)
|
||||||
|
|
Loading…
Reference in a new issue