-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(PUP-1691) Install Chocolatey #76
(PUP-1691) Install Chocolatey #76
Commits on Jul 30, 2015
-
(PUP-1691) Dependency on stdlib & powershell
To install Chocolatey, we need to take a dependency on the powershell module. To be able to validate user input, it's best to take a dependency on stdlib as it has quite a bit of built-in validation.
Configuration menu - View commit details
-
Copy full SHA for 4cfe713 - Browse repository at this point
Copy the full SHA 4cfe713View commit details -
(PUP-1691) add install script template
This is the same script found at https://chocolatey.org/install.ps1.
Configuration menu - View commit details
-
Copy full SHA for 67e79cd - Browse repository at this point
Copy the full SHA 67e79cdView commit details -
Allow installing chocolatey with a custom package location. Also allow using the built-in windows shell to unzip the package. The original request for this had the ability to use the built-in Windows shell to perform the unzipping and it keeps folks from having to download an external executable by default. Allow 25 minutes for it to finish.
Configuration menu - View commit details
-
Copy full SHA for 114b131 - Browse repository at this point
Copy the full SHA 114b131View commit details
Commits on Aug 2, 2015
-
(PUP-1691) Add windows_env Module
Depend on the windows_env module for path update changes. This is to ensure they are propagated on the same run you install Chocolatey in.
Configuration menu - View commit details
-
Copy full SHA for ad57d14 - Browse repository at this point
Copy the full SHA ad57d14View commit details -
(maint) add dependencies to fixtures
For spec testing, ensure that the `.fixtures.yml` has all modules that are dependencies listed.
Configuration menu - View commit details
-
Copy full SHA for a56def6 - Browse repository at this point
Copy the full SHA a56def6View commit details -
Allow install timeout to be configurable. Move all variables to params.pp.
Configuration menu - View commit details
-
Copy full SHA for ab690ef - Browse repository at this point
Copy the full SHA ab690efView commit details -
(PUP-1691) Ensure environment variables updated
Ensure that the windows environment variables are set and are present. This should also allow Chocolatey to be installed and used on the first run of Puppet as it will refresh the PATH environment variable so that suitability is redetermined[1]. This stems from an original conversation[2] with a few community members and @joshcooper about suitability determination not being cached in newer versions of Puppet. [1] https://docs.puppetlabs.com/guides/provider_development.html#suitability [2] https://groups.google.com/d/topic/chocolatey/0hPNtAMmhNM/discussion
Configuration menu - View commit details
-
Copy full SHA for 5a849ad - Browse repository at this point
Copy the full SHA 5a849adView commit details
Commits on Aug 6, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 9c9a00c - Browse repository at this point
Copy the full SHA 9c9a00cView commit details
Commits on Aug 17, 2015
-
(PUP-1691) Add custom fact for choco install path
This includes a custom fact for chocolatey's installpath. It will attempt to read the environment variable for ChocolateyInstall from the registry and default to 'C:\ProgramData\Chocolatey' if it is not found. This allows Chocolatey to look at an existing installation by defaut. The `$chocolatey::params::install_location` variable will default to this custom fact, but can be overridden when declaring the class.
Configuration menu - View commit details
-
Copy full SHA for cb39e8a - Browse repository at this point
Copy the full SHA cb39e8aView commit details
Commits on Aug 27, 2015
-
(PUP-1691) Use modules internals pattern
Introduce init.pp and set install.pp as a private class. This allows the benefit of `include chocolatey` without needing to think about how to install Chocolatey and do any additional setup steps. This was suggested by @reidmv at chocolatey-archive#76 (comment). As an artifact of adding `assert_private()`, move stdlib requirement to at least 4.6.0.
Configuration menu - View commit details
-
Copy full SHA for a72d43a - Browse repository at this point
Copy the full SHA a72d43aView commit details
Commits on Sep 3, 2015
-
Ensure rspec dependency is at least 3.0, but less than 3.3.
Configuration menu - View commit details
-
Copy full SHA for 19964bb - Browse repository at this point
Copy the full SHA 19964bbView commit details -
(maint) Ensure Facter version for old Puppets
For Puppet older than 3.5.0 on Windows, a facter version at or under 1.7.5 should be selected for greatest compatibility when requesting a gem puppet version and if a facter version has not been specified.
Configuration menu - View commit details
-
Copy full SHA for 25150dc - Browse repository at this point
Copy the full SHA 25150dcView commit details
Commits on Sep 9, 2015
-
(PUP-3428) Configure autoUninstaller
Set autouninstaller to true by default.
Configuration menu - View commit details
-
Copy full SHA for f4fc5da - Browse repository at this point
Copy the full SHA f4fc5daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a3a2f2 - Browse repository at this point
Copy the full SHA 6a3a2f2View commit details -
Validate that the parameters being passed in meet the expectations.
Configuration menu - View commit details
-
Copy full SHA for 240a861 - Browse repository at this point
Copy the full SHA 240a861View commit details -
(maint) Ensure Hiera version for older Puppets
Similar to Facter for Puppet versions less than 3.5.0, if Hiera version hasn't been set, use a version that was released with older Puppet versions. Additionally ensure that both facter and hiera are treated this way no matter if the Puppet is on Windows or on *nix.
Configuration menu - View commit details
-
Copy full SHA for 1683f0b - Browse repository at this point
Copy the full SHA 1683f0bView commit details -
(PUP-1691) Contain only in Puppet 3.4+
Contain is not a supported keyword prior to Puppet 3.4.0. If less than 3.4.0, use the anchor pattern instead.
Configuration menu - View commit details
-
Copy full SHA for 84b9678 - Browse repository at this point
Copy the full SHA 84b9678View commit details -
(doc)(PUP-1691) Document classes update README
Add examples of usage surrounding the installation of Chocolatey to the readme and document the classes/parameters.
Configuration menu - View commit details
-
Copy full SHA for cfc49c5 - Browse repository at this point
Copy the full SHA cfc49c5View commit details -
(maint) Dependency upper version boundaries
Confine boundaries on upper versions of dependencies. This allows better compatibility as the major version barrier is a known semantic versioning boundary for incompatible changes.
Configuration menu - View commit details
-
Copy full SHA for 03f8dfa - Browse repository at this point
Copy the full SHA 03f8dfaView commit details -
(PUP-1691) chocolateyversion fact
Expose a custom fact about Chocolatey's version. Do not attempt to do configuration in versions of choco less than 0.9.9. This does mean a second convergence will be required to apply the configuration settings.
4Configuration menu - View commit details
-
Copy full SHA for 736486f - Browse repository at this point
Copy the full SHA 736486fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0c9e8b - Browse repository at this point
Copy the full SHA b0c9e8bView commit details -
Add documentation for the new facts this module produces.
Configuration menu - View commit details
-
Copy full SHA for 6396bb6 - Browse repository at this point
Copy the full SHA 6396bb6View commit details