projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4f42e
)
the dsa user on the draghi pushes compiled nagios config (nrpe) to the puppet master
author
Peter Palfrader
<peter@palfrader.org>
Mon, 9 Sep 2019 20:26:14 +0000
(22:26 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 9 Sep 2019 20:26:14 +0000
(22:26 +0200)
modules/roles/manifests/dbmaster.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/dbmaster.pp
b/modules/roles/manifests/dbmaster.pp
index
a382a26
..
1bd9d2b
100644
(file)
--- a/
modules/roles/manifests/dbmaster.pp
+++ b/
modules/roles/manifests/dbmaster.pp
@@
-39,4
+39,12
@@
class roles::dbmaster {
service { 'slapd':
ensure => running,
}
+
+ ssh::keygen {'dsa': }
+ ssh::authorized_key_add { 'dbmaster::puppetmaster::nagios-build':
+ target_user => 'puppet',
+ command => '/srv/puppet.debian.org/sync/bin/puppet-ssh-wrap draghi.debian.org nagiosconfig',
+ key => $facts['dsa_key'],
+ collect_tag => 'puppetmaster',
+ }
}