Initial commit
This commit is contained in:
14
Templates/Environment/Contoso.psd1
Normal file
14
Templates/Environment/Contoso.psd1
Normal file
@@ -0,0 +1,14 @@
|
||||
@{
|
||||
Resources = @{
|
||||
NonNodeData = @{
|
||||
Services = @{
|
||||
ActiveDirectory = @{
|
||||
Domain = @{
|
||||
FQDN = "contoso.local"
|
||||
NetBIOS = "Contoso"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
142
Templates/Service/SharePointServer.psd1
Normal file
142
Templates/Service/SharePointServer.psd1
Normal file
@@ -0,0 +1,142 @@
|
||||
@{
|
||||
Parameters = @{
|
||||
DatabasePrefix = @{
|
||||
Type = 'string'
|
||||
Value = 'SharePoint'
|
||||
DefaultValue = 'SP'
|
||||
Metadata = @{
|
||||
Description = 'Prefix für alle Datenbanknamen'
|
||||
}
|
||||
}
|
||||
ServiceDatabasePrefix = @{
|
||||
Type = 'string'
|
||||
DefaultValue = 'Services'
|
||||
}
|
||||
ContentDatabasePrefix = @{
|
||||
Type = 'string'
|
||||
DefaultValue = 'Content'
|
||||
}
|
||||
ServiceApplicationPoolDefault = @{
|
||||
Type = 'string'
|
||||
DefaultValue = 'SharePoint Service Applications'
|
||||
}
|
||||
ServiceApplicationPoolUserProfileService = @{
|
||||
Type = 'string'
|
||||
DefaultValue = 'SharePoint User Profile Services'
|
||||
}
|
||||
DatbaseInstanceName = @{
|
||||
Type = 'string'
|
||||
DefaultValue = 'mssqlserver'
|
||||
Metadata = @{
|
||||
Description = 'Instanz Name für die Standart Instanz'
|
||||
}
|
||||
}
|
||||
}
|
||||
Variables = @{
|
||||
ServiceDbPrefix = "[Concat(Parameter('DatabasePrefix'),'_',Parameter('ServiceDatabasePrefix'),'_')]"
|
||||
ContentDbPrefix = "[Concat(Parameter('DatabasePrefix'),'_',Parameter('ServiceDatabasePrefix'),'_')]"
|
||||
ConfigDbName = "[Concat(Parameter('DatabasePrefix'),'_','Farm_Config')]"
|
||||
AdminDbName = "[Concat(Parameter('DatabasePrefix'),'_','Farm_AdminContent')]"
|
||||
HZDTest = "[Substring(Parameter('DatbaseInstanceName'),0,5)]"
|
||||
Test = "[ToUpper(Parameter('DatbaseInstanceName'),0,5)]"
|
||||
}
|
||||
Resources = @{
|
||||
NonNodeData = @{
|
||||
Services = @{
|
||||
SharePoint = @{
|
||||
General = @{
|
||||
ProductKey = '0000-0000-0000-0000-0000'
|
||||
}
|
||||
Windows = @{
|
||||
Registry = @{
|
||||
DisableLoopbackCheck = @{
|
||||
Path = 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa'
|
||||
Name = 'DisableLoopbackCheck'
|
||||
Type = 'DWord'
|
||||
Value = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
Database = @{
|
||||
SQLAlias = @{
|
||||
SQLServer = @{
|
||||
ServerName = ''
|
||||
InstanceName = ''
|
||||
TcpPort = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
Farm = @{
|
||||
Passphrase = 'Use-SecureString-Or-KeyVault'
|
||||
ConfigDatabaseName = "[Variable('ConfigDbName')]"
|
||||
AdminContentDatabase = "[Variable('AdminDbName')]"
|
||||
CentralAdminPort = 2016
|
||||
CentralAdminAuth = 'NTLM' # oder Kerberos
|
||||
ServiceApplicationPools = @{
|
||||
Default = @{
|
||||
Name = "[Parameter('ServiceApplicationPoolDefault')]"
|
||||
Account = 'CONTOSO\sp_services'
|
||||
}
|
||||
|
||||
UserProfile = @{
|
||||
Name = "[Parameter('ServiceApplicationPoolUserProfileService')]"
|
||||
Account = 'CONTOSO\sp_ups'
|
||||
}
|
||||
}
|
||||
ServiceApplications = @{
|
||||
ManagedMetadataService = @{
|
||||
Provision = $true
|
||||
Name = 'Managed Metadata Service'
|
||||
ApplicationPool = 'SharePoint Service Applications'
|
||||
DatabaseName = "[Concat(Variable('ServiceDbPrefix'), 'ManagedMetadata')]"
|
||||
}
|
||||
|
||||
UserProfileService = @{
|
||||
Provision = $true
|
||||
Name = 'User Profile Service'
|
||||
ApplicationPool = 'SharePoint User Profile Services'
|
||||
ProfileDBName = "[Concat(Variable('ServiceDbPrefix'), 'UserProfile_ProfileDB')]"
|
||||
SocialDBName = "[Concat(Variable('ServiceDbPrefix'), 'UserProfile_SocialDB')]"
|
||||
SyncDBName = "[Concat(Variable('ServiceDbPrefix'), 'UserProfile_SyncDB')]"
|
||||
}
|
||||
|
||||
SearchService = @{
|
||||
Provision = $true
|
||||
Name = 'Search Service Application'
|
||||
ApplicationPool = 'SharePoint Service Applications'
|
||||
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'Search')]"
|
||||
}
|
||||
|
||||
StateService = @{
|
||||
Provision = $true
|
||||
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'StateService')]"
|
||||
}
|
||||
|
||||
UsageAndHealthService = @{
|
||||
Provision = $true
|
||||
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'UsageAndHealth')]"
|
||||
}
|
||||
|
||||
AppManagementService = @{
|
||||
Provision = $true
|
||||
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'AppManagement')]"
|
||||
}
|
||||
|
||||
SubscriptionSettingsService = @{
|
||||
Provision = $true
|
||||
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'SubscriptionSettings')]"
|
||||
}
|
||||
|
||||
SecureStoreService = @{
|
||||
Provision = $true
|
||||
Name = 'Secure Store Service'
|
||||
ApplicationPool = 'SharePoint Service Applications'
|
||||
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'SecureStore')]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
12
Templates/Stage/Install.psd1
Normal file
12
Templates/Stage/Install.psd1
Normal file
@@ -0,0 +1,12 @@
|
||||
@{
|
||||
Resources = @{
|
||||
NonNodeData = @{
|
||||
LocalConfigurationManager = @{
|
||||
ConfigurationMode = "ApplyOnly"
|
||||
ConfigurationModeFrequencyMins = "120"
|
||||
RefreshMode = "PUSH"
|
||||
RefreshFrequencyMins = "30"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
12
Templates/Stage/Release.psd1
Normal file
12
Templates/Stage/Release.psd1
Normal file
@@ -0,0 +1,12 @@
|
||||
@{
|
||||
Resources = @{
|
||||
NonNodeData = @{
|
||||
LocalConfigurationManager = @{
|
||||
ConfigurationMode = "ApplyAndAutocorrect"
|
||||
ConfigurationModeFrequencyMins = "15"
|
||||
RefreshMode = "PULL"
|
||||
RefreshFrequencyMins = "30"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user