Skip to content

Commit

Permalink
Fixes #11245: Add constraint on hash_type
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceMacBuche committed Aug 10, 2017
1 parent c254956 commit 7db7ac2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tree/30_generic_methods/file_from_shared_folder.cf
Original file line number Diff line number Diff line change
Expand Up @@ -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
# @parameter_constraint hash_type "select" : [ "md5", "sha1", "sha256" ]
#
# @class_prefix file_from_shared_folder
# @class_parameter destination
Expand Down

0 comments on commit 7db7ac2

Please sign in to comment.