Skip to content

Instantly share code, notes, and snippets.

@nmische
Last active December 12, 2015 02:59
Show Gist options
  • Select an option

  • Save nmische/4703477 to your computer and use it in GitHub Desktop.

Select an option

Save nmische/4703477 to your computer and use it in GitHub Desktop.
Shibboleth IdP Vagrant Setup
site 'http://community.opscode.com/api/v1'
cookbook 'apt'
cookbook 'rng-tools'
cookbook 'java'
cookbook 'tomcat'
cookbook 'shibboleth-idp',
:git => 'https://github.com/wharton/chef-shibboleth-idp.git'
cookbook 'simple_iptables',
:git => 'https://github.com/nmische/cookbook-simple-iptables.git',
:ref => 'nat'
Vagrant::Config.run do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.network :hostonly, "192.168.33.33"
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.data_bags_path = "data_bags"
chef.add_recipe "apt"
chef.add_recipe "rng-tools"
chef.add_recipe "java"
chef.add_recipe "tomcat"
chef.add_recipe "shibboleth-idp"
chef.json = {
"java" => {
"install_flavor" => "oracle",
"java_home" => "/usr/lib/jvm/java-6-oracle",
"oracle" => {
"accept_oracle_download_terms" => true
}
}
}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment