Permalink
Browse files

configuration data added

  • Loading branch information...
DCAG committed Jun 11, 2017
1 parent a885e4d commit b8688a91dc97085b88fc0b041bc4ab1fa8ccf266
@@ -31,7 +31,7 @@ Configuration WebDAV
}
}
Script applicationHost
Script WebDAVInApplicationHost
{
GetScript = "@{}" <#{
$Results = @{
@@ -46,8 +46,7 @@ Configuration WebDAV
}
TestScript = {
$enabled = Get-WebConfigurationProperty -PSPath 'MACHINE/WEBROOT/APPHOST' -Location 'Default Web Site' -Filter 'system.webServer/webdav/authoring' -Name 'enabled' | Select-Object -ExpandProperty Value
$enabled -eq 'True'
Get-WebConfigurationProperty -PSPath 'MACHINE/WEBROOT/APPHOST' -Location 'Default Web Site' -Filter 'system.webServer/webdav/authoring' -Name 'enabled' | Select-Object -ExpandProperty Value -First 1 -Unique
}
DependsOn = '[WindowsFeature]IISRole','[WindowsFeature]Web-DAV-Publishing','[WindowsFeature]Web-Scripting-Tools'
@@ -0,0 +1,66 @@
@{
AllNodes =
@(
@{
NodeName = 'VM-1'
Role = 'WebDAV'
WebApps = @(
@{
AppName = 'DAV01'
AppFolder = 'D:\WebDAVShare\DAV01'
WebDAVAuthoringRules = @(
@{
users =
roles =
path =
access =
},
@{
users =
roles =
path =
access =
}
) # WebDAVAuthoringRules <END>
},
@{
AppName = 'AppDAV02'
AppFolder = 'D:\WebDAVShare\DAV02'
WebDAVAuthoringRules = @(
@{
users =
roles =
path =
access =
}
) # WebDAVAuthoringRules <END>
}
) # WebApps <END>
},
@{
NodeName = 'VM-2'
Role = 'WebDAV'
WebApps = @(
@{
AppName = 'DAV01'
AppFolder = 'D:\WebDAVShare\DAV01'
WebDAVAuthoringRules = @(
@{
users =
roles =
path =
access =
},
@{
users =
roles =
path =
access =
}
) # WebDAVAuthoringRules <END>
}
) # WebApps <END>
}
) # AllNodes <END>
}

0 comments on commit b8688a9

Please sign in to comment.