RyChannel
04/11/2023, 2:12 PMRyChannel
04/11/2023, 2:27 PMDr Bunsen Honeydew
04/11/2023, 2:45 PMDr Bunsen Honeydew
04/11/2023, 4:45 PMSlackbot
04/11/2023, 5:26 PMsmortex
04/11/2023, 7:04 PM$query = $monitor_dehydrated ? {
'all' => 'resources [title, parameters] { type = "Dehydrated::Certificate" }',
'self' => "resources [title, parameters] { type = 'Dehydrated::Certificate' and certname = '${trusted['certname']}' }",
}
$endpoints = puppetdb_query($query).map |$value| { [] + $value.dig('title') + $value.dig('parameters', 'domains') }.flatten.unique.sort
tls_checker::watch { 'dehydrated':
endpoints => $endpoints,
}Yuan Liu
04/11/2023, 7:43 PMvchepkov
04/11/2023, 7:55 PMpassword => '!!',vchepkov
04/11/2023, 7:55 PMCVQuesty
04/11/2023, 7:55 PMCVQuesty
04/11/2023, 7:56 PMYuan Liu
04/11/2023, 7:59 PMYuan Liu
04/11/2023, 8:01 PMpassword => '!!',
is going to hash the string â!!â, instead of entering this string into hash fieldSlackbot
04/11/2023, 8:13 PMCVQuesty
04/11/2023, 8:34 PMpassword => '', attributeLuke Tidd
04/11/2023, 8:41 PMvchepkov
04/11/2023, 8:55 PMvchepkov
04/11/2023, 8:56 PMLuke Tidd
04/11/2023, 8:56 PMLuke Tidd
04/11/2023, 8:58 PMLuke Tidd
04/11/2023, 9:00 PMLuke Tidd
04/11/2023, 9:02 PMYuan Liu
04/11/2023, 10:21 PMâŠ/User[myuser]/password: changed password
âŠ/Exec[unlock-myuser]/returns: executed successfullyYuan Liu
04/11/2023, 10:29 PMSlackbot
04/12/2023, 3:10 AMSlackbot
04/12/2023, 7:38 AMFebu
04/12/2023, 8:09 AMSlackbot
04/12/2023, 10:22 AMMassimiliano (Max)
04/12/2023, 12:18 PMFacter::Util::Resolution.exec without pushing the fact and running puppet? If it's ruby I can try from pry
I have this line, and on all the servers (apart from the nomad servers) the file doesn't exist:
Facter::Util::Resolution.exec('cat /var/lib/nomad/server/node-id')
_rescue_ XXXXXXSlackbot
04/12/2023, 12:20 PM