diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..01d0a08
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+pkg/
diff --git a/.pmtignore b/.pmtignore
new file mode 100644
index 0000000..db243cb
--- /dev/null
+++ b/.pmtignore
@@ -0,0 +1,6 @@
+pkg/
+tests/
+assets/
+_layouts/
+_config.yml
+.fixtures.yml
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..b73e4fd
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,8 @@
+# Changelog - xd7director #
+
+## Version 1.0.0
+- Used custom fact to retrieve domain netbios name.
+- Citrix Director service account creation and SPN configuration.
+- Citrix Director installation and initial configuration
+- IIS SSL binding configuration.
+- Initial release.
diff --git a/README.markdown b/README.markdown
index 8bd46c6..74dd2a8 100644
--- a/README.markdown
+++ b/README.markdown
@@ -9,55 +9,61 @@ The following options are available for a production-grade installation :
- Security : IIS SSL configuration to secure communications between Director and the client device.
- Resiliency : Deployment of a Director pool in a load-balanced environment with SPN setup and Kerberos SSO capability.
+## Requirements ##
+The minimum Windows Management Framework (PowerShell) version required is 5.0 or higher, which ships with Windows 10 or Windows Server 2016, but can also be installed on Windows 7 SP1, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2012 and Windows Server 2012 R2.
-## Integration informations
-Director runs with service account to improve security and allow the deployment of multiple Director instances (Director Pool) configured for Kerberos SSO login behind a load-balancer.
-All the Director nodes in a Director Pool must have their Director IIS ApplicationPool be configured with the same service account and the same SPN.
-
-The SSL certificate provided needs to be a password protected p12/pfx certificate including the private key. IIS HTTPS binding has to be activated manuelly with the SSL certificate deployed by puppet because of a compatibility issue between xWebsite DSC ressource and Storefront SDK powershell scripts.
-
-The module can be installed on a Standard, Datacenter version of Windows 2012R2 or Windows 2016. **Core version is not supported by Citrix for delivery Controller installation**.
-
-## Usage
-### xd7director
-This class will install and configure IIS and Citrix Director.
-- **director_svc_username** : (string format username) : Director service account (on which Director IIS ApplicationPool will run). Use **username** format. **DO NOT** use DOMAIN\username format.
-- **director_svc_password** : Password of the Director service account. Should be encrypted with hiera-eyaml.
-- **setup_svc_username** : (string) Privileged account used by Puppet for installing the software.
-- **setup_svc_password** : (string) Password of the privileged account. Should be encrypted with hiera-eyaml.
-- **sourcePath** : (string) Path of a folder containing the Xendesktop 7.x installer (unarchive the ISO image in this folder).
-- **deliveryControllers** : (String) List of Citrix Delivery Controllers of the XenDesktop7 site 'srv-cxdc01.domain.net, srv-cxdc012.domain.net'
-- **domainName** : (string) Active Directory domain name (full)
-- **domainNetbiosName** : (string) : Active Directory domain NETBIOS name.
-- **loadbalandedDirector** : true or false. Is Director deployed behind a load-balancer ? Default : false
-- **loadbalancedDirectorFqdn** (string)(optionnal) FQDN of the Director pool associated to the virtual server IP configured on the loadbalancer
-- **https** : (boolean) : true or false. Deploy SSL certificate on IIS and activate SSL access to Storefront ? Default : false
-- **sslCertificateSourcePath** : (string) Location of the SSL certificate (p12 / PFX format with private key). Can be local folder, UNC path, HTTP URL)
-- **sslCertificatePassword** : (string) Password protecting the p12/pfx SSL certificate file.
-- **sslCertificateThumbprint** : (string) Thumbprint of the SSL certificate (available in the SSL certificate).
-- **caCertificateSourcePath** : (string) Location of the SSL Certification Autority root certificate (PEM or CER format). Can be local folder, UNC path, HTTP URL)
-- **caCertificateThumbprint** : (string) Thumbprint of the SSL Certification Autority root certificate (available in the SSL certificate).
+This module requires a custom version of the puppetlabs-dsc module compiled with [XenDesktop7](https://github.com/VirtualEngine/XenDesktop7) Powershell DSC resource as a dependency. Ready to use virtualdesktopdevops/dsc v1.5.0 puppet module provided on [Puppet Forge](https://forge.puppet.com/virtualdesktopdevops/dsc).
+## Change log ##
+
+A full list of changes in each version can be found in the [change log](CHANGELOG.md).
+
+
+## Integration informations ##
+Citrix Director runs with the identity of a service account to improve security and allow the deployment of multiple Director instances (Director Pool) configured for Kerberos SSO login behind a load-balancer.
+All the Director nodes in a Director Pool must have their Director IIS ApplicationPool be configured to use the same service account and the same SPN.
+
+The module can be installed on a Standard, Datacenter version of Windows 2012R2 or Windows 2016. **Core version is not supported by Citrix for Director installation**.
+
+Puppet example code has been updated to future parser syntax (4.x). All the parameters refering to remote locations (file shares) have to be prefixed with \\\\ instead of the classical \\. This is because of Puppet >= 4.x parsing \\ as a single \ in single-quoted strings. Use parser = future in puppet 3.x /etc/puppet/puppet.conf to use this module in your existing Puppet 3.x deployment and prepare Puppet 4.x migration.
+
+## Usage ##
+### xd7director parameters###
+
+- **`[String]` director_svc_username** _(Required)_: Director service account (on which Director IIS ApplicationPool will run). Use **username** format. **DO NOT** use DOMAIN\username format.
+- **`[String]` director_svc_password** _(Required)_: Password of the Director service account. Should be encrypted with hiera-eyaml.
+- **`[String]` setup_svc_username** _(Required)_: Privileged account used by Puppet for installing the software.
+- **`[String]` setup_svc_password** _(Required)_: Password of the privileged account. Should be encrypted with hiera-eyaml.
+- **`[String]` sourcepath** _(Required)_: Path of a folder containing the Xendesktop 7.x installer (unarchive the ISO image in this folder).
+- **`[String]` deliverycontrollers** _(Required)_: List of Citrix Delivery Controllers of the XenDesktop7 site 'srv-cxdc01.domain.net, srv-cxdc012.domain.net'
+- **`[Boolean]` loadbalandeddirector** _(Optional, default is false)_: Is Director deployed behind a load-balancer ? Default : false
+- **`[String]` loadbalanceddirectorfqdn** _(Required, if loadbalandeddirector = true)_: FQDN of the Director pool associated to the virtual server IP configured on the loadbalancer
+- **`[Boolean]` https** _(Optional, default is false)_: Deploy SSL certificate on IIS and activate SSL access to Storefront ? Default : false
+- **`[String]` sslcertificatesourcepath** _(Required if https = true)_: Location of the SSL certificate (p12 / PFX format with private key). Can be local folder, UNC path, HTTP URL)
+- **`[String]` sslcertificatepassword** _(Required if https = true)_: Password protecting the p12/pfx SSL certificate file.
+- **`[String]` sslcertificatethumbprint** _(Required if https = true)_: Thumbprint of the SSL certificate (available in the SSL certificate).
+- **`[String]` cacertificatesourcepath** _(Required if https = true)_: Location of the SSL Certification Autority root certificate (PEM or CER format). Can be local folder, UNC path, HTTP URL)
+- **`[String]` cacertificatethumbprint** _(Required if https = true)_: Thumbprint of the SSL Certification Autority root certificate (available in the SSL certificate).
+
+### xd7director example code###
~~~puppet
node 'director' {
- class{'xd7director':
- director_svc_username => 'svc-director',
- director_svc_password => 'P@ssw0rd',
- setup_svc_username => 'TESTLAB\svc-puppet',
- setup_svc_password => 'P@ssw0rd',
- sourcepath => '\\fileserver\xendesktop715',
- deliverycontrollers => 'srv-cxdc01.testlab.com, srv-cxdc02.testlab.com',
- domainName => 'TESTLAB.COM',
- domainNetbiosName=> 'TESTLAB',
- loadbalandedDirector => true,
- loadbalancedDirectorFqdn => 'director.testlab.com',
- https => true,
- sslCertificateSourcePath => '\\fileserver\ssl\cxdirector.pfx',
- sslCertificatePassword => 'P@ssw0rd',
- sslCertificateThumbprint => '44cce73845feef4da4d369a37386c862eb3bd4e1',
- caCertificateSourcePath => '\\fileserver\ssl\ca-root.pem',
- caCertificateThumbprint => '48jise7dssdsd4da4d369a3738dsdsdeeb3sdiu3'
- }
+ class{'xd7director':
+ director_svc_username => 'svc-director',
+ director_svc_password => 'P@ssw0rd',
+ setup_svc_username => 'TESTLAB\svc-puppet',
+ setup_svc_password => 'P@ssw0rd',
+ sourcepath => '\\\\fileserver\\xendesktop715',
+ deliverycontrollers => 'srv-cxdc01.testlab.com, srv-cxdc02.testlab.com',
+ loadbalandeddirector => true,
+ loadbalanceddirectorfqdn => 'director.testlab.com',
+ https => true,
+ sslcertificatesourcepath => '\\\\fileserver\\ssl\\cxdirector.pfx',
+ sslcertificatepassword => 'P@ssw0rd',
+ sslcertificatethumbprint => '44cce73845feef4da4d369a37386c862eb3bd4e1',
+ cacertificatesourcepath => '\\\\fileserver\\ssl\\ca-root.pem',
+ cacertificatethumbprint => '48jise7dssdsd4da4d369a3738dsdsdeeb3sdiu3'
+ }
}
~~~
diff --git a/_config.yml b/_config.yml
index c741881..30cede3 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1 +1,13 @@
-theme: jekyll-theme-slate
\ No newline at end of file
+title: Citrix Xendesktop 7.x Director puppet module
+description: Puppet modules installing Citrix Director, which provides Citrix XenDesktop 7.x deployment monitoring capabilities. Director is linked to the XenApp/XenDesktop site Delivery Controllers and configured for Kerberos SSO login, enhancing security level and speeding access to the monitoring interface.
+google_site_verification: R71XDERzPOp9lUudi8X6iKrpcoIgDG_1HzRMz_TMaDY
+google_analytics: UA-12767493-6
+theme: jekyll-theme-slate
+plugins:
+ - jekyll-seo-tag
+ - jekyll-sitemap
+ - jekyll-feed
+ - jekyll-redirect-from
+ - jekyll-mentions
+jekyll-mentions:
+ base_url: http://www.virtualdesktopdevops.com
\ No newline at end of file
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..639fb46
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,88 @@
+
+
+
+