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:
0f80681
)
Enable lingering for jenkins user for jenkins role
author
Aurelien Jarno
<aurelien@aurel32.net>
Sun, 8 Sep 2019 13:37:00 +0000
(15:37 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sun, 8 Sep 2019 13:37:55 +0000
(15:37 +0200)
modules/roles/manifests/jenkins.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/jenkins.pp
b/modules/roles/manifests/jenkins.pp
index
857c2be
..
f036d19
100644
(file)
--- a/
modules/roles/manifests/jenkins.pp
+++ b/
modules/roles/manifests/jenkins.pp
@@
-11,4
+11,12
@@
class roles::jenkins {
notify => Exec['service apache2 reload'],
key => true,
}
+
+ file { '/var/lib/systemd/linger':
+ ensure => directory,
+ mode => '755',
+ }
+ file { '/var/lib/systemd/linger/jenkins':
+ ensure => present,
+ }
}