Skip to content
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 #6553: Allow rudder server to remotely run the agent #663

Conversation

peckpeck
Copy link
Member

@peckpeck peckpeck commented May 4, 2015

any::
# Allow server to remotely run the agent
"/var/rudder/cfengine-community/bin/cf-agent"
admit => { host2ip("${server_info.cfserved}"), string_downcase(escape("${server_info.cfserved}")) };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why using both the hostname and the ip and not only the ip?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because cf-serverd asks its hostname to the client before accepting the connection.

@VinceMacBuche
Copy link
Member

This is ok to me ! Thank @peckpeck ! Merging

@peckpeck peckpeck force-pushed the ust_6553/allow_sudder_server_to_remotely_run_the_agent branch from 63a0c8a to f69d76a Compare May 7, 2015 13:36
@peckpeck
Copy link
Member Author

peckpeck commented May 7, 2015

PR replaced by #664

@peckpeck peckpeck closed this May 7, 2015
amousset pushed a commit to amousset/rudder-techniques that referenced this pull request Dec 8, 2015
…_hooks_fails_when_there_is_nothing_to_commit

Fixes #6617: ncf post-hooks fails when there is nothing to commit
@peckpeck peckpeck deleted the ust_6553/allow_sudder_server_to_remotely_run_the_agent branch May 25, 2016 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants