vchepkov
09/06/2022, 9:19 PMPavlos Parissis
09/06/2022, 9:20 PMPavlos Parissis
09/06/2022, 9:21 PMPavlos Parissis
09/07/2022, 7:38 AMClass['apt::update'] -> Package <| provider == 'apt' |>`
in our code base, in another module which is also declared from the same metaprofile that the filebeat module is declared. So I don't understand why the collector didn't do the trick and I had to add the require in the package resource so it depends on Class['apt::update']
Slackbot
09/07/2022, 8:30 AMPierfrancesco Aiello
09/07/2022, 8:30 AMSlackbot
09/07/2022, 9:53 AMDr Bunsen Honeydew
09/07/2022, 9:53 AMpuppetlabs-apache
module at https://forge.puppet.com/puppetlabs/apache?src=slack&channel=puppetAndries Malan
09/07/2022, 9:53 AMDavid 'The Anvil'
09/07/2022, 10:40 AMWillem Basson
09/07/2022, 11:23 AMvchepkov
09/07/2022, 1:02 PMWillem Basson
09/07/2022, 1:40 PMCVQuesty
09/07/2022, 1:51 PMCVQuesty
09/07/2022, 1:51 PMCVQuesty
09/07/2022, 1:52 PMCVQuesty
09/07/2022, 1:52 PMCVQuesty
09/07/2022, 1:59 PMWillem Basson
09/07/2022, 2:08 PMWillem Basson
09/07/2022, 2:09 PMWillem Basson
09/07/2022, 2:09 PMvchepkov
09/07/2022, 2:17 PMSlackbot
09/07/2022, 2:18 PMWillem Basson
09/07/2022, 2:19 PMWillem Basson
09/07/2022, 2:19 PMrismoney
09/07/2022, 2:20 PMpuppetdb_sd_config
? Is this a good approach for service discovery? what is kind of nice is you can use a query and find only endpoints that say have the package or class present. I don't always love creating dependencies, because it creates a much larger testing scope (ie if puppetdb goes offline, what happens, etc)Andries Malan
09/07/2022, 2:20 PMvchepkov
09/07/2022, 2:21 PMOptional[Variant[Stdlib::Absolutepath,Boolean[False]]]
Jason Grammenos
09/07/2022, 2:58 PMhiera:
mm::drs::trigger_jenkins::trigger_jenkins_require:
- Class['mm::common']
class:
exec { 'trigger_jenkins_build_continue':
require => $trigger_jenkins_require,
}
Jason Grammenos
09/07/2022, 3:04 PMCould not find resource 'Class['mm::common']' in parameter 'require'
it seems like the hiera ends up passing the array as strings