This file contains hidden or 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 bash | |
yum -y install curl unzip nc autoconf | |
# Add the Webtatic repository to get git software. | |
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm | |
# Install the latest version of git | |
yum -y install --enablerepo=webtatic git-all |
This file contains hidden or 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
import com.dtolabs.rundeck.plugins.notification.NotificationPlugin; | |
import com.dtolabs.rundeck.core.plugins.configuration.StringRenderingConstants; | |
import com.dtolabs.rundeck.core.plugins.configuration.ValidationException; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
// curl -H "Content-type: application/json" -X POST \ | |
// -d '{ | |
// "service_key": "ee59049e89dd45f28ce35467a08577cb", | |
// "event_type": "trigger", | |
// "description": "FAILURE for production/HTTP on machine srv01.acme.com", |
This file contains hidden or 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 bash | |
# Exit immediately on error or undefined variable. | |
set -e | |
set -u | |
# Process command line arguments. | |
if [ $# -ne 4 ] | |
then | |
echo >&2 "usage: bootstrap rdversion hostname hostip mysqladdr" |
This file contains hidden or 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
description: Acess for dev. | |
context: | |
project: '.*' | |
for: | |
job: | |
- equals: | |
group: 'anvils' | |
name: 'Status' | |
allow: [run,read] | |
- equals: |
This file contains hidden or 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
com.dtolabs.rundeck.core.plugins.PluginException: Unable to expand plugin libs: /var/lib/rundeck/libext/cache/webdav-logstore-plugin/lib/httpclient-4.2.3.jar (Permission denied) | |
at com.dtolabs.rundeck.core.plugins.JarPluginProviderLoader.loadClass(JarPluginProviderLoader.java:328) | |
at com.dtolabs.rundeck.core.plugins.JarPluginProviderLoader.isLoaderFor(JarPluginProviderLoader.java:440) | |
at com.dtolabs.rundeck.core.plugins.DirPluginScanner.test(DirPluginScanner.java:217) | |
at com.dtolabs.rundeck.core.plugins.DirPluginScanner.scanAll(DirPluginScanner.java:238) | |
at com.dtolabs.rundeck.core.plugins.DirPluginScanner.scanForFile(DirPluginScanner.java:112) | |
at com.dtolabs.rundeck.core.plugins.FilePluginCache.rescanForItem(FilePluginCache.java:151) | |
at com.dtolabs.rundeck.core.plugins.FilePluginCache.getLoaderForIdent(FilePluginCache.java:102) | |
at com.dtolabs.rundeck.core.plugins.PluginManagerService.loadProvider(PluginManagerService.java:99) | |
at com.dtolabs.rundeck.core.plugins.ServiceProviderLoader$loadProvider.ca |
This file contains hidden or 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
description: Anonymous access. | |
context: | |
project: '.*' # all projects | |
for: | |
resource: | |
- allow: [read] | |
adhoc: | |
- allow: [read] | |
job: | |
- allow: [read] |
This file contains hidden or 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
<joblist> | |
<job> | |
<id>b3548839-620f-4f83-8b62-5047a579324b</id> | |
<loglevel>INFO</loglevel> | |
<sequence keepgoing='false' strategy='node-first'> | |
<command> | |
<scriptargs /> | |
<script><![CDATA[env|grep RD_ | |
echo ${node.name}]]></script> |
This file contains hidden or 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
$ rerun stubbs:add-module --module blar | |
$ rerun stubbs: add-command --module blar --command hi | |
$ rerun stubbs: add-command --module blar --command bye | |
$ vi /Users/alexh/rerun-workspace/rerun/modules/blar/commands/hi/script | |
$ vi /Users/alexh/rerun-workspace/rerun/modules/blar/commands/bye/script | |
$ rerun stubbs: add-command --module blar --command hi-bye | |
$ vi /Users/alexh/rerun-workspace/rerun/modules/blar/commands/hi-bye/script | |
$ rerun stubbs: archive --modules blar | |
Wrote self extracting archive script: /Users/alexh/rerun-workspace/rerun/rerun.bin |
This file contains hidden or 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 bash | |
# | |
# Migrate rerun 0.9 modules to the 1.0 spec | |
# | |
set -e | |
[[ $# = 1 ]] || { | |
echo >&2 "usage: $0 <moddir>" | |
exit 2 ; | |
} |
This file contains hidden or 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 | |
# | |
# repoqery -- | |
# | |
# This CGI generates JSON format suitable for Rundeck | |
# job option data. | |
# | |
# ----------------------------------------------------------- | |
# |