tuxmea
02/10/2023, 12:40 PMNeeloj
02/10/2023, 2:13 PMNeeloj
02/10/2023, 2:14 PMSlackbot
02/10/2023, 3:25 PMYury Bushmelev
02/10/2023, 3:52 PMDr Bunsen Honeydew
02/10/2023, 3:52 PMpuppet-jenkins module at https://forge.puppet.com/puppet/jenkins?src=slack&channel=puppetLumiere
02/10/2023, 4:03 PMSlackbot
02/10/2023, 4:03 PMIan CB
02/10/2023, 4:32 PMnatemccurdy
02/10/2023, 5:21 PMv throwing off the comparison?
Is MOD1's version in metadata.json literally v1.0?vchepkov
02/10/2023, 5:24 PMnatemccurdy
02/10/2023, 5:39 PMbastelfreak
02/10/2023, 5:41 PMMassimiliano (Max)
02/10/2023, 5:41 PMSlackbot
02/10/2023, 5:44 PMMassimiliano (Max)
02/10/2023, 5:53 PMMassimiliano (Max)
02/10/2023, 5:55 PMMassimiliano (Max)
02/10/2023, 6:23 PMrusty
02/10/2023, 7:12 PMnatemccurdy
02/10/2023, 7:13 PMrusty
02/10/2023, 7:13 PMrusty
02/10/2023, 7:14 PMfile { '/opt/puppetlabs/puppet/cache/lib/':
ensure => 'directory',
source => 'puppet:///plugins', # lint:ignore:puppet_url_without_modules
recurse => true,
purge => false,
backup => false,
}rusty
02/10/2023, 7:14 PMrusty
02/10/2023, 7:14 PMrusty
02/10/2023, 7:14 PMnatemccurdy
02/10/2023, 7:16 PMapply vs. agent is to check for the presence of the $server_facts['servername'] variable
ref: https://www.puppet.com/docs/puppet/7/lang_facts_builtin_variables.html#lang_facts_builtin_variables-server-factsCVQuesty
02/10/2023, 7:17 PMMike Langhorst
02/10/2023, 7:17 PMnatemccurdy
02/10/2023, 7:17 PMif getvar('server_facts.servername') {
notice("I'm in agent mode")
} else {
notice("I'm in apply mode")
}natemccurdy
02/10/2023, 7:17 PMif getvar('server_facts.servername') {
notice("I'm in agent mode")
} else {
notice("I'm in apply mode")
}