Showing with 35 additions and 23 deletions.
  1. +13 −6 CHANGELOG.md
  2. +17 −14 REFERENCE.md
  3. +3 −3 metadata.json
  4. +2 −0 pdk.yaml
19 changes: 13 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,26 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [v3.1.0](https://github.com/puppetlabs/puppetlabs-sqlserver/tree/v3.1.0) - 2022-05-30
## [v3.2.0](https://github.com/puppetlabs/puppetlabs-sqlserver/tree/v3.2.0) (2022-08-23)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-sqlserver/compare/v3.0.0...v3.1.0)
[Full Changelog](https://github.com/puppetlabs/puppetlabs-sqlserver/compare/v3.1.0...v3.2.0)

### Added

- pdksync - (FM-8922) - Add Support for Windows 2022 [#397](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/397) ([david22swan](https://github.com/david22swan))
- \(CAT-136\) Update dependencies [\#405](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/405) ([LukasAud](https://github.com/LukasAud))

## [v3.1.0](https://github.com/puppetlabs/puppetlabs-sqlserver/tree/v3.1.0) (2022-05-30)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-sqlserver/compare/v3.0.0...v3.1.0)

### Added

- (MODULES-5472) Login values can now be passed as sensitive strings [#393](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/393) ([david22swan](https://github.com/david22swan))
- pdksync - \(FM-8922\) - Add Support for Windows 2022 [\#397](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/397) ([david22swan](https://github.com/david22swan))
- \(MODULES-5472\) Login values can now be passed as sensitive strings [\#393](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/393) ([david22swan](https://github.com/david22swan))

### Fixed

- (MODULES-10825) - Dotnet installation fix [#392](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/392) ([david22swan](https://github.com/david22swan))
- \(MODULES-10825\) - Dotnet installation fix [\#392](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/392) ([david22swan](https://github.com/david22swan))

## [v3.0.0](https://github.com/puppetlabs/puppetlabs-sqlserver/tree/v3.0.0) (2021-02-27)

Expand All @@ -31,7 +38,6 @@ All notable changes to this project will be documented in this file. The format
### Fixed

- \(FM-8879\) Handle T-SQL Errors Properly [\#349](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/349) ([RandomNoun7](https://github.com/RandomNoun7))
- \(MODULES-10335\) - Update exec's title to be unique [\#341](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/341) ([david22swan](https://github.com/david22swan))

## [v2.6.2](https://github.com/puppetlabs/puppetlabs-sqlserver/tree/v2.6.2) (2020-01-21)

Expand All @@ -40,6 +46,7 @@ All notable changes to this project will be documented in this file. The format
### Fixed

- \(MODULES-10384\) - Registry value check tightened [\#343](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/343) ([david22swan](https://github.com/david22swan))
- \(MODULES-10335\) - Update exec's title to be unique [\#341](https://github.com/puppetlabs/puppetlabs-sqlserver/pull/341) ([david22swan](https://github.com/david22swan))

## [v2.6.1](https://github.com/puppetlabs/puppetlabs-sqlserver/tree/v2.6.1) (2020-01-16)

Expand Down
31 changes: 17 additions & 14 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,19 @@ Default value: `$title`

##### <a name="admin_user"></a>`admin_user`

Data type: `Optional[String]`
Data type: `Variant[Sensitive[String], String]`

Only required for SQL_LOGIN type. A user/login who has sysadmin rights on the server
Can be passed as a sensitive value

Default value: `''`

##### <a name="admin_pass"></a>`admin_pass`

Data type: `Optional[String]`
Data type: `Variant[Sensitive[String], String]`

Only required for SQL_LOGIN type. The password in order to access the server to be managed.
Can be passed as a sensitive value

Default value: `''`

Expand Down Expand Up @@ -423,20 +425,21 @@ Default value: `'present'`

##### <a name="password"></a>`password`

Data type: `Optional[String]`
Data type: `Optional[Variant[Sensitive[String], String]]`

Plain text password. Only applicable when Login_Type = 'SQL_LOGIN'.
Can be passed through as a sensitive value.

Default value: ``undef``

##### <a name="svrroles"></a>`svrroles`

Data type: `Optional[Hash]`
Data type: `Hash`

A hash of preinstalled server roles that you want assigned to this login.
sample usage would be { 'diskadmin' => 1, 'dbcreator' => 1, 'sysadmin' => 0, }

Default value: `{ }`
Default value: `{}`

##### <a name="login_type"></a>`login_type`

Expand Down Expand Up @@ -488,13 +491,13 @@ Default value: ``false``

##### <a name="permissions"></a>`permissions`

Data type: `Optional[Hash]`
Data type: `Hash`

A hash of permissions that should be managed for the login.
Valid keys are 'GRANT', 'GRANT_WITH_OPTION', 'DENY' or 'REVOKE'.
Valid values must be an array of Strings i.e. {'GRANT' => ['CONNECT SQL', 'CREATE ANY DATABASE'] }

Default value: `{ }`
Default value: `{}`

### <a name="sqlserverloginpermissions"></a>`sqlserver::login::permissions`

Expand Down Expand Up @@ -543,7 +546,7 @@ Default value: `'MSSQLSERVER'`

##### <a name="with_grant_option"></a>`with_grant_option`

Data type: `Optional[Boolean]`
Data type: `Boolean`

Bolean value that allows user to grant options.

Expand Down Expand Up @@ -618,13 +621,13 @@ Default value: `'master'`

##### <a name="permissions"></a>`permissions`

Data type: `Optional[Hash]`
Data type: `Hash`

A hash of permissions that should be managed for the role.
Valid keys are 'GRANT', 'GRANT_WITH_OPTION', 'DENY' or 'REVOKE'.
Valid values must be an array of Strings i.e. {'GRANT' => ['CONNECT', 'CREATE ANY DATABASE'] }

Default value: `{ }`
Default value: `{}`

##### <a name="members"></a>`members`

Expand Down Expand Up @@ -683,7 +686,7 @@ Default value: `'GRANT'`

##### <a name="with_grant_option"></a>`with_grant_option`

Data type: `Optional[Boolean]`
Data type: `Boolean`

Whether to give the role the option to grant this permission to other principal objects, accepts true or false, defaults to false

Expand Down Expand Up @@ -863,13 +866,13 @@ Default value: ``undef``

##### <a name="permissions"></a>`permissions`

Data type: `Optional[Hash]`
Data type: `Hash`

A hash of permissions that should be managed for the user.
Valid keys are 'GRANT', 'GRANT_WITH_OPTION', 'DENY' or 'REVOKE'.
Valid values must be an array of Strings i.e. {'GRANT' => ['SELECT', 'INSERT'] }

Default value: `{ }`
Default value: `{}`

### <a name="sqlserveruserpermissions"></a>`sqlserver::user::permissions`

Expand Down Expand Up @@ -919,7 +922,7 @@ Default value: `'GRANT'`

##### <a name="with_grant_option"></a>`with_grant_option`

Data type: `Optional[Boolean]`
Data type: `Boolean`

Whether to give the user the option to grant this permission to other users, accepts true or false, defaults to false

Expand Down
6 changes: 3 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-sqlserver",
"version": "3.1.0",
"version": "3.2.0",
"author": "puppetlabs",
"summary": "The `sqlserver` module installs and manages MS SQL Server 2012, 2014, 2016, 2017, and 2019 on Windows systems.",
"license": "proprietary",
Expand All @@ -10,11 +10,11 @@
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 4.13.1 < 8.0.0"
"version_requirement": ">= 4.13.1 < 9.0.0"
},
{
"name": "puppetlabs/powershell",
"version_requirement": ">= 1.0.1 < 6.0.0"
"version_requirement": ">= 1.0.1 < 7.0.0"
}
],
"operatingsystem_support": [
Expand Down
2 changes: 2 additions & 0 deletions pdk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
ignore: []