Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing icagent recipe copy

  • Loading branch information...
commit e140404ca9e9fd9904666ec0628fc49ad4a5767e 1 parent bb09eb6
Adam Jacob authored

Showing 3 changed files with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 0  README
  2. +1 0  icagent/placeholder
  3. +1 1  lib/recipe/ec2.rb
3  README
@@ -17,6 +17,9 @@ Configure:
17 17
18 18 I started with the Ubuntu Hardy AMIs.
19 19
  20 + Make sure you populate the icagent directory of this checkout to contain your particular
  21 + icagent recipes - they will be copied to the AMI at creation.
  22 +
20 23 Use:
21 24
22 25 Create new EC2 instances:
1  icagent/placeholder
... ... @@ -0,0 +1 @@
  1 +Seriously, stick your icagent recipes here!
2  lib/recipe/ec2.rb
@@ -229,7 +229,7 @@
229 229
230 230 task :update_icagent_recipes, :roles => [ :new_nodes ] do
231 231 sudo("rm -f /srv/icagent/icagent/*")
232   - Dir[File.join(File.dirname(__FILE__), '..', '..', 'files', 'dists', 'iclassify', 'default', 'icagent', '*.rb')].sort.each do |file|
  232 + Dir[File.join(File.dirname(__FILE__), '..', '..', 'icagent', '*.rb')].sort.each do |file|
233 233 basename = File.basename(file)
234 234 logger.debug("Updating #{basename} icagent recipe")
235 235 run("mkdir -p /tmp/icagent")

0 comments on commit e140404

Please sign in to comment.
Something went wrong with that request. Please try again.