Merge "Fix dib-lint failures"

This commit is contained in:
Jenkins 2014-09-02 19:07:06 +00:00 committed by Gerrit Code Review
commit a44bed520d
28 changed files with 33 additions and 33 deletions

View File

@ -7,17 +7,17 @@ set -o pipefail
if [[ "rhel rhel7 centos fedora" =~ "$DISTRO_NAME" ]]; then
# we're running a RHEL-based distro, so we need to install to
# /usr/share/check-mk-agent/local
LOCAL_CHECK_ROOT=/usr/share/check-mk-agent/local
# we're running a RHEL-based distro, so we need to install to
# /usr/share/check-mk-agent/local
LOCAL_CHECK_ROOT=/usr/share/check-mk-agent/local
else
# We're running a debian-based distro so we need to install
# to /usr/lib/check_mk_agent/local/
LOCAL_CHECK_ROOT=/usr/lib/check_mk_agent/local
# We're running a debian-based distro so we need to install
# to /usr/lib/check_mk_agent/local/
LOCAL_CHECK_ROOT=/usr/lib/check_mk_agent/local
fi
mkdir -p $LOCAL_CHECK_ROOT
LOCAL_CHECK_SOURCE=$(dirname $0)/../check_mk_checks
if [[ -d "${LOCAL_CHECK_SOURCE}" ]]; then
install -m 0755 -o root -g root $LOCAL_CHECK_SOURCE/* $LOCAL_CHECK_ROOT/
install -m 0755 -o root -g root $LOCAL_CHECK_SOURCE/* $LOCAL_CHECK_ROOT/
fi

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -eu
if [ -d /etc/sudoers.d ]; then
echo "Defaults:cinder !requiretty" > /etc/sudoers.d/cinder-notty

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Enforce a maximum size on the image size
set -e
set -eu
if (( '16' '>' $DIB_IMAGE_SIZE )); then
echo DIB_IMAGE_SIZE=16

View File

@ -3,7 +3,7 @@
# (also includes the bootstrap-from-devstack facilities needed until we have
# full image mastering of openstack).
set -e
set -eu
set -o xtrace
install-packages git

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Initialize devstack in the bootstrap image
set -e
set -eu
set -o xtrace
install-packages git

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Install the haveged daemon so ssh config on startup isn't glacial.
set -e
set -eu
set -o xtrace
install-packages haveged

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Configure eth1, the baremetal network.
set -e
set -eu
set -o xtrace
cat << EOF >> /etc/network/interfaces

View File

@ -2,7 +2,7 @@
# Regenerate host keys now. XXX: Really should be a cloud-init task, should get
# that working.
set -e
set -eu
set -o xtrace
dpkg-reconfigure openssh-server

View File

@ -5,8 +5,8 @@ set -uex
install-packages python-psutil gcc python-dev
if [[ "fedora" = "$DISTRO_NAME" ]]; then
# Remove the pre-installed package version of heat-cfntools
yum remove -y heat-cfntools
# Remove the pre-installed package version of heat-cfntools
yum remove -y heat-cfntools
fi
VENV=/opt/stack/venvs/heat-cfntools

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -eu
install-packages python-mysqldb

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -e
set -eu
os-svc-enable -n heat-engine

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -eu
install-packages python-setuptools python-eventlet python-greenlet \
python-httplib2 python-iso8601 python-lxml python-sqlalchemy \
python-paste python-routes python-webob python-yaml libffi-dev

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -eu
if [ -d /etc/sudoers.d ]; then
echo "Defaults:ironic !requiretty" > /etc/sudoers.d/ironic-notty

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -e
set -eu
set -o xtrace
install-packages jenkins

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -e
set -eu
set -o xtrace
source $(dirname $0)/defaults

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Add the Jenkins package archive
set -e
set -eu
set -o xtrace
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -

View File

@ -10,7 +10,7 @@ CONFIG_PARAMETERS="--config-dir /etc/nova"
TEMPLATE_ROOT=$(dirname $0)/../os-apply-config
if [ -d ${TEMPLATE_ROOT}/etc/nova/compute ]; then
CONFIG_PARAMETERS="${CONFIG_PARAMETERS} --config-dir /etc/nova/compute"
CONFIG_PARAMETERS="${CONFIG_PARAMETERS} --config-dir /etc/nova/compute"
fi
os-svc-daemon -i "$NOVA_VENV_DIR" -e "LIBVIRT_DEFAULT_URI=qemu:///system" nova-compute nova nova-compute "${CONFIG_PARAMETERS}"

View File

@ -6,7 +6,7 @@
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT

0
elements/sosreport/environment.d/90-sos-plugins-env Normal file → Executable file
View File

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Add the stack user we recommend folk use.
set -e
set -eu
set -o xtrace
useradd -m stack -s /bin/bash

View File

@ -7,7 +7,7 @@
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
@ -37,14 +37,14 @@ so the regular expression should account for that.
For example, the following scenario:
run all the smoke tests and scenario tests,
but exclude the api.volume tests.
run all the smoke tests and scenario tests,
but exclude the api.volume tests.
is implemented as:
+.*smoke
+tempest\.scenario
-tempest\.api\.volume.*
+.*smoke
+tempest\.scenario
-tempest\.api\.volume.*
"""
whitelist = []

0
elements/tripleo-cd/configs/te_commonrc Normal file → Executable file
View File

0
elements/tripleo-cd/configs/te_hp1rc Normal file → Executable file
View File

0
elements/tripleo-cd/configs/te_localrc Normal file → Executable file
View File

0
elements/tripleo-cd/configs/te_rh1rc Normal file → Executable file
View File

View File

@ -1,6 +1,6 @@
#!/bin/bash
# Install bleeding edge tools instead of stable ones.
set -e
set -eu
add-apt-repository -y ppa:tripleo/demo-staging