Skip to content

Commit

Permalink
Remove recipes and attributes (#199)
Browse files Browse the repository at this point in the history
* Remove recipes and attributes

- Remove recipes and attributes
- Remove duplicate _ConfigurationFile.ini.erb
- Remove specs for recipes
- Move the InSpec test to the correct directory

* Update README and sql_server_install documentation

* Update CI test suites

* Update libraries/helper.rb

Co-authored-by: Jose A Hernandez <[email protected]>

* Remove SNAC-SDK from the default extensions as thisis no longer required in 2022

---------

Co-authored-by: Jose A Hernandez <[email protected]>
  • Loading branch information
damacus and JHBoricua authored Sep 28, 2023
1 parent 4dea482 commit ea46daf
Show file tree
Hide file tree
Showing 26 changed files with 570 additions and 1,406 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
strategy:
matrix:
os:
- "windows-2016"
- "windows-2019"
suite:
- "client"
- "install"
- "server2016"
- "server2017"
- "server2019"
- "default"
# - "client"
# - "install"
# - "server2016"
# - "server2017"
# - "server2019"
fail-fast: false

steps:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ This file is used to list changes made in each version of the sql_server cookboo

## Unreleased

- Remove recipes and attributes
- Remove duplicate _ConfigurationFile.ini.erb
- Remove specs for recipes
- Move the InSpec test to the correct directory

## 7.2.6 - *2023-09-28*

## 7.2.5 - *2023-09-04*
Expand Down
361 changes: 3 additions & 358 deletions README.md

Large diffs are not rendered by default.

69 changes: 0 additions & 69 deletions attributes/client.rb

This file was deleted.

32 changes: 0 additions & 32 deletions attributes/configure.rb

This file was deleted.

23 changes: 0 additions & 23 deletions attributes/default.rb

This file was deleted.

45 changes: 0 additions & 45 deletions attributes/server.rb

This file was deleted.

51 changes: 51 additions & 0 deletions documentation/sql_server_configure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# sql_server_configure

## Actions

- `:service` - Configures the ports that SQL be listening on and starts and enables the SQL Service.

## Properties

- `version` - SQL Version of the instance to be configured. Valid options are `2012`, `2016`, `2017`, `2019`, `2022`. Default is `2012`
- `tcp_enabled` - If TCP is enabled for the instance. Default is true
- `sql_port` - Port SQL will listen on. Default is 1433
- `tcp_dynamic_ports` - Sets the Dynamic port SQL will listen on. Default is an empty string
- `np_enabled` - Whether named pipes is enabled. Default is false
- `sm_enabled` - Whether shared memory is enabled for the instance
- `via_default_port` - Configures the Virtual Interface Adapter default port. Default is `0:1433`
- `via_enabled` - Whether Virtual Interface Adapter is enabled. Default is false
- `via_listen_info` - Configures the Virtual interface listening information. Default is `0:1433`
- `agent_startup` - Configures the SQL Agent Service startup type. Valid options are `Automatic`, `Manual`, `Disabled`, or `Automatic (Delayed Start)`. Default is `Disabled`

## Examples

Configure a SQL 2012 Express install with all the defaults

```ruby
sql_server_configure 'SQLEXPRESS'
```

Configure a SQL 2016 Express install

```ruby
sql_server_configure 'SQLEXPRESS' do
version '2016'
end
```

Configure a SQL 2019 Express install

```ruby
sql_server_configure 'SQLEXPRESS' do
version '2019'
end
```

Configure a SQL 2012 Evaluation install with a different port

```ruby
sql_server_configure 'MSSQLSERVER' do
version '2012'
sql_port '1434'
end
```
Loading

0 comments on commit ea46daf

Please sign in to comment.