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 #11245: Add constraint on hash_type #624

Conversation

VinceMacBuche
Copy link
Member

@@ -21,7 +21,8 @@
#
# @parameter source Source file (path relative to Rudder shared folder)
# @parameter destination Destination file (absolute path on the target node)
# @parameter hash_type Hash algorithm used to check if file is updated
# @parameter hash_type Hash algorithm used to check if file is updated (md5, sha1, sha256)
Copy link
Member

Choose a reason for hiding this comment

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

You should document that this parameter is always treated as md5 on cfengine.

@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the ust_11245/add_constraint_on_hash_type branch from 40ce705 to 7db7ac2 Compare August 10, 2017 15:04
@@ -21,7 +21,8 @@
#
# @parameter source Source file (path relative to Rudder shared folder)
# @parameter destination Destination file (absolute path on the target node)
# @parameter hash_type Hash algorithm used to check if file is updated
# @parameter hash_type Hash algorithm used to check if file is updated (md5, sha1, sha256), only md5 can be used on cfengine agent
Copy link
Member

Choose a reason for hiding this comment

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

it's not used on cfengine, so why not simply state that it is not used for cfengine agent ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I will write that on cfengine it will always be treated as md5 for now

Copy link
Member

Choose a reason for hiding this comment

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

ping ?

@VinceMacBuche
Copy link
Member Author

Commit modified

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit ed9ad0c into Normation:master Aug 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants