feat: enable terraform access to puppetca (#267)

- enable terraform to clean certificates

Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/267
This commit was merged in pull request #267.
This commit is contained in:
2025-04-28 18:46:58 +10:00
parent 9359b8902e
commit 07b89ab737
2 changed files with 275 additions and 0 deletions
+9
View File
@@ -65,6 +65,15 @@ class profiles::puppet::server (
notify => Service['puppetserver'],
}
file { '/etc/puppetlabs/puppetserver/conf.d/auth.conf':
ensure => 'file',
content => template('profiles/puppet/server/auth.conf.erb'),
group => 'root',
owner => 'root',
mode => '0644',
notify => Service['puppetserver'],
}
service { 'puppetserver':
ensure => running,
enable => true,