Initial Commit of ODL OpenStack Integration
[integration/test.git] / test / tools / odl-openstack-integration / puppet / manifests / devstack-compute.pp
diff --git a/test/tools/odl-openstack-integration/puppet/manifests/devstack-compute.pp b/test/tools/odl-openstack-integration/puppet/manifests/devstack-compute.pp
new file mode 100644 (file)
index 0000000..b97f7e8
--- /dev/null
@@ -0,0 +1,17 @@
+vcsrepo { '/home/vagrant/devstack':
+    ensure   => present,
+    provider => git,
+    user     => 'vagrant',
+    source   => 'https://github.com/openstack-dev/devstack.git',
+    revision => $devstack_branch,
+    before   => File['/home/vagrant/devstack/local.conf']
+}
+
+$hosts = hiera('hosts')
+
+file { '/home/vagrant/devstack/local.conf':
+    ensure  => present,
+    owner   => 'vagrant',
+    group   => 'vagrant',
+    content => template('/vagrant/puppet/templates/compute.local.conf.erb')
+}