Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.

Commit

Permalink
Merge pull request #68 from dlwyatt/ResourceUpdates
Browse files Browse the repository at this point in the history
Resource updates
  • Loading branch information
dlwyatt committed Oct 9, 2014
2 parents e006ad8 + 940bae8 commit 2f303e1
Show file tree
Hide file tree
Showing 23 changed files with 58 additions and 1,413 deletions.
Expand Up @@ -11,6 +11,7 @@
######################################################################################
function Get-TargetResource
{
[OutputType([hashtable])]
param
(
[Parameter(Mandatory)]
Expand All @@ -21,7 +22,7 @@ function Get-TargetResource
[ValidateNotNullOrEmpty()]
[String]$InterfaceAlias,

[Int]$SubnetMask = 16,
[byte]$SubnetMask = 16,

[ValidateNotNullOrEmpty()]
[String]$DefaultGateway,
Expand Down Expand Up @@ -59,7 +60,7 @@ function Set-TargetResource
[ValidateNotNullOrEmpty()]
[String]$InterfaceAlias,

[Int]$SubnetMask,
[byte]$SubnetMask,

[ValidateNotNullOrEmpty()]
[String]$DefaultGateway,
Expand All @@ -78,6 +79,7 @@ function Set-TargetResource
######################################################################################
function Test-TargetResource
{
[OutputType([bool])]
param
(
[Parameter(Mandatory)]
Expand All @@ -88,7 +90,7 @@ function Test-TargetResource
[ValidateNotNullOrEmpty()]
[String]$InterfaceAlias,

[Int]$SubnetMask,
[byte]$SubnetMask,

[ValidateNotNullOrEmpty()]
[String]$DefaultGateway,
Expand Down Expand Up @@ -120,7 +122,7 @@ function ValidateProperties
[ValidateNotNullOrEmpty()]
[String]$DefaultGateway,

[Int]$SubnetMask = 16,
[byte]$SubnetMask = 16,

[ValidateSet("IPv4", "IPv6")]
[String]$AddressFamily = "IPv4",
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion Resources/cNetworking/cNetworking.psd1
@@ -1,6 +1,6 @@
@{
# Version number of this module.
ModuleVersion = '2.0'
ModuleVersion = '2.0.1'

# ID used to uniquely identify this module
GUID = 'e6647cc3-ce9c-4c86-9eb8-2ee8919bf358'
Expand Down
Expand Up @@ -8,6 +8,7 @@
#
function Get-TargetResource
{
[OutputType([hashtable])]
param
(
[parameter(Mandatory)]
Expand Down Expand Up @@ -161,6 +162,7 @@ function Set-TargetResource
#
function Test-TargetResource
{
[OutputType([bool])]
param
(
[parameter(Mandatory)]
Expand Down
Binary file not shown.
157 changes: 0 additions & 157 deletions Resources/cSqlPs/DSCResources/cSqlHAEndPoint/cSqlHAEndPoint.psm1

This file was deleted.

This file was deleted.

0 comments on commit 2f303e1

Please sign in to comment.