Skip to content

Define multiple puppetdb servers in hiera #386

Open
@Szparki

Description

@Szparki

Use Case

As far as I know as of now you can only define a single PuppetDB server in hieradata, I have two PuppetDB servers for the same Puppet Master. It would be good to support two or more.

Describe the Solution You Would Like

support something like the following in hiera:

puppet_db:
  server
    - server1
    - server2
    - server N

Then in the manifest file we can do the following:

$puppet_db = hiera_hash('puppet_db')

  class { 'puppet::server::puppetdb':
      * => $puppet_db 
    }

Describe Alternatives You've Considered

Not managing /etc/puppetlabs/puppet/puppetdb.conf with this module

Additional Context

Maybe there is a solution for this that I couldn't find in the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions