Conditional Assignment of $workdir
Remove /root from $workdir Assignment

params.pp now sets the absolute file path for $workdir
Use $workdir Instead of Hardcoding
Add $etcpath Param

Path to /etc/puppetlabs/puppet is different on Windows.
Use $etcpath Instead of Hardcoding
Use $etcpath Instead of Hardcoding
Only Remove /etc/puppet on non-Windows Systems
Define SSH Key Path Using Case Statement
Require Git Class Instead of Package

Package won’t be installed on Windows.
Add Windows Specific Values
Add Windows Git Installer
Typo
Unnecessary File Resource
Add $environment = undef Override
Resource Title Typo
generate_key creates .ssh
No need to set file defaults
Add Case Statement for Exec Path/Environment
Add Windows Support
Missing Brace