Skip to content

Commit fe75751

Browse files
committed
#106 fix permissions on the key files
puppet-enterprise-installer sets ownership to pe-puppet and mode to 0600 for the r10k private key, but does not manage the license key change permissions, so pe-puppet can access license key during catalog compilation
1 parent 748e41a commit fe75751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: plans/action/install.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
$master_replica_target,
248248
]),
249249
path => '/etc/puppetlabs/puppetserver/ssh/id-control_repo.rsa',
250-
mode => '0400',
250+
mode => '0600',
251251
content => $r10k_private_key,
252252
)
253253
}
@@ -258,7 +258,7 @@
258258
$master_replica_target,
259259
]),
260260
path => '/etc/puppetlabs/license.key',
261-
mode => '0400',
261+
mode => '0644',
262262
content => $license_key,
263263
)
264264
}

0 commit comments

Comments
 (0)