This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y install git | |
git clone https://github.com/openstack/packstack.git | |
cd packstack/ | |
git fetch https://review.openstack.org/openstack/packstack refs/changes/70/269870/5 && git checkout FETCH_HEAD | |
export SCENARIO=$1 | |
./run_tests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Call class { 'ceph::profile::params': } with vars that look like what is | |
# in https://github.com/openstack/puppet-ceph/blob/master/examples/common.yaml | |
include ceph::profile::base | |
include ceph::profile::mon | |
include ceph::profile::osd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"handlers": { | |
"bot": { | |
"command": "/etc/sensu/handlers/bot.py --endpoint http://bot", | |
"type": "pipe", | |
"filters": [ | |
"recurrences-60" | |
], | |
"severities": [ | |
"ok", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*-Shell-script-*- | |
# | |
# functions This file contains functions to be used by most or all | |
# shell scripts in the /etc/init.d directory. | |
# | |
TEXTDOMAIN=initscripts | |
# Make sure umask is sane | |
umask 022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# This script is a Sensu mutator meant to accept data from Sensu as stdin in | |
# order to merge data from the event and check 'occurrences' fields in order | |
# to make them usable together in a filter. | |
import sys | |
try: | |
import simplejson as json | |
except ImportError: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /opt/sensu/embedded/lib/ruby/gems/2.2.0/gems/sensu-0.22.0/lib/sensu/server/filter.rb | |
require "sensu/server/sandbox" | |
module Sensu | |
module Server | |
module Filter | |
# Determine if a period of time (window) is subdued. The | |
# provided condition must have a `:begin` and `:end` time, eg. | |
# "11:30:00 PM", or `false` will be returned. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright Red Hat, Inc. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# 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 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puppet-* | |
puppetforge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/openstack/packstack | |
cd packstack | |
git checkout stable/mitaka | |
git tag -s 8.0.0.0rc1 -m 8.0.0.0rc1 | |
git review -s | |
git push gerrit 8.0.0.0rc1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum -y install yum-plugin-priorities | |
# Add Mitaka repositories | |
curl http://trunk.rdoproject.org/centos7-mitaka/delorean-deps.repo |tee /etc/yum.repos.d/delorean-deps.repo | |
curl http://trunk.rdoproject.org/centos7-mitaka/current-passed-ci/delorean.repo |tee /etc/yum.repos.d/delorean.repo | |
# Install packstack and dependencies | |
yum -y install openstack-packstack |