sort always with LANG=C
somehowe puppet leaks then LANG into execs, which can give different ordering depending with which LANG puppet is executed. Which is likely different between a logged in admin and cron
This commit is contained in:
parent
c54a95f782
commit
78e547025b
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ else
|
|||
fi
|
||||
|
||||
# find all the files in the fragments directory, sort them numerically and concat to fragments.concat in the working dir
|
||||
find fragments/ -type f -follow | sort ${SORTARG} | while read -r fragfile; do
|
||||
find fragments/ -type f -follow | LANG=C sort ${SORTARG} | while read -r fragfile; do
|
||||
cat "$fragfile" >> "fragments.concat"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue