-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from virtualdesktopdevops/dev
Release v1.0.0 - PuppetForge
- Loading branch information
Showing
14 changed files
with
419 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkg/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pkg/ | ||
tests/ | ||
assets/ | ||
_config.yml | ||
.fixtures.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changelog - xd7storefront # | ||
|
||
## Version 1.0.0 ## | ||
- Puppet types for Storefront Store and Netscaler gateway configuration | ||
- IIS SSL configuration to secure communications between Storefront and the client device | ||
- SSL configuration to secure communications with the Citrix XML service | ||
- Citrix Storefront and Microsoft IIS installation and configuration with default store creation | ||
- Initial release |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,93 @@ | ||
#Class configuring Citrix Storefront first store | ||
class xd7storefront::config inherits xd7storefront { | ||
|
||
#Initialize Storefront, deploy Storefront IIS config | ||
dsc_sfcluster{'StorefrontGroup': | ||
dsc_baseurl => $baseurl, | ||
dsc_siteid => 1, | ||
}-> | ||
#Initialize Storefront, deploy Storefront IIS config | ||
dsc_sfcluster{'StorefrontGroup': | ||
dsc_baseurl => $xd7storefront::baseurl, | ||
dsc_siteid => 1, | ||
} | ||
|
||
#Create first store | ||
dsc_sfauthenticationservice{ 'DefaultAuthenticationService': | ||
#Create first store | ||
->dsc_sfauthenticationservice{ 'DefaultAuthenticationService': | ||
dsc_virtualpath => '/Citrix/Authentication', | ||
}-> | ||
} | ||
|
||
#Configures authentication methods available on an existing Citrix StoreFront Authentication Service | ||
#string Array [ 'Certificate', 'CitrixAGBasic', 'CitrixFederation', 'ExplicitForms', 'HttpBasic', 'IntegratedWindows' ] | ||
dsc_sfauthenticationservicemethod{ 'DefaultStoreAuthenticationMethods': | ||
dsc_virtualpath => '/Citrix/Authentication', | ||
dsc_authenticationmethods => $storefrontAuthMethods, | ||
}-> | ||
->dsc_sfauthenticationservicemethod{ 'DefaultStoreAuthenticationMethods': | ||
dsc_virtualpath => '/Citrix/Authentication', | ||
dsc_authenticationmethods => $xd7storefront::storefrontauthmethods, | ||
} | ||
|
||
#Exclude CitrixFederation method | ||
dsc_sfauthenticationservicemethod{ 'ExcludeCitrixFederation': | ||
dsc_virtualpath => '/Citrix/Authentication', | ||
->dsc_sfauthenticationservicemethod{ 'ExcludeCitrixFederation': | ||
dsc_virtualpath => '/Citrix/Authentication', | ||
dsc_excludeauthenticationmethods => ['CitrixFederation'], | ||
}-> | ||
} | ||
|
||
#Create the store | ||
dsc_sfstore{'DefaultStore': | ||
dsc_friendlyname => 'DefaultStore', | ||
dsc_virtualpath => '/Citrix/Store', | ||
->dsc_sfstore{'DefaultStore': | ||
dsc_friendlyname => 'DefaultStore', | ||
dsc_virtualpath => '/Citrix/Store', | ||
dsc_authenticationservicevirtualpath => '/Citrix/Authentication', | ||
}-> | ||
} | ||
|
||
#Create the Store web interface | ||
dsc_sfstorewebreceiver{ 'DefaultStoreWebReceiver': | ||
->dsc_sfstorewebreceiver{ 'DefaultStoreWebReceiver': | ||
dsc_storevirtualpath => '/Citrix/Store', | ||
dsc_virtualpath => '/Citrix/StoreWeb', | ||
require => Dsc_sfstore['DefaultStore'] | ||
}-> | ||
dsc_virtualpath => '/Citrix/StoreWeb', | ||
require => Dsc_sfstore['DefaultStore'] | ||
} | ||
|
||
#Make sure that Storefront web receiver authentication methods are the same than Store authentication methods | ||
dsc_xd7storefrontreceiverauthenticationmethod{ 'XD7StoreFrontReceiverWebAuthenticationMethods': | ||
dsc_virtualpath => '/Citrix/StoreWeb', | ||
dsc_siteid => 1, | ||
dsc_authenticationmethod => $storefrontAuthMethods, | ||
require => Dsc_sfstorewebreceiver['DefaultStoreWebReceiver'] | ||
->dsc_xd7storefrontreceiverauthenticationmethod{ 'XD7StoreFrontReceiverWebAuthenticationMethods': | ||
dsc_virtualpath => '/Citrix/StoreWeb', | ||
dsc_siteid => 1, | ||
dsc_authenticationmethod => $xd7storefront::storefrontauthmethods, | ||
require => Dsc_sfstorewebreceiver['DefaultStoreWebReceiver'] | ||
} | ||
#Link store to XenDesktop site | ||
dsc_sfstorefarm{ 'DefaultStoreFarm': | ||
|
||
#Link store to XenDesktop site | ||
->dsc_sfstorefarm{ 'DefaultStoreFarm': | ||
dsc_storevirtualpath => '/Citrix/Store', | ||
dsc_farmname => $xd7sitename, | ||
dsc_farmtype => $xd7farmType, | ||
dsc_servers => $deliverycontrollers, | ||
dsc_transporttype => $deliveryControllersTransportType, | ||
dsc_loadbalance => $deliveryControllersLoadBalance, | ||
#dsc_port => $deliveryControllersPort, | ||
require => Dsc_sfstore['DefaultStore'] | ||
dsc_farmname => $xd7storefront::xd7sitename, | ||
dsc_farmtype => $xd7storefront::xd7farmtype, | ||
dsc_servers => $xd7storefront::deliverycontrollers, | ||
dsc_transporttype => $xd7storefront::deliverycontrollerstransporttype, | ||
dsc_loadbalance => $xd7storefront::deliverycontrollersloadbalance, | ||
dsc_port => $xd7storefront::deliverycontrollersport, | ||
require => Dsc_sfstore['DefaultStore'] | ||
} | ||
|
||
#Disable CRL checking. Causing excepssive delay when storefront logon page is displayed | ||
#http://www.carlstalhood.com/storefront-3-5-tweaks/#crl | ||
dsc_script{ 'CitrixBrokerServiceSSL': | ||
dsc_getscript => 'Return @{ Result = $false) }', | ||
dsc_script{ 'DisableCRLChecking': | ||
dsc_getscript => 'Return @{ Result = $false) }', | ||
dsc_testscript => 'Return $false', | ||
dsc_setscript => 'Add-PSSnapin Citrix.DeliveryServices.Framework.Commands | ||
dsc_setscript => 'Add-PSSnapin Citrix.DeliveryServices.Framework.Commands | ||
Set-DSAssemblyVerification $false' | ||
} | ||
|
||
#Disable Customer Experience Improvement Program (CEIP) (HKLM:\SOFTWARE\Citrix\Telemetry\CEIP -Name 'Enabled' -Value "0x00000000") and restart CitrixTelemetryService | ||
#Disable Customer Experience Improvement Program (CEIP) | ||
#(HKLM:\SOFTWARE\Citrix\Telemetry\CEIP -Name 'Enabled' -Value "0x00000000") and restart CitrixTelemetryService | ||
#http://www.carlstalhood.com/storefront-3-5-basic-configuration/#ceip | ||
service{'CitrixTelemetryService': | ||
ensure => 'running', | ||
enable => true | ||
} | ||
|
||
registry_value { 'HKLM\SOFTWARE\Citrix\Telemetry\CEIP': | ||
path =>'HKLM\SOFTWARE\Citrix\Telemetry\CEIP', | ||
ensure => present, | ||
path =>'HKLM\SOFTWARE\Citrix\Telemetry\CEIP', | ||
type => 'dword', | ||
data => '0', | ||
notify => Service['CitrixTelemetryService'] | ||
} | ||
|
||
|
||
#Redirect from default IIS page to default store | ||
file{'c:/inetpub/wwwroot/index.html': | ||
ensure => file, | ||
content => template('xd7storefront/index.erb'), | ||
require => Dsc_sfstorewebreceiver['DefaultStoreWebReceiver'] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
#Class installing Citrix Storefront feature | ||
class xd7storefront::installstorefront inherits xd7storefront { | ||
|
||
dsc_xd7feature { 'XD7Storefront': | ||
dsc_role => 'Storefront', | ||
dsc_sourcepath => $sourcepath, | ||
dsc_ensure => 'present', | ||
notify => Reboot['after_run'] | ||
} | ||
dsc_xd7feature { 'XD7Storefront': | ||
dsc_role => 'Storefront', | ||
dsc_sourcepath => $xd7storefront::sourcepath, | ||
dsc_ensure => 'present', | ||
notify => Reboot['after_run'] | ||
} | ||
|
||
reboot { 'after_run': | ||
apply => finished, | ||
} | ||
|
||
} | ||
reboot { 'after_run': | ||
apply => finished, | ||
} | ||
} |
Oops, something went wrong.