I am trying to disable the managing of the Postgresql repo using Hiera when using the puppetlabs/postgresql module. I have tried every Hiera combination I can think of (from reading the docs/code) but nothing works.
- puppetdb::database::postgresql::manage_package_repo: false
- puppetdb::globals::manage_package_repo: false
- postgresql::globals::manage_package_repo: false
It still adds the /etc/apt/sources.list.d/apt.postgresql.org.list which won't work since we are using our own Aptly mirror and servers cannot directly communicate with the internet, and so the apt update fails and the entire puppet agent run fails with it.
How do I disable the management of /etc/apt/sources.list.d/apt.postgresql.org.list using Hiera?
System:
- OS: Ubuntu 16.04 and 20.04 puppetserver version: 6.12.0
- puppet-version: 6.16.0
- puppetserver version: 6.12.0
- mod 'puppetlabs/postgresql', '6.5.0'
- mod 'puppetlabs/puppetdb', '7.4.0'
- mod 'puppetlabs/stdlib', '6.3.0'