Fetch information about assigned roles in Mongo manifests

Change-Id: Id41a23a8afd6f39fa4796ded42b5cc91a7ca5efa
Closes-Bug: 1427624
This commit is contained in:
Bartłomiej Piotrowski 2015-03-03 12:52:56 +01:00
parent 31b6b2c2a2
commit fc7fc0f259
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,8 @@ notice('MODULAR: mongo.pp')
$use_syslog = hiera('use_syslog', true)
$debug = hiera('debug', false)
$internal_address = hiera('internal_address')
$nodes_hash = hiera('nodes', {})
$roles = node_roles($nodes_hash, hiera('uid'))
####################################################################

View File

@ -5,6 +5,7 @@ $debug = hiera('debug', false)
$internal_address = hiera('internal_address')
$ceilometer_hash = hiera('ceilometer')
$nodes_hash = hiera('nodes')
$roles = node_roles($nodes_hash, hiera('uid'))
####################################################################