Skip to content

Commit

Permalink
Changes to SqlServiceAccount
Browse files Browse the repository at this point in the history
- Made the description of parameter RestartService more descriptive (issue dsccommunity#960).
  • Loading branch information
johlju committed Dec 23, 2017
1 parent 65c1dc2 commit 7f4926b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
- Changes to SqlServiceAccount
- Default services are now properly detected
([issue #930](https://github.com/PowerShell/SqlServerDsc/issues/930)).
- Made the description of parameter RestartService more descriptive
([issue #960](https://github.com/PowerShell/SqlServerDsc/issues/960)).

## 10.0.0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ function Get-TargetResource
Credential of the service account that should be used.
.PARAMETER RestartService
Determines whether the service is automatically restarted.
Determines whether the service is automatically restarted when a change
to the configuration was needed.
.PARAMETER Force
Forces the service account to be updated.
Expand Down Expand Up @@ -164,7 +165,8 @@ function Test-TargetResource
Credential of the service account that should be used.
.PARAMETER RestartService
Determines whether the service is automatically restarted.
Determines whether the service is automatically restarted when a change
to the configuration was needed.
.PARAMETER Force
Forces the service account to be updated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class MSFT_SqlServiceAccount : OMI_BaseResource
[Key, Description("Name of the SQL instance.")] String InstanceName;
[Key, Description("Type of service being managed."), ValueMap {"DatabaseEngine","SQLServerAgent","Search","IntegrationServices","AnalysisServices","ReportingServices","SQLServerBrowser","NotificationServices"}, Values {"DatabaseEngine","SQLServerAgent","Search","IntegrationServices","AnalysisServices","ReportingServices","SQLServerBrowser","NotificationServices"}] String ServiceType;
[Required, EmbeddedInstance("MSFT_Credential"), Description("The service account that should be used when running the service.")] String ServiceAccount;
[Write, Description("Determines whether the service is automatically restarted.")] Boolean RestartService;
[Write, Description("Determines whether the service is automatically restarted when a change to the configuration was needed.")] Boolean RestartService;
[Write, Description("Forces the service account to be updated. Useful for password changes.")] Boolean Force;
};
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,7 @@ Manage the service account for SQL Server services.
* **`[PSCredential]` ServiceAccount** (Required): The service account that should
be used when running the service.
* **`[Boolean]` RestartService** (Write): Determines whether the service is
automatically restarted.
automatically restarted when a change to the configuration was needed.
* **`[Boolean]` Force** (Write): Forces the service account to be updated.
Useful for password changes. This will cause `Set-TargetResource` to be run on
each consecutive run.
Expand Down

0 comments on commit 7f4926b

Please sign in to comment.