We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e04bc56 commit 3f8d26dCopy full SHA for 3f8d26d
spec/acceptance/foreman_hdm_spec.rb
@@ -0,0 +1,20 @@
1
+require 'spec_helper_acceptance'
2
+
3
+describe 'Scenario: install foreman with hdm' do
4
+ before(:context) { purge_foreman }
5
6
+ it_behaves_like 'an idempotent resource' do
7
+ let(:manifest) do
8
+ <<-PUPPET
9
+ include foreman
10
+ include foreman::plugin::hdm
11
+ PUPPET
12
+ end
13
14
15
+ it_behaves_like 'the foreman application'
16
+ describe curl_command("https://admin:changeme@#{host_inventory['fqdn']}/api/plugins", cacert: '/etc/foreman-certs/certificate.pem') do
17
+ its(:stdout) { should include('foreman_hdm') }
18
+ its(:exit_status) { should eq 0 }
19
20
+end
0 commit comments