Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-3035

Chocolatey - custom provider for config settings (configuration)

    XMLWordPrintable

    Details

    • Template:
    • Acceptance Criteria:
      Hide

      Summary

      It should be able to get, test and set configuration values from chocolatey's configuration through working with choco.exe.

      Details

      Given a clean Windows box and Chocolatey versions 0.9.10.0

      Have manifests that

      • installs chocolatey
      • Sets a config value
      • updates a config value
      • Unsets a config - (only in 0.9.10+)
      • Compiles on a master
      • Localization testing not required
      • Performance not a concern

      Configuration Settings - proxy, proxy user, proxy password

      • Test cases for each of the above that sets and updates

      Verify

      The configuration file accurately reflects the config values set by manifest.

      Not validating encrypted settings.

      Show
      Summary It should be able to get, test and set configuration values from chocolatey's configuration through working with choco.exe. Details Given a clean Windows box and Chocolatey versions 0.9.10.0 Have manifests that installs chocolatey Sets a config value updates a config value Unsets a config - (only in 0.9.10+) Compiles on a master Localization testing not required Performance not a concern Configuration Settings - proxy, proxy user, proxy password Test cases for each of the above that sets and updates Verify The configuration file accurately reflects the config values set by manifest. Not validating encrypted settings.
    • Epic Link:
    • Story Points:
      3
    • Sprint:
      Windows 2016-06-29

      Description

      choco config was introduced in v0.9.9.9 and has had no significant changes since it was introduced. The docs related to config are located at https://github.com/chocolatey/choco/wiki/CommandsConfig

      On first converge it may be important to install Chocolatey, set config configuration AND install packages using that configuration set. This means it must be done as a custom type so that one can discover what version of Chocolatey was just installed, as custom types are the only thing that always runs client side.

      Config is important as it allows folks to specify proxy settings.

      Since unset was not introduced until 0.9.10.x, we will require v0.9.10.0 to take advantage of this feature, so that absent works and there is no confusion about being able to set a value, but not remove that setting. That scenario could be surprising for folks so we want to avoid it.

      Detail

      Settings
      cacheLocation =  | Cache location if not TEMP folder.
      commandExecutionTimeoutSeconds = 2700 | Default timeout for command execution.
      containsLegacyPackageInstalls = true | Install has packages installed prior to 0.9.9 series.
      proxy =  | Explicit proxy location.
      proxyUser =  | Optional proxy user.
      proxyPassword =  | Optional proxy password. Encrypted.
      virusCheckMinimumPositives = 5 | Minimum number of scan result positives before flagging a binary as a possible virus.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              erick Erick Banks
              Reporter:
              josh Josh Cooper
              QA Contact:
              Erik Dasher
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support