Massimiliano (Max)
10/20/2022, 7:14 PMMassimiliano (Max)
10/20/2022, 7:16 PMMassimiliano (Max)
10/20/2022, 7:21 PMbastelfreak
10/20/2022, 7:35 PMSlackbot
10/20/2022, 8:26 PMGreg Bristol
10/20/2022, 8:27 PMWilliam Myers
10/20/2022, 8:27 PMbastelfreak
10/20/2022, 8:32 PMbastelfreak
10/20/2022, 8:32 PMGreg Bristol
10/20/2022, 8:36 PMJoel Wilson
10/20/2022, 8:37 PMJoel Wilson
10/20/2022, 8:38 PMJoel Wilson
10/20/2022, 8:38 PMvchepkov
10/20/2022, 8:40 PMDr Bunsen Honeydew
10/20/2022, 8:45 PMbastelfreak
10/20/2022, 8:50 PMJoel Wilson
10/20/2022, 8:50 PMdata/role directory in my roles module and the roles module’s hiera.yaml correctly explained how to map a $::role fact to files in that directory, I could just put in YAML like the following and it would appropriately bring in the mix of classes from the rest of the modulepath:
---
profiles::nginx
profiles::network_setup
telegraf::global_tags:
etc:Dr Bunsen Honeydew
10/20/2022, 8:50 PMbastelfreak
10/20/2022, 8:50 PMbastelfreak
10/20/2022, 8:51 PM---
classes:
- profiles::nginx
- profiles::network_setup
telegraf::global_tags:
etc:Dr Bunsen Honeydew
10/20/2022, 8:51 PMJoel Wilson
10/20/2022, 8:51 PMJoel Wilson
10/20/2022, 8:51 PMbastelfreak
10/20/2022, 8:51 PMJoel Wilson
10/20/2022, 8:53 PMbastelfreak
10/20/2022, 8:54 PMbastelfreak
10/20/2022, 8:54 PMvchepkov
10/20/2022, 8:54 PMbastelfreak
10/20/2022, 8:55 PM```
lookup('classes', Array[String[1]], 'unique', []).each |$c| {
contain $c
}
```vchepkov
10/20/2022, 8:57 PMcontain lookup('classes', Array[String], 'unique', [])