Showing content from https://raw.github.com/cfengine/core/master/examples/classes_context_applies_multiple_promises.cf below:
#+begin_src cfengine3 bundle agent __main__ { reports: "This promise is not restricted."; any:: "Neither is this promise restricted, 'any' is always defined."; linux:: "This promise is restricted to hosts that have the class 'linux' defined."; "This promise is also restricted to hosts that have the class 'linux' defined."; linux.cfengine_4:: "This promise is restricted to hosts that have both the 'linux' class AND the 'cfengine_4' class."; !any:: "This promise will never be actuated."; vars: "Message" string => "Hello World!"; reports: "And this promise is again unrestricted"; } #+end_src #+begin_src example_output #@ ``` #@ R: This promise is not restricted. #@ R: Neither is this promise restricted, 'any' is always defined. #@ R: This promise is restricted to hosts that have the class 'linux' defined. #@ R: This promise is also restricted to hosts that have the class 'linux' defined. #@ R: And this promise is again unrestricted #@ ``` #+end_src
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4