Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
elmobp committed Oct 13, 2016
1 parent eaa296b commit 8da6454
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion manifests/apache/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
content => template('puppetboard/apache/ldap.erb'),
require => File["${docroot}/wsgi.py"],
notify => Service[$::puppetboard::params::apache_service],
}
}
}
else {
$ldap_additional_includes = undef
Expand Down
9 changes: 3 additions & 6 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ class { 'puppetboard':
it { should contain "PUPPETDB_CERT = '/var/lib/puppet/ssl/certs/test.networkninjas.net.pem'" }
end
end
<<<<<<< HEAD
=======

context 'default parameters' do
hosts.each do |host|
Expand Down Expand Up @@ -156,14 +154,13 @@ class { 'puppetboard':
end

describe file('/etc/httpd/conf.d/puppetboard-ldap.conf') do
it { should contain 'AuthBasicProvider ldap' }
it { should contain 'AuthLDAPBindDN "cn=user,dc=puppet,dc=example,dc=com"' }
it { should contain 'AuthLDAPURL "ldap://puppet.example.com"' }
it { should contain "AuthBasicProvider ldap" }
it { should contain 'AuthLDAPBindDN "cn=user,dc=puppet,dc=example,dc=com"' }
it { should contain 'AuthLDAPURL "ldap://puppet.example.com"' }
end
describe file('/srv/puppetboard/puppetboard/settings.py') do
it { should contain "PUPPETDB_KEY = '/var/lib/puppet/ssl/private_keys/test.networkninjas.net.pem'" }
it { should contain "PUPPETDB_CERT = '/var/lib/puppet/ssl/certs/test.networkninjas.net.pem'" }
end
end
>>>>>>> 7e1f014... Changes
end

0 comments on commit 8da6454

Please sign in to comment.