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
require 'spec_helper_acceptance' | |
test_name "ignore interface" | |
hosts.each do |host| | |
describe "ignore iptables rules on #{host}" do | |
context 'apply rules and toggle iptables::ignore' do | |
nic = fact_on(host,'networking.primary').strip | |
# Remove last character and add universal matcher to test regex |
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/ruby | |
# Detect the tagger of the latest tagged release | |
# Create an oath token it github with repo scope | |
$OAUTH_TOKEN = ENV['OAUTH_TOKEN'] | |
$DEBUG = false | |
success = {} | |
failure = {} |
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
# refs recorded for SIMP release 6.0.0 | |
# vi:syntax=ruby | |
moduledir 'src' | |
mod 'simp-doc', | |
:git => 'https://github.com/simp/simp-doc', | |
:ref => 'master' | |
mod 'simp-rsync', |
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/ruby | |
legacy_opts = [ | |
'simp_auditing', | |
'use_auditd', | |
'enable_auditing', | |
'enable_clamav', | |
'dns::search', | |
'dns::servers', | |
'use_fips', |
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/ruby | |
require 'highline/import' | |
# 1 | |
repo = ARGV[0] | |
dir = ARGV[1] | |
reponame = repo.split('/')[1] | |
system( "git clone https://github.com/#{repo} #{dir}" ) or raise "Failed to git clone #{reponame}" | |
if dir | |
Dir.chdir dir |
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 | |
# | |
# TPM creation script. | |
# | |
# Version: 0.1.0-Alpha (7/29/2016) | |
# Only supports fc24. | |
# | |
# - Utilizes swtpm_cuse to set up and create a virtual TPM. | |
# - See https://simp-project.atlassian.net/wiki/x/CgAVAg for information on how to | |
# install swtpm and enable passthrough in libvirt. |