Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
require_relative 'example_helper'
class Stuck < Dynflow::Action
def plan
puts "Getting stuck"
Kernel.exit!
end
@adamruzicka
adamruzicka / dynflow-csv
Last active November 7, 2018 07:41 — forked from iNecas/dynflow-csv
#!/usr/bin/env bash
PROGNAME="$(basename "$0")"
WITHOUT_DYNFLOW=0
DB=dynflow-import
DB_USER=postgres
# DB_PASSWORD=
DB_HOST=""
PSQL_FLAGS=""
@adamruzicka
adamruzicka / kickstart.toml
Created August 9, 2018 12:11
Files used for lorax-composer and Satellite 6 integration
name = "rhel-7-server-kickstart"
url = "http://satellite63.internal.lan/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7.5/x86_64/kickstart/"
check_gpg = true
system = false
gpgkey_urls = ["file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release"]
check_ssl = true
type = "yum-baseurl"
#!/bin/bash
PROGNAME="$0"
EXECUTE=0
RAKE_COMMAND="${RAKE_COMMAND:-"forman-rake"}"
function die() {
local code="$1"
local message="$2"
echo "$message" >&2

Keybase proof

I hereby claim:

  • I am adamruzicka on github.
  • I am aruzicka (https://keybase.io/aruzicka) on keybase.
  • I have a public key ASAxRdjMH4mViDTlkC2ppCB5oS8RCTq8Pt2-O7uLRE9WcAo

To claim this, I am signing this object:

@adamruzicka
adamruzicka / prepare.sh
Created September 3, 2017 21:45
Deploy async-ssh onto a fresh satellite 6.3
#!/bin/bash
set -x
function store_repository_state() {
if [ -d '.git' ]; then
report ".git is already present, skipping"
else
report "Saving repository state"
git init
git add .