Skip to content

Commit f23de83

Browse files
committed
Pin master to PE Database group
It appears that in a default install, the master is pinned to this group.
1 parent 763b877 commit f23de83

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

manifests/setup/node_manager.pp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@
7575
parent => 'PE Infrastructure',
7676
environment => 'production',
7777
override_environment => false,
78-
rule => ['and', ['=', ['trusted', 'extensions', peadm::oid('peadm_role')], 'puppet/puppetdb-database']],
78+
rule => ['or',
79+
['and', ['=', ['trusted', 'extensions', peadm::oid('peadm_role')], 'puppet/puppetdb-database']],
80+
['=', 'name', $master_host],
81+
],
7982
classes => {
8083
'puppet_enterprise::profile::database' => { },
8184
},

0 commit comments

Comments
 (0)