Project

General

Profile

« Previous | Next » 

Revision 72ba9783

Added by Ewoud Kohl van Wijngaarden over 6 years ago

Use implicit dependency chaining on puppet

https://github.com/theforeman/puppet-puppet/commit/2fb8ad506566092d146492f49e7892ca0fb93b64
ensures the puppet user is always managed. This means the file resource
will autorequire the user causing the chaining to work.

View differences:

.fixtures.yml
common: "https://github.com/katello/puppet-common.git"
trusted_ca: "https://github.com/jlambert121/jlambert121-trusted_ca"
concat: "https://github.com/puppetlabs/puppetlabs-concat"
apache: "https://github.com/puppetlabs/puppetlabs-apache"
puppet: "https://github.com/theforeman/puppet-puppet"
symlinks:
certs: "#{source_dir}"
manifests/puppet.pp
if $deploy {
file { "${pki_dir}/puppet":
ensure => directory,
owner => 'puppet',
mode => '0700',
require => Class['puppet::server::install'],
ensure => directory,
owner => 'puppet',
mode => '0700',
} ->
certs::keypair { 'puppet':
key_pair => $puppet_client_cert_name,
spec/classes/certs_foreman_proxy_content_spec.rb
on_supported_os['redhat-7-x86_64']
end
let :pre_condition do
"
package{ 'qpid-cpp-server': }
class { 'puppet':
server_foreman => false,
agent => false,
server => true,
}
"
end
let :params do
{
:certs_tar => '/tmp/tar'
spec/classes/certs_puppet_spec.rb
on_supported_os['redhat-7-x86_64']
end
let :pre_condition do
"
class { 'puppet':
server_foreman => false,
agent => false,
server => true,
}
"
end
describe 'with default parameters' do
it { should compile.with_all_deps }
end

Also available in: Unified diff