summaryrefslogtreecommitdiffstats
path: root/fuel/build/f_l23network/testing/fake_init.pp
blob: bc6b163f9dff04fa340680c947d84448fb3cb271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$fuel_settings = parseyaml($astute_settings_yaml)

if $::fuel_settings['nodes'] {
  $nodes_hash = $::fuel_settings['nodes']
  $extras_hash = $::fuel_settings['opnfv']['hosts']

  class {'l23network::hosts_file':
    nodes  => $nodes_hash,
    extras => $extras_hash
  }

  include l23network::hosts_file
}