Skip to content

Commit

Permalink
Fixes #7473: ncf copy is always repaired on server due to an non-conv…
Browse files Browse the repository at this point in the history
…ergent hash function
  • Loading branch information
jooooooon committed Nov 25, 2015
1 parent ed46e2d commit 7981cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions techniques/system/distributePolicy/1.0/propagatePromises.st
Expand Up @@ -31,8 +31,8 @@ bundle agent propagatePromises
"client_data" string => "${g.rudder_var}/share/"; #where to put the files on the client when downloaded

pass2.root_server::
"ncf_common_sha_sum" string => execresult("${paths.path[find]} ${g.rudder_ncf_origin_common} -type f -print0 | ${paths.path[sort]} -z | /usr/bin/xargs -0 /usr/bin/sha1sum | /usr/bin/sha1sum", "useshell");
"ncf_local_sha_sum" string => execresult("${paths.path[find]} ${g.rudder_ncf_origin_local} -type f -print0 | ${paths.path[sort]} -z | /usr/bin/xargs -0 /usr/bin/sha1sum | /usr/bin/sha1sum", "useshell");
"ncf_common_sha_sum" string => execresult("${paths.path[find]} ${g.rudder_ncf_origin_common} -not -name ${g.rudder_ncf_hash_file} -type f -print0 | ${paths.path[sort]} -z | /usr/bin/xargs -0 /usr/bin/sha1sum | /usr/bin/sha1sum", "useshell");
"ncf_local_sha_sum" string => execresult("${paths.path[find]} ${g.rudder_ncf_origin_local} -not -name ${g.rudder_ncf_hash_file} -type f -print0 | ${paths.path[sort]} -z | /usr/bin/xargs -0 /usr/bin/sha1sum | /usr/bin/sha1sum", "useshell");

classes:
root_server::
Expand Down

0 comments on commit 7981cc0

Please sign in to comment.