Ensure that ::setup runs before ::fragment in all cases.

This commit is contained in:
Ashley Penney 2013-09-24 17:12:27 -04:00
parent 04356974f7
commit 5c378174e3
2 changed files with 4 additions and 1 deletions

View file

@ -9,7 +9,6 @@ group :development, :test do
gem 'serverspec', :require => false gem 'serverspec', :require => false
gem 'rspec-system-serverspec', :require => false gem 'rspec-system-serverspec', :require => false
gem 'pry', :require => false gem 'pry', :require => false
gem 'vagrant-wrapper', :require => false
end end
if puppetversion = ENV['PUPPET_GEM_VERSION'] if puppetversion = ENV['PUPPET_GEM_VERSION']

View file

@ -52,4 +52,8 @@ class concat::setup {
'/usr/local/bin/concatfragments.sh': '/usr/local/bin/concatfragments.sh':
ensure => absent; ensure => absent;
} }
# Ensure we run setup first.
Class['concat::setup'] -> Concat::Fragment<| |>
} }