File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # @summary Installs the DBA Tools powershell module
2
+ #
3
+ class sqlserver::common::dbatools_ps () {
4
+ require chocolatey
5
+ package { 'dbatools' :
6
+ ensure => latest,
7
+ provider => chocolatey,
8
+ }
9
+ }
Original file line number Diff line number Diff line change
1
+ # @summary Set's the TLS certificate for an instance
2
+ #
3
+ # @param certificate_thumbprint
4
+ # The thumbprint of the certificate in the LocalMachine\My certificate store.
5
+ # It's CN MUST match the servers FQDN. It can optionally have additional SANs
6
+ #
7
+ # @param instance_name
8
+ # The name of the SQL Instance to set the certificate on
9
+ #
10
+ define sqlserver::common::set_tls_cert (
11
+ String $certificate_thumbprint ,
12
+ String $instance_name = $title,
13
+ ) {
14
+ require sqlserver::common::dbatools_ps
15
+ }
You can’t perform that action at this time.
0 commit comments