Skip to content

Commit 66fa009

Browse files
authored
Fix CentOS8+Puppet6 test env (DataDog#663)
Puppet 6 package doesn't install it in /opt
1 parent 7f39240 commit 66fa009

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

environments/centos8/Vagrantfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ Vagrant.configure("2") do |config|
66
#install puppet 6
77
dnf install -y https://yum.puppetlabs.com/puppet-release-el-8.noarch.rpm
88
dnf install -y puppet
9-
ln -s /opt/puppetlabs/puppet/bin/puppet /usr/bin/puppet
109
1110
# install modules
1211
cd /home/vagrant/puppet
13-
/opt/puppetlabs/puppet/bin/gem install r10k -v 2.6.7
14-
/opt/puppetlabs/puppet/bin/r10k puppetfile install --moduledir=/home/vagrant/puppet/modules
12+
gem install r10k -v 2.6.7
13+
r10k puppetfile install --moduledir=/home/vagrant/puppet/modules
1514
1615
# link local module
1716
ln -s /puppet-datadog-agent /home/vagrant/puppet/modules/datadog_agent

0 commit comments

Comments
 (0)