Ugo Bellavance
09/13/2022, 9:07 PMError: Evaluation Error: Error while evaluating a Resource Statement, Could not find declared class augeasproviders::instances (file: /etc/puppetlabs/code/environments/production/site-modules/profile/manifests/sysctl.pp, line: 21, column: 3) on node blabla
Where should I start? We have this in our Puppetfile:
mod 'herculesteam/augeasproviders', '2.4.1'
mod 'herculesteam/augeasproviders_core', '2.6.0'
mod 'herculesteam/augeasproviders_sysctl', '2.5.1'natemccurdy
09/13/2022, 9:11 PMaugeasproviders module.natemccurdy
09/13/2022, 9:12 PMUgo Bellavance
09/13/2022, 9:13 PMaugeasproviders dir in modulesUgo Bellavance
09/13/2022, 9:14 PMUgo Bellavance
09/13/2022, 9:15 PMINFO -> Deploying module to /etc/puppetlabs/code/environments/production/modules/augeasproviders
INFO -> Deploying module to /etc/puppetlabs/code/environments/production/modules/augeasproviders_core
INFO -> Deploying module to /etc/puppetlabs/code/environments/production/modules/augeasproviders_sysctl
But:
# ll /etc/puppetlabs/code/environments/production/modules/augeasproviders
ls: cannot access '/etc/puppetlabs/code/environments/production/modules/augeasproviders': No such file or directory
# ll -d /etc/puppetlabs/code/environments/production/modules/augeas*
drwxr-xr-x. 6 root root 222 May 14 2021 /etc/puppetlabs/code/environments/production/modules/augeas
drwxr-xr-x. 6 root root 204 May 14 2021 /etc/puppetlabs/code/environments/production/modules/augeasproviders_core
drwxr-xr-x. 4 root root 155 May 14 2021 /etc/puppetlabs/code/environments/production/modules/augeasproviders_sysctlUgo Bellavance
09/13/2022, 9:16 PM/etc/puppetlabs/code/environments/production/ and start again?natemccurdy
09/13/2022, 9:19 PMUgo Bellavance
09/13/2022, 9:19 PMnatemccurdy
09/13/2022, 9:19 PM-v debug2 to your r10k commandUgo Bellavance
09/13/2022, 9:20 PM/opt/puppetlabs/bolt/bin/r10k deploy environment production --puppetfile --verbose debug for now.Ugo Bellavance
09/13/2022, 9:20 PMError during concurrent deploy of a module: Unable to connect to <https://forgeapi.puppet.com> (for request /v3/modules/herculesteam-augeasproviders): execution expiredUgo Bellavance
09/13/2022, 9:21 PMUgo Bellavance
09/13/2022, 9:23 PM/etc/puppetlabs/r10k/r10k.yaml file is managed manually. I don't know why it lost the proxy line.Ugo Bellavance
09/13/2022, 9:26 PMUgo Bellavance
09/13/2022, 9:27 PMSlackbot
09/13/2022, 9:33 PMAndy Fry
09/13/2022, 10:18 PMnatemccurdy
09/13/2022, 10:21 PMusecacheonfailure isCVQuesty
09/13/2022, 10:21 PMnatemccurdy
09/13/2022, 10:22 PMtrue.natemccurdy
09/13/2022, 10:22 PMusecacheonfailure isCVQuesty
09/13/2022, 10:22 PMnatemccurdy
09/13/2022, 10:23 PMpuppet agent -t, the -t option includes --no-usecacheonfailure
-t is short for --test. Refer to https://puppet.com/docs/puppet/7/man/agent.html#options to see what all --test includes.natemccurdy
09/13/2022, 10:24 PMpuppet agent -t, the -t option includes --no-usecacheonfailure
-t is short for --test. Refer to https://puppet.com/docs/puppet/7/man/agent.html#options to see what all --test includes.Andy Fry
09/13/2022, 10:26 PMAndy Fry
09/13/2022, 10:30 PMnatemccurdy
09/13/2022, 10:31 PMsilug
09/13/2022, 11:59 PMvagrant available, https://github.com/puppet-bootstrap/basic-aio is a quick way to get a test puppet environment runningAndy Fry
09/14/2022, 3:33 AM