File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
modules/profile/manifests/puppet Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 265
265
266
266
Ssh_authorized_key <<| tag == ' profile::puppet::server::puppet_sync' |>>
267
267
268
+ systemd::timer { 'pull-puppet-ca' :
269
+ ensure => $is_primary .bool2str(' absent' , ' present' ),
270
+ user => ' root' ,
271
+ description => ' rsync puppet CA files from the primary server' ,
272
+ # TODO: stop hardcoding path once fully on Debian 12
273
+ command => " /usr/bin/rsync -avp --delete --chown puppet:puppet -e \" /usr/bin/ssh -i /etc/ssh/local_keys.d/puppet-sync\" ${primary_host} :/etc/puppetlabs/puppetserver/ca ${server_config_path} /ca" ,
274
+ interval => [' OnCalendar=*-*-* *:4/5:00' ],
275
+ }
276
+
268
277
# Expose SSH keys so users can verify them
269
278
file { '/srv/www' :
270
279
ensure => directory ,
You can’t perform that action at this time.
0 commit comments