Permalink
Browse files

use the example soloist to do something useful for once

  • Loading branch information...
Doc Ritezel & aram price
Doc Ritezel & aram price committed Dec 2, 2012
1 parent 7417198 commit 0ff7bb6981429d4930fc5ab50015d5375af92011
Showing with 14 additions and 22 deletions.
  1. +0 −3 examples/Cheffile
  2. +0 −16 examples/Cheffile.lock
  3. +13 −0 examples/Guardfile
  4. +1 −3 examples/soloistrc
View
@@ -1,3 +0,0 @@
-site "http://community.opscode.com/api/v1"
-cookbook "pivotal_workstation",
- :git => "https://github.com/pivotal/pivotal_workstation"
View
@@ -1,16 +0,0 @@
-SITE
- remote: http://community.opscode.com/api/v1
- specs:
- dmg (1.0.0)
-
-GIT
- remote: https://github.com/pivotal/pivotal_workstation
- ref: master
- sha: 31225b05beec6dd6d4eb83e7be11619dca083f82
- specs:
- pivotal_workstation (1.0.0)
- dmg (>= 0.0.0)
-
-DEPENDENCIES
- pivotal_workstation (>= 0)
-
View
@@ -0,0 +1,13 @@
+#!/usr/bin/env ruby
+
+guard 'bundler' do
+ watch('../Gemfile')
+ watch('../soloist.gemspec')
+end
+
+guard 'shell' do
+ watch('soloistrc') { system("../bin/soloist -r 192.168.6.66") }
+ watch(%r{^cookbooks/(.+)\.rb$}) { system("unset RUBYOPT; bundle exec ../bin/soloist -r 192.168.6.66") }
+ watch('Vagrantfile') { system("unset RUBYOPT; vagrant provision") }
+ watch('script/bootstrap.sh') { system("unset RUBYOPT; vagrant provision") }
+end
View
@@ -1,4 +1,2 @@
-cookbook_paths:
- - ./cookbooks
recipes:
- - pivotal_workstation::ca_certs_to_match_heroku
+ - pivotal_workstation::bash_it

0 comments on commit 0ff7bb6

Please sign in to comment.