Skip to content

Commit a92b9f5

Browse files
author
Slavek Kabrda
authored
Quick and dirty fix for kitchen tests (DataDog#771)
1 parent ea14eee commit a92b9f5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

kitchen.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ provisioner:
1111
require_chef_for_busser: false
1212
puppet_debug: true
1313
puppet_verbose: true
14-
custom_pre_apply_command: 'cp -r /tmp/modules/* /tmp/kitchen/modules/'
14+
custom_pre_apply_command: 'cp -r /tmp/modules/* /tmp/kitchen/modules/ && sed -i "s|\$datadog_agent::params::agent_version|\"7.39.0\"|" /tmp/kitchen/modules/datadog_agent/manifests/init.pp'
1515

1616
platforms:
1717
- name: centos-7-puppet-5
@@ -87,6 +87,7 @@ platforms:
8787
- zypper ar -G https://yum.puppet.com/puppet/sles/15/x86_64/ puppet-repo
8888
- zypper install -y puppet-agent ruby=2.5
8989
- gem install bundler -v '= 1.17.3'
90+
- gem install net-ssh -v '= 6.1.0'
9091
- gem install serverspec rspec
9192
- ln -s /usr/bin/rspec.ruby2.5 /usr/bin/rspec
9293
- ln -s /opt/puppetlabs/puppet/bin/puppet /usr/bin/puppet

0 commit comments

Comments
 (0)