Fix oneiric1 cgroups and ulimits check.

The check for the inclusion of cgroups and ulimits on oneiric one
incorrectly used the $hostname fact instead of the $fqdn fact. Correct
the check.

Change-Id: I214c81e42a527eb22bf7eb4f81f6d74ae8f47414
Reviewed-on: https://review.openstack.org/15922
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2012-11-12 14:26:35 -08:00 committed by Jenkins
parent 1a2216f322
commit 8d61d1d483

View File

@ -251,7 +251,7 @@ node /^oneiric.*\.slave\.openstack\.org$/ {
swift_store_key => hiera('swift_store_key'),
swift_store_container => hiera('swift_store_container'),
}
if $::hostname == 'oneiric1.slave.openstack.org' {
if $::fqdn == 'oneiric1.slave.openstack.org' {
include jenkins::cgroups
include ulimit
ulimit::conf { 'limit_jenkins_procs':