Skip to content

Commit

Permalink
Drop xvfb from jenkins master and workers
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrisker committed Apr 1, 2019
1 parent 23604b9 commit 3b43a6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion puppet/modules/jenkins_master/manifests/init.pp
Expand Up @@ -189,7 +189,6 @@
'workflow-step-api' => {},
'workflow-support' => {},
'xunit' => {},
'xvfb' => {},
'zentimestamp' => {},
}

Expand Down
12 changes: 1 addition & 11 deletions puppet/modules/slave/manifests/init.pp
Expand Up @@ -117,12 +117,6 @@
'Debian' => 'iceweasel',
default => 'firefox'
};
'xvfb':
ensure => present,
name => $::osfamily ? {
'Debian' => 'xvfb',
default => 'xorg-x11-server-Xvfb'
};
'augeas-dev':
ensure => present,
name => $::osfamily ? {
Expand Down Expand Up @@ -305,11 +299,7 @@

# Cleanup Jenkins Xvfb processes from aborted builds after a day
file { '/etc/cron.daily/xvfb_cleaner':
ensure => file,
owner => 'root',
group => 'root',
mode => '0755',
content => "#!/bin/sh\nps -eo pid,etime,comm | awk '(\$2 ~ /-/ && \$3 ~ /Xvfb/) { print \$1 }' | xargs kill >/dev/null 2>&1 || true\n",
ensure => absent,
}

# Cleanup Jenkins Ruby processes from aborted builds after a day
Expand Down

0 comments on commit 3b43a6c

Please sign in to comment.