jms1
01/24/2023, 11:17 PMnatemccurdy
01/24/2023, 11:17 PMnotify { 'reminder':
message => 'This is an important reminder',
loglevel => 'warning', # This makes the log entry for this resource yellow
}natemccurdy
01/24/2023, 11:18 PMwarning is yellow.
err, crit, and higher are red.jms1
01/24/2023, 11:18 PMpuppet agent -t --debug) #justsayin 😄jms1
01/24/2023, 11:18 PMpuppet agent -t --debug) #justsayin 😄natemccurdy
01/24/2023, 11:19 PMnatemccurdy
01/24/2023, 11:20 PMpuppet agent -t | tee output.txt you'll see that.
(and by the way, use puppet agent -t --no-color | tee output.txt to get rid of those codes if you don't want them)natemccurdy
01/24/2023, 11:20 PMless -R output.txt to re-interpret the codes into color))jms1
01/24/2023, 11:20 PMjms1
01/24/2023, 11:20 PMless -R is one of my favourite commandsnatemccurdy
01/24/2023, 11:21 PMjms1
01/24/2023, 11:22 PMloglevel with a notify before ... warning is good enough for what i need, plus the people using this stuff aren't used to seeing yellow so it'll catch their eye without failing the whole catalog, which is what i'm after.jms1
01/24/2023, 11:24 PMGerard Lynch
01/24/2023, 11:49 PMnatemccurdy
01/24/2023, 11:57 PMrun_shell() here to test the behavior of my module under certain edge cases: https://github.com/natemccurdy/yumrepos_fact/blob/main/spec/acceptance/yumrepos_spec.rb#L33-L34thedonkdonk
01/25/2023, 1:06 AMSlackbot
01/25/2023, 1:07 AMLes Shiner
01/25/2023, 4:26 PMCVQuesty
01/25/2023, 4:27 PMCVQuesty
01/25/2023, 4:28 PMLes Shiner
01/25/2023, 4:30 PMLumiere
01/25/2023, 4:37 PMnickgw
01/25/2023, 4:37 PMgce fact at all? tl;dr the amount of ssh keys we have added to projects trips over tthe fact_value_soft_limit config key, and i'd like to just omit the gce.project.attributes.'ssh keys' key rather than up the limit (https://www.puppet.com/docs/puppet/7/core_facts.html#gce)Lumiere
01/25/2023, 4:37 PMLumiere
01/25/2023, 4:37 PMLes Shiner
01/25/2023, 4:38 PMpostgresql_ssl_on => true,Les Shiner
01/25/2023, 4:38 PMLumiere
01/25/2023, 4:38 PMLumiere
01/25/2023, 4:39 PMLes Shiner
01/25/2023, 4:39 PM