Skip to content

Commit

Permalink
Use CIDR for network ranges, numerical netmask doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
GregSutcliffe committed Jun 3, 2013
1 parent 902cfa3 commit 111d46f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions puppet/trystack/manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
$nova_db_password = 'CHANGEME'
$nova_user_password = 'CHANGEME'

# Networking
# Networking - we're assuming /24 ranges, but the user can always override
$public_interface = 'PRIMARY'
$private_interface = 'SECONDARY'
$fixed_network_range = inline_template("<%= scope.lookupvar('::network_${private_interface}') + '/' + scope.lookupvar('::netmask_${private_interface}') %>")
$floating_network_range = inline_template("<%= scope.lookupvar('::network_${public_interface}') + '/' + scope.lookupvar('::netmask_${public_interface}') %>")
$fixed_network_range = inline_template("<%= scope.lookupvar('::network_${private_interface}') + '/24' %>")
$floating_network_range = inline_template("<%= scope.lookupvar('::network_${public_interface}') + '/24' %>")
$pacemaker_priv_floating_ip = 'PRIV_IP'
$pacemaker_pub_floating_ip = 'PUB_IP'

Expand Down

0 comments on commit 111d46f

Please sign in to comment.