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 #5574: Automatically force cf-serverd to reload its configuration #617

Conversation

ncharles
Copy link
Member

No description provided.

* Force cf-serverd to reload its promises
* It always succeeed, even if it fails it simply delays the reloading (automatic) by the server
*/
def reloadCFEnginePromises() : Box[String] = {
Copy link
Member

Choose a reason for hiding this comment

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

Could you make it returns Unit, so that we really know from the signature that the method is purilly side effecting, and that the result it not interesting ?
(since it's always Full(something)

@ncharles ncharles force-pushed the ust_5571/dev/5574_add_cfengine_reload_promises branch from 5c0f067 to ecd2ec9 Compare November 4, 2014 12:41
@ncharles
Copy link
Member Author

ncharles commented Nov 4, 2014

PR has been updated

@fanf
Copy link
Member

fanf commented Nov 5, 2014

That seems ok for me. We will need a migration script for the new property.

@jooooooon
Copy link
Member

Please adjust the description of the property as discussed in Normation/rudder-packages#519

@ncharles ncharles force-pushed the ust_5571/dev/5574_add_cfengine_reload_promises branch from ecd2ec9 to 08d8ce2 Compare November 12, 2014 10:37
@ncharles
Copy link
Member Author

updated

ncharles added a commit that referenced this pull request Nov 12, 2014
…reload_promises

Fixes #5574: Automatically force cf-serverd to reload its configuration
@ncharles ncharles merged commit f086ee4 into Normation:branches/rudder/2.11 Nov 12, 2014
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