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:
130cab8
)
add ud-replicated to inittab
author
Stephen Gran
<steve@lobefin.net>
Sat, 18 Jan 2014 10:54:17 +0000
(10:54 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 18 Jan 2014 10:54:41 +0000
(10:54 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/debian-org/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/debian-org/manifests/init.pp
b/modules/debian-org/manifests/init.pp
index
1d8c8e7
..
8264a30
100644
(file)
--- a/
modules/debian-org/manifests/init.pp
+++ b/
modules/debian-org/manifests/init.pp
@@
-137,6
+137,16
@@
class debian-org {
key => 'puppet:///modules/debian-org/db.debian.org.asc',
}
+ augeas { 'inittab_replicate':
+ context => '/files/etc/inittab',
+ changes => [
+ 'set ud/runlevels 2345',
+ 'set ud/action respawn',
+ "set mo/process /usr/bin/ud-replicated",
+ ],
+ notify => Exec['init q'],
+ }
+
if getfromhash($site::nodeinfo, 'hoster', 'mirror-debian') {
site::aptrepo { 'debian':
url => getfromhash($site::nodeinfo, 'hoster', 'mirror-debian'),