Jonathon Anderson
06/17/2022, 3:03 PMJonathon Anderson
06/17/2022, 3:03 PMCVQuesty
06/17/2022, 3:03 PMCVQuesty
06/17/2022, 3:04 PMCVQuesty
06/17/2022, 3:04 PMJonathon Anderson
06/17/2022, 3:05 PMif
statements... much more flexibleJonathon Anderson
06/17/2022, 3:05 PMJonathon Anderson
06/17/2022, 3:06 PMagent_specified_environment
is a built in fact for puppet, not facterCVQuesty
06/17/2022, 3:07 PMCVQuesty
06/17/2022, 3:08 PMvchepkov
06/17/2022, 3:08 PMCVQuesty
06/17/2022, 3:08 PMCVQuesty
06/17/2022, 3:09 PMCVQuesty
06/17/2022, 3:09 PMvchepkov
06/17/2022, 3:10 PMnode default {
if $trusted['extensions']['pp_service'] {
include $trusted['extensions']['pp_service']
} else {
include corp::role::server
}
}
CVQuesty
06/17/2022, 3:11 PMCVQuesty
06/17/2022, 3:11 PMJonathon Anderson
06/17/2022, 3:11 PMvchepkov
06/17/2022, 3:12 PMCVQuesty
06/17/2022, 3:12 PMJonathon Anderson
06/17/2022, 3:12 PMCVQuesty
06/17/2022, 3:12 PMCVQuesty
06/17/2022, 3:13 PMCVQuesty
06/17/2022, 3:13 PMJonathon Anderson
06/17/2022, 3:13 PMvchepkov
06/17/2022, 3:14 PMif !
there is unless
CVQuesty
06/17/2022, 3:14 PMJonathon Anderson
06/17/2022, 3:16 PM