Permalink
Browse files

Fixing icagent recipe copy

  • Loading branch information...
adamhjk committed Sep 5, 2008
1 parent bb09eb6 commit e140404ca9e9fd9904666ec0628fc49ad4a5767e
Showing with 5 additions and 1 deletion.
  1. +3 −0 README
  2. +1 −0 icagent/placeholder
  3. +1 −1 lib/recipe/ec2.rb
View
3 README
@@ -17,6 +17,9 @@ Configure:
I started with the Ubuntu Hardy AMIs.
+ Make sure you populate the icagent directory of this checkout to contain your particular
+ icagent recipes - they will be copied to the AMI at creation.
+
Use:
Create new EC2 instances:
View
@@ -0,0 +1 @@
+Seriously, stick your icagent recipes here!
View
@@ -229,7 +229,7 @@
task :update_icagent_recipes, :roles => [ :new_nodes ] do
sudo("rm -f /srv/icagent/icagent/*")
- Dir[File.join(File.dirname(__FILE__), '..', '..', 'files', 'dists', 'iclassify', 'default', 'icagent', '*.rb')].sort.each do |file|
+ Dir[File.join(File.dirname(__FILE__), '..', '..', 'icagent', '*.rb')].sort.each do |file|
basename = File.basename(file)
logger.debug("Updating #{basename} icagent recipe")
run("mkdir -p /tmp/icagent")

0 comments on commit e140404

Please sign in to comment.