Skip to content

Commit 2b789aa

Browse files
miharpclaude
andcommitted
openvox 8x: remove concat approach from managing-with-puppet section
The certs/+rehash file+exec example covers the recommended approach without needing an extra module dependency. SSL_CERT_FILE manual steps remain documented for Windows edge cases. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Michael Harp <mike@mikeharp.com>
1 parent 002087f commit 2b789aa

1 file changed

Lines changed: 0 additions & 43 deletions

File tree

docs/_openvox_8x/ssl_custom_ca_proxy.md

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ SSL_CERT_FILE=/etc/ssl/certs/puppet-custom-bundle.pem puppet agent -t
9191

9292
## Managing with Puppet
9393

94-
### `certs/` + rehash (simplest)
95-
9694
Deploy the CA with a `file` resource and trigger `openssl rehash` on change:
9795

9896
```puppet
@@ -120,47 +118,6 @@ profile::proxy_ca_cert: |
120118
-----END CERTIFICATE-----
121119
```
122120

123-
### `SSL_CERT_FILE` merged bundle (covers gem installs on Windows or when rehash is unavailable)
124-
125-
Use [puppetlabs/concat](https://forge.puppet.com/modules/puppetlabs/concat) to assemble
126-
the merged bundle. The `file:///` source scheme reads `cert.pem` from the local filesystem
127-
at catalog apply time, so the bundle automatically picks up fresh Mozilla certs after an
128-
`openvox-agent` upgrade:
129-
130-
```puppet
131-
concat { '/etc/ssl/certs/puppet-custom-bundle.pem':
132-
ensure => present,
133-
owner => 'root',
134-
group => 'root',
135-
mode => '0644',
136-
}
137-
138-
concat::fragment { 'openvox-mozilla-bundle':
139-
target => '/etc/ssl/certs/puppet-custom-bundle.pem',
140-
source => 'file:///opt/puppetlabs/puppet/ssl/cert.pem',
141-
order => '01',
142-
}
143-
144-
concat::fragment { 'proxy-ca':
145-
target => '/etc/ssl/certs/puppet-custom-bundle.pem',
146-
content => lookup('profile::proxy_ca_cert'),
147-
order => '02',
148-
}
149-
150-
file { '/etc/systemd/system/puppet.service.d/ssl_cert_file.conf':
151-
ensure => file,
152-
owner => 'root',
153-
group => 'root',
154-
mode => '0644',
155-
content => "[Service]\nEnvironment=SSL_CERT_FILE=/etc/ssl/certs/puppet-custom-bundle.pem\n",
156-
notify => Exec['systemd-daemon-reload'],
157-
}
158-
159-
exec { 'systemd-daemon-reload':
160-
command => '/bin/systemctl daemon-reload',
161-
refreshonly => true,
162-
}
163-
```
164121

165122
## Verifying the configuration
166123

0 commit comments

Comments
 (0)