Skip to content

Commit

Permalink
Allow head_rep to be enabled via attribute
Browse files Browse the repository at this point in the history
Adds node['vxfld']['vxrd']['head_rep'] . Defaults to false
  • Loading branch information
jordant committed Mar 2, 2016
1 parent 9de6efa commit 55fd238
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions attributes/vxrd.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
default['vxfld']['vxrd']['packages'] = ['vxfld']
default['vxfld']['vxrd']['svcnode_ip'] = ''
default['vxfld']['vxrd']['src_ip'] = node['ipaddress']
default['vxfld']['vxrd']['head_rep'] = false
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache 2.0'
description 'Cumulus\'s VXLAN BUM flooding suite.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.8'
version '0.1.9'

recipe 'vxsnd', ''
recipe 'vxrd', ''
Expand Down
2 changes: 1 addition & 1 deletion templates/default/vxrd.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ src_ip = <%= node["vxfld"]["vxrd"]["src_ip"] %>
# Enable self replication
# Note: Use true, or on, for True and 0, no, false, or off,
# for False
head_rep = false
head_rep = <%= node["vxfld"]["vxrd"]["head_rep"] %>

0 comments on commit 55fd238

Please sign in to comment.