Skip to content

Commit

Permalink
Merge pull request #3287 from nickanderson/ENT-11810/master
Browse files Browse the repository at this point in the history
ENT-11810: Fixed link target for custom promise type docs
  • Loading branch information
nickanderson authored May 30, 2024
2 parents aa752d0 + 93c9771 commit 4b3780b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getting-started/developing-modules.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sorting: 50

Modules, such as the one we've used for git promises, are easy to write.
In this tutorial, we will focus on implementing a new promise type in Python, with the provided CFEngine library, since this is the easiest and recommended way.
If you are interested in how modules are implemented, or how you could do it in another programming language, see the [complete documentation](/reference-promise-types-custom.html).
If you are interested in how modules are implemented, or how you could do it in another programming language, see the [complete documentation][custom].

In short, you need to implement 2 functions: `validate_promise()` and `evaluate_promise()`.
_Validation_ should check that the correct attributes are used, and any other constraints you may want to enforce, to determine whether a promise is valid or invalid.
Expand Down

0 comments on commit 4b3780b

Please sign in to comment.