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:
ca0f426
)
systemd: create unexistent .d directory v2
author
Héctor Orón Martínez
<zumbi@debian.org>
Wed, 31 Jan 2018 16:11:33 +0000
(17:11 +0100)
committer
Héctor Orón Martínez
<zumbi@debian.org>
Wed, 31 Jan 2018 16:11:33 +0000
(17:11 +0100)
Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
modules/systemd/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/systemd/manifests/init.pp
b/modules/systemd/manifests/init.pp
index
47af705
..
d5b896d
100644
(file)
--- a/
modules/systemd/manifests/init.pp
+++ b/
modules/systemd/manifests/init.pp
@@
-7,8
+7,10
@@
class systemd {
systemd::mask { 'sys-kernel-debug.mount': }
if $::hostname == 'godard' {
+ exec {'mkdir -p /etc/systemd/journald.conf.d':
+ unless => 'test -d /etc/systemd/journald.conf.d',
+ }
file { '/etc/systemd/journald.conf.d/persistency.conf':
- command => 'mkdir -p /etc/systemd/journald.conf.d/',
source => 'puppet:///modules/systemd/persistency.conf',
}
}