$pupmod::certname should default to $trusted['certname'], not $facts['fqdn']

Description

The parameter [$pupmod::certname has a default value of $facts['fqdn']|https://github.com/simp/pupmod-simp-pupmod/blob/master/manifests/init.pp#L165].

This may not be appropriate when the system does not necessarily use its primary NIC/FQDN for its puppet certificate (a pattern on some cloud architectures).

A more appropriate default value would be $trusted['certname'].

Acceptance Criteria

None

Epic Link

None

Story Points

None

Components

Assignee

Trevor Vaughan

Affects versions

Priority

Medium
Configure