Skip to content

Commit

Permalink
Merge branch 'branches/rudder/5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins CI committed May 23, 2019
2 parents 30857ab + 1470536 commit 32e8ea9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion techniques/system/common/1.0/update.cf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ bundle common server_info
#This part work, because for some reason, the evaluation converge in one pass, and allows to have
# the correct value in policy_server value. In verbose output, policy_server_file_exists is defined first
policy_server_file_exists::
"policy_server" string => readfile("${policy_server_file}", 2048);
"policy_server_temp" string => readfile("${policy_server_file}", 2048);
# trim space in poilcy_server.dat
"policy_server" string => regex_replace("${policy_server_temp}", " ", "", "");


!policy_server_file_exists::
# Use "" as default policy_server if no policy_server.dat exists
Expand Down

0 comments on commit 32e8ea9

Please sign in to comment.