helindbe
12/08/2022, 3:09 PMbastelfreak
12/08/2022, 3:09 PMhelindbe
12/08/2022, 3:09 PMStevan Svilokos
12/08/2022, 3:12 PM--compile and lookup command is not an issue it is able to find and process the hiera entry, lookup function is simply skipping the Hierarchy entry it only picks up the name, but doesn't process the paths, and skips to next Hierarchy entry 😞Stevan Svilokos
12/08/2022, 3:54 PMStevan Svilokos
12/08/2022, 3:54 PMwil.rodriguez
12/08/2022, 4:00 PM.puppet-lint.rc file actually WAS working. There were just some new checks that weren't documented on the puppet-lint website included in the PDK for parameter documentation and I thought they were supposed to be turned off by the --no-documentation-check setting, but it turns out, I was wrong. I found the relevant checks via pdk bundle exec puppet-lint --help and then turned them off and it worked as expected. Thanks to everyone for your ideas and support.helindbe
12/08/2022, 4:22 PMSlackbot
12/08/2022, 5:13 PMwil.rodriguez
12/08/2022, 5:18 PMP. Aiello
12/08/2022, 5:20 PMgary
12/08/2022, 10:52 PMSlackbot
12/09/2022, 1:01 AMAlan Hargreaves
12/09/2022, 1:05 AMlib/puppet/provider/package/pkg.rb , specifically in a global zone with a lot of non-global zones (one of mine has 75 of them), an pkg update -n to verify the correct version of a package is both enormously expensive, and, if we are running puppet in the zones, doomed to fail. It seems to me that the information we want already exists in the output of the pkg(:list, '-Hvfa', "#{name}@#{should}") , in that if the final column has an “i” in it, then that states that tis is the version that is currently installed.Slackbot
12/09/2022, 8:45 AMSlackbot
12/09/2022, 11:22 AMDiana Scannicchio
12/09/2022, 11:23 AM[root@sbc]# facter partitions
[2022-12-01 08:49:13.828011 ] ERROR Facter::InternalFactManager - undefined method `[]' for nil:NilClass
Likely the issue does not prevent the correct configuration of the nodes, but it produce an error:
Error: Facter: undefined method `[]' for nil:NilClassDiana Scannicchio
12/09/2022, 11:23 AM[root@sbc]# facter partitions
[2022-12-01 08:49:13.828011 ] ERROR Facter::InternalFactManager - undefined method `[]' for nil:NilClass
Likely the issue does not prevent the correct configuration of the nodes, but it produce an error:
Error: Facter: undefined method `[]' for nil:NilClassjosh
12/09/2022, 3:46 PMYury Bushmelev
12/09/2022, 4:10 PMSlackbot
12/09/2022, 6:39 PMhbarina
12/09/2022, 6:42 PMSlackbot
12/09/2022, 6:47 PMhbarina
12/09/2022, 6:47 PMnewhash = hash1 + hash2
Works well for me, entries with common keys from hash2 override and replace those in hash1
Can I do something like:
newhash = (hash1 + hash2) + hash3
Seems like you should.
ThanksYorokobi
12/09/2022, 6:48 PMDiana Scannicchio
12/10/2022, 8:47 AM[root@sbc]# facter partitions
[2022-12-01 08:49:13.828011 ] ERROR Facter::InternalFactManager - undefined method `[]' for nil:NilClass
Likely the issue does not prevent the correct configuration of the nodes, but it produce an error:
Error: Facter: undefined method `[]' for nil:NilClass.Diana Scannicchio
12/10/2022, 8:48 AM[root@sbc]# facter partitions
[2022-12-01 08:49:13.828011 ] ERROR Facter::InternalFactManager - undefined method `[]' for nil:NilClass
Likely the issue does not prevent the correct configuration of the nodes, but it produce an error:
Error: Facter: undefined method `[]' for nil:NilClass.
Added: I believe that the bug is in "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/facter/facts/linux/partitions.rb" line 9: the possibility of not having a disk and therefore a partitions is not accounted for.William Myers
12/11/2022, 1:08 AMDec 8 14:47:19 vmpuppetmaster01 kernel: [ 1521.332427] [UFW BLOCK] IN=ens160 OUT= MAC=00:50:56:95:ad:31:74:ac:b9:3a:65:1b:08:00 SRC=192.168.60.10 DST=192.168.4.62 LEN=52 TOS=0x00 PREC=0x00 TTL=63 ID=23093 DF PROTO=TCP SPT=59528 DPT=8140 WINDOW=64240 RES=0x00 SYN URGP=0William Myers
12/11/2022, 1:08 AMWilliam Myers
12/11/2022, 1:09 AM