Hi Martin. I ended up with wrapping everything in my own profile classes and controlling it from there since I need to setup certs, auth, etc. anyway.
Thanks. Den lördag 13 juni 2020 kl. 16:43:50 UTC+2 skrev Martin Alfke: > > > postgresql::globals::manage_package_repo: false > postgresql::globals::version: '9.6', > > > On 12. Jun 2020, at 17:40, Devminded <[email protected] <javascript:>> > wrote: > > > > Hi. > > > > 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 > > • mod 'puppetlabs/postgresql', '6.5.0' > > • mod 'puppetlabs/puppetdb', '7.4.0' > > • mod 'puppetlabs/stdlib', '6.3.0' > > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/4d58c1ea-0652-474f-bc50-c0c150c0eb00o%40googlegroups.com. > > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/68801878-cf98-41e2-9d8a-70bd79f2e884o%40googlegroups.com.
