Neeloj
04/29/2025, 12:22 PMpuppet agent -t
the docker restart the container why ?
I change the pull_on_start to false
, and restart to no
it still restart the container.
docker::run { 'cadvisor':
image => '<http://gcr.io/cadvisor/cadvisor:latest|gcr.io/cadvisor/cadvisor:latest>',
pull_on_start => false,
ports => ['8000:8080'],
volumes => [
'/:/rootfs:ro',
'/var/run:/var/run:ro',
'/sys:/sys:ro',
'/var/lib/docker/:/var/lib/docker:ro',
'/dev/disk/:/dev/disk:ro',
], # Mount the required volumes
detach => true,
restart => 'no',
privileged => true,
extra_parameters => [
'--device=/dev/kmsg',
],
require => [
Class['role::docker'],
],
}
Neeloj
04/29/2025, 12:23 PMPatrick Forsberg
04/29/2025, 7:38 PMAshish Jaiswal
04/30/2025, 5:59 AMYury Bushmelev
04/30/2025, 6:44 AMIan
04/30/2025, 7:14 AM6.0.0
to 8.1.5
(latest) and I've hit the following issue. Does anyone know if I delete the files from the global cache like opentokix suggests would that break my environments using the old version of the module? For testing I need to "generate types" for the new module on our dev/staging but for the time being leave production on the old version
Could not autoload puppet/provider/firewall/iptables: Firewall is not a class · Issue #1162 · puppetlabs/puppetlabs-firewallLauren Hexum
04/30/2025, 8:47 PMCorporate Gadfly
05/01/2025, 4:31 PMjms1
05/01/2025, 8:39 PMjms1
05/02/2025, 7:19 PMUndef $xyz = undef
, which makes the compiler throw an error if the value is present, but the error message isn't clear to most people, and they interrupt me to translate the message from puppet to english. what i'm looking for is a way to detect this in code, so i can fail()
with a human-readable message that explains where the person should look for instructions (so they don't interrupt me)Chris
05/05/2025, 12:31 PMMargaret Lee
05/05/2025, 5:02 PMMarek Pastierik
05/06/2025, 11:39 AMjms1
05/06/2025, 8:01 PMvchepkov
05/06/2025, 8:16 PMvchepkov
05/06/2025, 8:16 PMhelindbe
05/06/2025, 8:25 PMhelindbe
05/06/2025, 8:28 PMjms1
05/06/2025, 8:29 PMinclude xyz
, it gets the class's parameters from (enc, hiera, etc.) and adds those to an internal "hash of variable values" somewhere, and adds the class's name to a list of classes to be "executed" later on in the compilation process ... then each successive include xyz
notices that the class is already on the list and doesn't do anything else ... yes? (the last time i dealt with compiler design was around 1993)helindbe
05/06/2025, 8:32 PMhelindbe
05/06/2025, 8:33 PMhelindbe
05/06/2025, 8:33 PMjms1
05/06/2025, 8:34 PMinclude
statements, and then later it actually "runs" the code to generate the resource declarations for the cataloghelindbe
05/06/2025, 8:34 PMjms1
05/06/2025, 8:35 PMinclude
, it actually "runs" the code of the "included" class and adds things to the catalog?helindbe
05/06/2025, 8:35 PMjms1
05/06/2025, 8:35 PMhelindbe
05/06/2025, 8:36 PMjms1
05/06/2025, 8:36 PMresources
array in the catalog that gets sent back to the agent?helindbe
05/06/2025, 8:38 PM