added demos to the repo
[groupbasedpolicy.git] / demos / gbp-devstack / puppet / manifests / devstack-control.pp
1 vcsrepo {'/home/vagrant/devstack':
2     ensure   => present,
3     provider => git,
4     user     => 'vagrant',
5     source   => 'https://github.com/openstack-dev/devstack.git',
6     revision => 'stable/kilo',
7     before   => File['/home/vagrant/devstack/local.conf'],
8 }
9
10 $hosts = hiera('hosts')
11
12 file { '/home/vagrant/devstack/local.conf':
13     ensure  => present,
14     owner   => 'vagrant',
15     group   => 'vagrant',
16     content => template('/vagrant/puppet/templates/control.local.conf.erb'),
17 }