Willem Basson
06/07/2022, 10:11 AMbastelfreak
06/07/2022, 10:22 AMbastelfreak
06/07/2022, 10:23 AMNeeloj
06/07/2022, 11:39 AMSlackbot
06/07/2022, 11:39 AMSlackbot
06/07/2022, 12:44 PMchadh
06/07/2022, 12:44 PMNeeloj
06/07/2022, 12:49 PMLumiere
06/07/2022, 1:34 PMSlackbot
06/07/2022, 2:14 PMSlackbot
06/07/2022, 3:37 PMSlackbot
06/07/2022, 3:52 PMZeke Marffy
06/07/2022, 3:52 PMupdate
called vs. create
when it comes to the Resource API? When changing a file's content, Puppet still runs the create, not an update, as I'd expect, for this module. Thoughts on why this might be?Dr Bunsen Honeydew
06/07/2022, 4:45 PMseanmil
06/07/2022, 5:42 PMensure
and name
keys. but since those are the only resource attributes update would never be called. the name is, well, the name, which uniquely identifies it and ensure determines if it should exist (create
) or not (delete
). there are no attributes there which would ever trigger an update on an existing resource. the logic implementing which of those methods is call is here: https://github.com/puppetlabs/puppet-resource_api/blob/main/lib/puppet/resource_api/simple_provider.rbSlackbot
06/07/2022, 6:21 PMthedonkdonk
06/07/2022, 7:12 PMError: Could not retrieve catalog from remote server: Could not intern from text/pson: Could not autoload puppet/type/cron: /opt/puppetlabs/puppet/cache/lib/puppet/type/cron.rb:213: syntax error, unexpected '.'
return_value = return_value[0] if return_value&.is_a?(Array)
^
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Pat Riehecky
06/07/2022, 7:22 PMSlackbot
06/07/2022, 7:31 PMDr Bunsen Honeydew
06/07/2022, 7:31 PMpuppetlabs-cron_core
module at https://forge.puppet.com/puppetlabs/cron_core?src=slack&channel=puppetPeter
06/07/2022, 9:06 PMPeter
06/07/2022, 9:07 PMbinford2k
06/07/2022, 9:07 PMPeter
06/07/2022, 9:07 PMAllahshukur Ahmadzada
06/08/2022, 1:05 PMAllahshukur Ahmadzada
06/08/2022, 1:05 PMCVQuesty
06/08/2022, 2:41 PMCVQuesty
06/08/2022, 2:43 PMAllahshukur Ahmadzada
06/08/2022, 2:44 PMCVQuesty
06/08/2022, 2:44 PM