Created
October 3, 2022 11:27
-
-
Save olehermanse/71f14119a690b050f91befd020496073 to your computer and use it in GitHub Desktop.
Using variables in class guards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle agent __main__ | |
{ | |
vars: | |
"mycontext" | |
string => "ubuntu"; | |
reports: | |
"$(mycontext)":: | |
"Hello, $(mycontext) (based on variable)"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment