Skip to content
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

Commits on Jul 30, 2015

  1. (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.
    ferventcoder committed Jul 30, 2015
    Configuration menu
    Copy the full SHA
    4cfe713 View commit details
    Browse the repository at this point in the history
  2. (PUP-1691) add install script template

    This is the same script found at https://chocolatey.org/install.ps1.
    ferventcoder committed Jul 30, 2015
    Configuration menu
    Copy the full SHA
    67e79cd View commit details
    Browse the repository at this point in the history
  3. (PUP-1691) Install Chocolatey

    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.
    ferventcoder committed Jul 30, 2015
    Configuration menu
    Copy the full SHA
    114b131 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2015

  1. (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.
    ferventcoder committed Aug 2, 2015
    Configuration menu
    Copy the full SHA
    ad57d14 View commit details
    Browse the repository at this point in the history
  2. (maint) add dependencies to fixtures

    For spec testing, ensure that the `.fixtures.yml` has all modules that
    are dependencies listed.
    ferventcoder committed Aug 2, 2015
    Configuration menu
    Copy the full SHA
    a56def6 View commit details
    Browse the repository at this point in the history
  3. (PUP-1691) Use params pattern

    Allow install timeout to be configurable. Move all variables to
    params.pp.
    ferventcoder committed Aug 2, 2015
    Configuration menu
    Copy the full SHA
    ab690ef View commit details
    Browse the repository at this point in the history
  4. (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
    ferventcoder committed Aug 2, 2015
    Configuration menu
    Copy the full SHA
    5a849ad View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2015

  1. Configuration menu
    Copy the full SHA
    9c9a00c View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2015

  1. (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.
    binford2k authored and ferventcoder committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    cb39e8a View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2015

  1. (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.
    ferventcoder committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    a72d43a View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2015

  1. (spec) upgrade to rspec 3

    Ensure rspec dependency is at least 3.0, but less
    than 3.3.
    ferventcoder committed Sep 3, 2015
    Configuration menu
    Copy the full SHA
    19964bb View commit details
    Browse the repository at this point in the history
  2. (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.
    ferventcoder committed Sep 3, 2015
    Configuration menu
    Copy the full SHA
    25150dc View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2015

  1. (PUP-3428) Configure autoUninstaller

    Set autouninstaller to true by default.
    ferventcoder committed Sep 9, 2015
    Configuration menu
    Copy the full SHA
    f4fc5da View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a3a2f2 View commit details
    Browse the repository at this point in the history
  3. (PUP-1691) Validate input

    Validate that the parameters being passed in meet
    the expectations.
    ferventcoder committed Sep 9, 2015
    Configuration menu
    Copy the full SHA
    240a861 View commit details
    Browse the repository at this point in the history
  4. (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.
    ferventcoder committed Sep 9, 2015
    Configuration menu
    Copy the full SHA
    1683f0b View commit details
    Browse the repository at this point in the history
  5. (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.
    ferventcoder committed Sep 9, 2015
    Configuration menu
    Copy the full SHA
    84b9678 View commit details
    Browse the repository at this point in the history
  6. (doc)(PUP-1691) Document classes update README

    Add examples of usage surrounding the installation of Chocolatey to the
    readme and document the classes/parameters.
    ferventcoder committed Sep 9, 2015
    Configuration menu
    Copy the full SHA
    cfc49c5 View commit details
    Browse the repository at this point in the history
  7. (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.
    ferventcoder committed Sep 9, 2015
    Configuration menu
    Copy the full SHA
    03f8dfa View commit details
    Browse the repository at this point in the history
  8. (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.
    ferventcoder committed Sep 9, 2015
    4 Configuration menu
    Copy the full SHA
    736486f View commit details
    Browse the repository at this point in the history
  9. (maint) spec naming

    ferventcoder committed Sep 9, 2015
    Configuration menu
    Copy the full SHA
    b0c9e8b View commit details
    Browse the repository at this point in the history
  10. (PUP-1691) document facts

    Add documentation for the new facts this module produces.
    ferventcoder committed Sep 9, 2015
    Configuration menu
    Copy the full SHA
    6396bb6 View commit details
    Browse the repository at this point in the history