Merge pull request #405 from jakllsch/netbsd-explorer-stat

Treat NetBSD the same as FreeBSD and OpenBSD in 'stat' explorers
remotes/origin/4.0
Nico Schottelius 10 years ago
commit 46ef188079
  1. 2
      cdist/conf/type/__ccollect_source/explorer/stat
  2. 2
      cdist/conf/type/__directory/explorer/stat
  3. 2
      cdist/conf/type/__file/explorer/stat

@ -25,7 +25,7 @@ destination="/$__object_id"
os=$("$__explorer/os")
case "$os" in
"freebsd"|"openbsd")
"freebsd"|"netbsd"|"openbsd")
# FIXME: should be something like this based on man page, but can not test
stat -f "type: %ST
owner: %Du %Su

@ -25,7 +25,7 @@ destination="/$__object_id"
os=$("$__explorer/os")
case "$os" in
"freebsd"|"openbsd")
"freebsd"|"netbsd"|"openbsd")
# FIXME: should be something like this based on man page, but can not test
stat -f "type: %ST
owner: %Du %Su

@ -25,7 +25,7 @@ destination="/$__object_id"
os=$("$__explorer/os")
case "$os" in
"freebsd"|"openbsd")
"freebsd"|"netbsd"|"openbsd")
# FIXME: should be something like this based on man page, but can not test
stat -f "type: %ST
owner: %Du %Su

Loading…
Cancel
Save