Refactor module
Change-Id: Ic290c444a881559da57f4c42a2f033c6fef7c805
diff --git a/baremetal_simulator/init.sls b/baremetal_simulator/init.sls
index ec8abbe..1cfdfa4 100644
--- a/baremetal_simulator/init.sls
+++ b/baremetal_simulator/init.sls
@@ -9,7 +9,7 @@
pip.installed:
- names: {{ baremetal_simulator.pip_pkgs }}
- require:
- - pkg: python-pip
+ - simulator_pkgs
libvirt-bin:
service.running:
@@ -30,28 +30,6 @@
file.directory:
- makedirs: true
-deploy_ramdisk:
- file.managed:
- - name: {{ baremetal_simulator.http_root }}/{{ baremetal_simulator.deploy_ramdisk_file }}
- - source: {{ baremetal_simulator.deploy_ramdisk_ref }}
- - skip_verify: true
-
-deploy_kernel:
- file.managed:
- - name: {{ baremetal_simulator.http_root }}/{{ baremetal_simulator.deploy_kernel_file }}
- - source: {{ baremetal_simulator.deploy_kernel_ref }}
- - skip_verify: true
-
-{%- if baremetal_simulator.cirros_image_ref is defined %}
-
-{{ baremetal_simulator.cirros_image_name }}_file:
- file.managed:
- - name: {{ baremetal_simulator.http_root }}/{{ baremetal_simulator.cirros_image_name }}
- - source: {{ baremetal_simulator.cirros_image_ref }}
- - skip_verify: true
-
-{%- endif %}
-
{%- for identity_name, nodes in bs_nodes.iteritems() %}
{%- for node in nodes %}