Instructions on how to setup Jenkins CI on a Mac for use with test-kitchen. Since I need to test against OS X Images, I'm using Vagrant, the Vagrant VMWare Plugin and VMWare Fusion.
All of these operations are done with the admin user.
curl -u deploystudioadmin -k http://dsbox:60080/computers/get/all > dscomputers.plist; \ | |
plutil -convert xml1 dscomputers.plist; \ | |
subl dscomputers.plist |
/usr/libexec/PlistBuddy -c "Set :computers:00\:00\:00\:AA\:AA\:AA:cn diane" out.plist |
#!/bin/bash | |
######################################### | |
set -euo pipefail | |
IFS=$'\n\t' | |
######################################### | |
# IP Walrus | |
# (OS X Command Line Network Interface Assistant) | |
# Ryan Moon ryanmoon@users.noreply.github.com | |
# Created on 10/29/2013 | |
# Version 3.0.0 on 07/27/2015 |
Instructions on how to setup Jenkins CI on a Mac for use with test-kitchen. Since I need to test against OS X Images, I'm using Vagrant, the Vagrant VMWare Plugin and VMWare Fusion.
All of these operations are done with the admin user.
#!/bin/bash | |
# Bender | |
# Written by Chad Nielsen | |
# Forget Computers, Get Creative! | |
# Version History | |
# 1.0 - Initial creation of script for use with a companion launch daemon. | |
# 1.1 - Moved binary and log locations to /usr/local/robotcloud. | |
# 1.2 - Code improvements and added compatibility with OS X 10.9 Mavericks. |
com.day.crx { | |
com.day.crx.core.CRXLoginModule sufficient | |
tokenExpiration="43200000"; | |
com.day.crx.security.ldap.LDAPLoginModule required | |
principal_provider.class="com.day.crx.security.ldap.principals.LDAPPrincipalProvider" | |
host="$IP_OR_FQDN" | |
port="389" | |
secure="false" | |
userIdAttribute="uid" | |
groupRoot="cn=groups,dc=$HOST,dc=$DOMAIN,dc=com" |
httpd::default | |
Command "curl http://localhost" | |
stdout | |
should match /WARNING/ (FAILED - 1) | |
Failures: | |
1) httpd::default Command "curl http://localhost" stdout should match /WARNING/ | |
Failure/Error: its(:stdout) { should match (/WARNING/) } | |
ttp://www.centos.org/\"><img src=\"/icons/poweredby.png\" alt=\"[ Powered by CentOS Linux ]\" width=\"88\" height=\"31\" /></a></p>\n\t\t\t\t</div>\n\t\t\t</div>\n </div>\n <div class=\"content\">\n<div class=\"content-middle\"><h2>About CentOS:</h2><b>The Community ENTerprise Operating System</b> (CentOS) Linux is a community-supported enterprise distribution derived from sources freely provided to the public by Red Hat. As such, CentOS Linux aims to be functionally compatible with Red Hat Enterprise Linux. The CentOS Project is the organization that builds CentOS. We mainly change packages to remove upstream vendor branding and artwork.</p> <p>For information on CentOS please |
find . -name \*.rb -exec perl -p -i -e 's/([^:]):(\w+)\s*=>/\1\2:/g' {} \; |
#!/bin/bash | |
######################################### | |
# Adobe CC 2015 Version Finder | |
# Ryan Moon | |
# Created on 2016-02-04 | |
# Version 1.0.0 on 2016-02-04 | |
######################################### | |
# This script gets the CFBundleShortVersionString | |
# of the Adobe CC 2015 Applications. | |
# Handy for reference when looking at multiple |