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
vagrant@vagrant-ubuntu-trusty-64:/vagrant_data/teamcity$ kitchen list -l debug | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ClientError | |
>>>>>> Message: Could not load the 'propeller' driver from the load path. Please ensure that your driver is installed as a gem or included in your Gemfile if using Bundler. | |
>>>>>> ---------------------- | |
>>>>>> Please see .kitchen/logs/kitchen.log for more details | |
>>>>>> Also try running `kitchen diagnose --all` for configuration | |
D ------Exception------- | |
D Class: Kitchen::ClientError |
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
kitchen list -l debug | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ClientError | |
>>>>>> Message: Could not load the 'propeller' driver from the load path. Please ensure that your driver is installed as a gem or included in your Gemfile if using Bundler. | |
>>>>>> ---------------------- | |
>>>>>> Please see .kitchen/logs/kitchen.log for more details | |
>>>>>> Also try running `kitchen diagnose --all` for configuration | |
D ------Exception------- | |
D Class: Kitchen::ClientError |
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
Windows.10.and.Office.2016.gVLK | |
##################################################################### | |
# technet.microsoft.com/en-us/library/jj612867.aspx?lc=1033 # | |
##################################################################### | |
Windows 10 Professional W269N-WFGWX-YVC9B-4J6C9-T83GX | |
Windows 10 Professional N MH37W-N47XK-V7XM9-C7227-GCQG9 | |
Windows 10 Education NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 | |
Windows 10 Education N 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ |
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
chef_gem 'chef-provisioning-vsphere' do | |
action :install | |
compile_time true | |
end | |
require 'chef/provisioning/vsphere_driver' | |
with_vsphere_driver host: '192.168.1.4', | |
insecure: true, | |
user: '[email protected]', |
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
sh "book.version = grep -i version metadata.rb|awk '{print \$2}'|sed s/'//g" | |
[app_jenkins_test-001-66IVBFYYEOA3TZ5NFR3UC6WM22HDZOH7VBK6SQSPALSQDXZJRQUQ] Running shell script | |
/Users/robertreilly/.jenkins/workspace/app_jenkins_test-001-66IVBFYYEOA3TZ5NFR3UC6WM22HDZOH7VBK6SQSPALSQDXZJRQUQ@tmp/durable-889e4419/script.sh: line 2: unexpected EOF while looking for matching `'' |
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
{ | |
"variables": { | |
"version": "" | |
}, | |
"builders": [ | |
{ | |
"type": "amazon-ebs", | |
"region": "us-east-1", | |
"instance_type": "m3.medium", | |
"source_ami": "ami-xxx", |
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
2017/02/08 15:55:23 [INFO] Packer version: 0.12.2 | |
2017/02/08 15:55:23 Packer Target OS/Arch: linux amd64 | |
2017/02/08 15:55:23 Built with Go Version: go1.7.4 | |
2017/02/08 15:55:23 Detected home directory from env var: /nfs/home/rxxxr | |
2017/02/08 15:55:23 Using internal plugin for hyperv-iso | |
2017/02/08 15:55:23 Using internal plugin for openstack | |
2017/02/08 15:55:23 Using internal plugin for profitbricks | |
2017/02/08 15:55:23 Using internal plugin for vmware-iso | |
2017/02/08 15:55:23 Using internal plugin for cloudstack | |
2017/02/08 15:55:23 Using internal plugin for docker |
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
cd /tmp/kitchen | |
sudo /opt/chef/embedded/bin/gem install chef-zero | |
/opt/chef/embedded/bin/chef-zero -d | |
sudo knife cookbook upload -a -c client.rb | |
sudo chef-shell -z -c client.rb -o 'demonops::default' |
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
# loading in Retrosheet data for the seasons 1960 through 2013 from my website | |
load(url("http://bayes.bgsu.edu/baseball/pbp.1960.1979.Rdata")) | |
load(url("http://bayes.bgsu.edu/baseball/pbp.1980.1999.Rdata")) | |
load(url("http://bayes.bgsu.edu/baseball/pbp.2000.2013.Rdata")) | |
batter.matchup.ggplot <- function(Name, graph=TRUE, retroid=FALSE){ | |
# this function assumes the data frames pbp.60.79, pbp.80.99, and pbp.00.13 are | |
# in the workspace | |
fit.model <- function(y, n){ | |
require(LearnBayes) |
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
import jenkins.model.* | |
import hudson.security.* | |
import com.cloudbees.plugins.credentials.* | |
import hudson.plugins.active_directory.* | |
def instance = Jenkins.getInstance() | |
def hudsonRealm = new ActiveDirectorySecurityRealm("domain", "site", "bindName", "bindPassword", "server", GroupLookupStrategy.CHAIN) | |
//def hudsonRealm = new HudsonPrivateSecurityRealm(false) | |
instance.setSecurityRealm(hudsonRealm) |
NewerOlder