summaryrefslogtreecommitdiffstats
path: root/fuel-build/f_l23network/testing/fake_init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'fuel-build/f_l23network/testing/fake_init.pp')
-rw-r--r--fuel-build/f_l23network/testing/fake_init.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/fuel-build/f_l23network/testing/fake_init.pp b/fuel-build/f_l23network/testing/fake_init.pp
new file mode 100644
index 0000000..bc6b163
--- /dev/null
+++ b/fuel-build/f_l23network/testing/fake_init.pp
@@ -0,0 +1,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
+}