-
Notifications
You must be signed in to change notification settings - Fork 110
/
Copy pathpost-install.json
50 lines (50 loc) · 1.84 KB
/
post-install.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"Parameters" : {
"SitecoreSiteName": {
"Type": "string",
"DefaultValue": "Sitecore",
"Description": "The name of the Sitecore instance to run post-install steps on."
},
"SitecoreHostNames": {
"Type": "hashtable",
"Description": "A mapping of Sitecore site names to host names for a configuration patch."
},
"SitecoreSiteRoot": {
"Type": "string",
"Description": "The path where the main Sitecore instance is being installed.",
"Validate": "[validatenotnullorempty($_)]"
}
},
"Modules" : [
"..\\install-modules\\helix.examples.psm1"
],
"Tasks" : {
"AddAppPoolToPerfmon" : {
"Description": "Adds the instance app pool user to performance log and monitor groups.",
"Type": "AddAppPoolToPerfmon",
"Params": {
"SitecoreSiteName" : "[parameter('SitecoreSiteName')]"
}
},
"WriteSiteHostNameConfigPatch": {
"Description": "Writes a configuration patch to map host names to Sitecore site definitions.",
"Type": "WriteSiteHostNameConfigPatch",
"Params": {
"HostNames": "[parameter('SitecoreHostNames')]",
"DestinationPath": "[concat(parameter('SitecoreSiteRoot'), '\\App_Config\\Environment\\SiteHostNames.Dev.config')]"
}
}
},
"UninstallTasks": {
"RemoveAppPoolFromPerfmon": {
"Description": "Removes the instance app pool user from the performance log and monitor groups.",
"Type": "RemoveAppPoolFromPerfmon",
"Params": {
"SitecoreSiteName" : "[parameter('SitecoreSiteName')]"
}
}
},
"Settings" : {
"AutoRegisterExtensions": true
}
}