Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 3220743ba9389dca65e09b2112fad882621dab50 @kentaro kentaro committed Mar 9, 2013
@@ -0,0 +1,3 @@
+/.vagrant
+/cookbooks
+/tmp
@@ -0,0 +1,4 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+site 'http://community.opscode.com/api/v1'
@@ -0,0 +1,2 @@
+DEPENDENCIES
+
@@ -0,0 +1,32 @@
+# Chef Cookooks for PrePAN
+
+## Setup
+
+### Ruby Libraries
+
+You have to the gem libraries listed below:
+
+ * knife-solo
+ * librarian
+ * vagrant
+ * ec2ssh
+
+```sh
+$ gem install knife-solo librarian vagrant ec2ssh
+```
+
+### Vagrant
+
+Add the config to your `~/.ssh/config` to enable SSH login:
+
+```
+Host 192.168.33.*
+ IdentityFile ~/.vagrant.d/insecure_private_key
+```
+
+## Provision a Host for Development
+
+
+
+## Provision Hosts on Production (EC2)
+
@@ -0,0 +1,11 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant::Config.run do |config|
+ config.vm.box = "prepan"
+ config.vm.box_url = "http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.3-x86_64-v20130101.box"
+ config.vm.host_name = "local.prepan.org"
+
+ config.vm.network :hostonly, "192.168.33.10"
+ config.vm.network :bridged
+end
@@ -0,0 +1,3 @@
+require 'librarian/chef/integration/knife'
+
+cookbook_path Librarian::Chef.install_path, 'site-cookbooks'
No changes.
No changes.
No changes.
No changes.
@@ -0,0 +1,6 @@
+file_cache_path "/tmp/chef-solo"
+data_bag_path "/tmp/chef-solo/data_bags"
+encrypted_data_bag_secret "/tmp/chef-solo/data_bag_key"
+cookbook_path [ "/tmp/chef-solo/site-cookbooks",
+ "/tmp/chef-solo/cookbooks" ]
+role_path "/tmp/chef-solo/roles"

0 comments on commit 3220743

Please sign in to comment.