Skip to content

Commit c06c5a4

Browse files
author
jordanbreen28
committed
(CONT-782) - Remove puppetlabs-dism
1 parent 77b929e commit c06c5a4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.fixtures.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
fixtures:
2-
forge_modules:
3-
dism: 'puppetlabs/dism'
2+
forge_modules:
43
pwshlib: 'puppetlabs/pwshlib'
54
ruby_task_helper: 'puppetlabs/ruby_task_helper'
65
repositories:

spec/spec_helper_acceptance_local.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ class LitmusHelper
1414
RSpec.configure do |c|
1515
# Configure all nodes in nodeset
1616
c.before :suite do
17-
LitmusHelper.instance.run_shell('puppet module install puppetlabs/dism -v >= 1.2.0') unless ENV['TARGET_HOST'].nil? || ENV['TARGET_HOST'] == 'localhost'
18-
pp = "dism { ['IIS-WebServerRole','IIS-WebServer', 'IIS-WebServerManagementTools']: ensure => present }"
19-
LitmusHelper.instance.apply_manifest(pp)
17+
# Install IIS and required features on the target host
18+
LitmusHelper.instance.run_shell("cmd.exe /c 'Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-WebServerManagementTools'") unless ENV['TARGET_HOST'].nil? || ENV['TARGET_HOST'] == 'localhost'
2019
end
2120
end
2221

0 commit comments

Comments
 (0)