File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ def mount_iso(host, opts = {})
21
21
22
22
def install_sqlserver ( host , opts = { } )
23
23
# this method installs SQl server on a given host
24
- features = opts [ :features ]
24
+ features = opts [ :features ] . map { | x | "' #{ x } '" } . join ( ', ' )
25
25
pp = <<-MANIFEST
26
26
sqlserver_instance{'MSSQLSERVER':
27
27
source => 'H:',
28
- features => #{ features } ,
28
+ features => [ #{ features } ] ,
29
29
security_mode => 'SQL',
30
30
sa_pwd => 'Pupp3t1@',
31
31
sql_sysadmin_accounts => ['Administrator'],
@@ -94,7 +94,7 @@ def base_install(sql_version)
94
94
# Mount the ISO on the agent
95
95
mount_iso ( host , iso_opts )
96
96
# Install Microsoft SQL on the agent before running any tests
97
- install_sqlserver ( host , { :features => 'SQL' } )
97
+ install_sqlserver ( host , { :features => [ 'SQL' ] } )
98
98
end
99
99
100
100
def validate_sql_install ( host , opts = { } , &block )
You can’t perform that action at this time.
0 commit comments