]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Use beaker-puppet_install_helper to install puppet
authorEmilien Macchi <emilien@redhat.com>
Tue, 30 Jun 2015 20:48:22 +0000 (16:48 -0400)
committerEmilien Macchi <emilien@redhat.com>
Tue, 30 Jun 2015 20:48:22 +0000 (16:48 -0400)
commitbf194d2f7593d769ea442959b90ec972cfb01c87
treeffedeae779e8de82e56e2e615b45049f8253550f
parentb28de45c2bf497eb202728f9cd3ecbf4fa7ec1e6
Use beaker-puppet_install_helper to install puppet

When running with BEAKER_provision=no, the following happens:

In Trusty: beaker is running dpkg with '--force' option so even
if Puppet is already installed, the return code will be 0.
In CentOS: beaker is running 'rpm -ivh' the second time and since
the package is already here, the return code will be 1.

Using the new puppet install helper will abort installing puppet
if BEAKER_provision is no, so tests will continue as normal.

Change-Id: Ifeada55370bbd5b30418447c8fc1da101de2b774
Co-Authored-By: Colleen Murphy <colleen@gazlene.net>
Gemfile
spec/spec_helper_acceptance.rb