Brian Schonecker
02/27/2026, 8:37 PMFilepath: /etc/puppetlabs/code/environments/1052_slowly_bring_mongdb_into_puppetization/modules/mongodb/templates/mongoshrc.js.erb
Line: 37
Detail: undefined method `gsub' for nil:NilClass
(file: /etc/puppetlabs/code/environments/1052_slowly_bring_mongdb_into_puppetization/modules/mongodb/manifests/server/config.pp, line: 164, column: 18) on node nfiv-mgdb-04d.example.com
This is the only module in my module path that has 'gsub' in any of the templates. I'm running RHEL9 on the OpenVox server and RHEL8.10 and openvox-aent 8.25.0-1.el8.x86_64 on the agents/clients. Since 'gsub' has been a part of the puppet-mongodb module for quite some time, I'm sure it's not a bug and is on my side. I would appreciate any pointers as to where to start looking.