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') }