Skip to content

Commit f42b60f

Browse files
committed
(MODULES-8438) Install 2019
This change allows the module to install and uninstall SQL 2019 idempotently. No further support is implemented.
1 parent 37dd499 commit f42b60f

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## Added
10+
11+
- Add support for installing and managing SQL 2019 instances ([MODULES-8438](https://tickets.puppetlabs.com/browse/MODULES-8438))
12+
913
## [2.2.0] - 2018-12-3
1014

1115
### Added

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
## Overview
2222

23-
The sqlserver module installs and manages Microsoft SQL Server 2012, 2014, 2016 and 2017 on Windows systems.
23+
The sqlserver module installs and manages Microsoft SQL Server 2012, 2014, 2016, 2017, 2019 on Windows systems.
2424

2525
## Module Description
2626

@@ -1068,7 +1068,7 @@ Terminology differs somewhat between various database systems; please refer to t
10681068

10691069
## Limitations
10701070

1071-
SQL 2017 detection support has been added. This support is limited to functionality already present for other versions. No new SQL 2017 specific functionality has been added in this release.
1071+
SQL 2017 and 2019 detection support has been added. This support is limited to functionality already present for other versions. No new SQL 2017 specific functionality has been added in this release.
10721072

10731073
This module can manage only a single version of SQL Server on a given host (one and only one of SQL Server 2012, 2014 or 2016). The module is able to manage multiple SQL Server instances of the same version.
10741074

lib/puppet_x/sqlserver/features.rb

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
SQL_2014 ||= 'SQL_2014'
55
SQL_2016 ||= 'SQL_2016'
66
SQL_2017 ||= 'SQL_2017'
7+
SQL_2019 ||= 'SQL_2019'
78

8-
ALL_SQL_VERSIONS ||= [SQL_2012, SQL_2014, SQL_2016, SQL_2017]
9+
ALL_SQL_VERSIONS ||= [SQL_2012, SQL_2014, SQL_2016, SQL_2017, SQL_2019]
910

1011
module PuppetX
1112
module Sqlserver
@@ -32,6 +33,10 @@ class Features
3233
SQL_2017 => {
3334
:major_version => 14,
3435
:registry_path => '140',
36+
},
37+
SQL_2019 => {
38+
:major_version => 15,
39+
:registry_path => '150',
3540
}
3641
}
3742

metadata.json

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"sql2014",
3939
"sql2016",
4040
"sql2017",
41+
"sql2019",
4142
"tsql",
4243
"database"
4344
],

spec/spec_helper_acceptance.rb

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
WIN_ISO_ROOT = "http://int-resources.ops.puppetlabs.net/ISO/Windows/2012"
1212
WIN_2012R2_ISO = "en_windows_server_2012_r2_with_update_x64_dvd_6052708.iso"
1313
QA_RESOURCE_ROOT = "http://int-resources.ops.puppetlabs.net/QA_resources/microsoft_sql/iso/"
14+
SQL_2019_ISO = "en_sql_server_2019_developer_x64_CTP2.iso"
1415
SQL_2016_ISO = "en_sql_server_2016_enterprise_with_service_pack_1_x64_dvd_9542382.iso"
1516
SQL_2014_ISO = "SQLServer2014-x64-ENU.iso"
1617
SQL_2012_ISO = "SQLServer2012SP1-FullSlipstream-ENU-x64.iso"

0 commit comments

Comments
 (0)