-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #13745: change the detection of curl path in ncf to use rudder_curl if available #862
Conversation
tree/20_cfe_basics/ncf_lib.cf
Outdated
# Use rudder_curl variable if available, rather than the path[curl] | ||
bundle common ncf_path { | ||
vars: | ||
"ncf_curl" string => "${g.rudder_curl}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you put it in a path
array for consistency with stdlib?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And name the bundle ncf_paths
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW I like this idea of overriding stdlib in ncf 👍
…curl if available
24f5891
to
65175fb
Compare
Commit modified |
unless => isvariable("g.rudder_curl"); | ||
|
||
|
||
"all_paths" slist => getindices("path"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
"path[curl]" string => "${g.rudder_curl}", | ||
if => isvariable("g.rudder_curl"); | ||
|
||
"path[curl]" string => "${paths.path[curl]}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great!
OK, merging this PR |
https://www.rudder-project.org/redmine/issues/13745