Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Only run Manage on frontends, run reporting before manage
  • Loading branch information
Irving Popovetsky committed Apr 14, 2014
1 parent 70b0cc1 commit b41730d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cookbooks/ec-harness/providers/private_chef_ha.rb
Expand Up @@ -68,8 +68,9 @@ def machine_attributes(packages)
recipe 'private-chef::drbd' if node['harness']['vm_config']['backends'].include?(vmname)
recipe 'private-chef::provision_phase2'
recipe 'private-chef::users' if vmname == bootstrap_node_name
recipe 'private-chef::manage' if node['harness']['manage_package']
recipe 'private-chef::reporting' if node['harness']['reporting_package']
recipe 'private-chef::manage' if node['harness']['manage_package'] &&
node['harness']['vm_config']['frontends'].include?(vmname)
recipe 'private-chef::pushy' if node['harness']['pushy_package']

action :create
Expand Down

0 comments on commit b41730d

Please sign in to comment.