Skip to content

Commit f3710bc

Browse files
author
Eric Shamow
committed
Modified puppet-ls to be recursive
1 parent 454a267 commit f3710bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

puppet-ls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ls_filelist=$(mktemp -q /tmp/$appname.XXXXXX)
1717
grep '"File\[' /var/lib/puppet/state/state.yaml | sed -e 's/"File\[//' -e 's/\]"://' -e 's/ //g'
1818
) | sort > $catalog_filelist
1919

20-
ls -1 $target/* | sort > $ls_filelist
20+
find $target/ | sort > $ls_filelist
2121

2222
comm -12 $catalog_filelist $ls_filelist
2323

0 commit comments

Comments
 (0)