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

Could not evaluate An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[nexus](provider=windows)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: chocolatey
    • Labels:
      None
    • Template:
    • Team:
      Windows
    • CS Priority:
      Reviewed
    • CS Frequency:
      3 - 25-50% of Customers
    • CS Severity:
      2 - Annoyance
    • CS Business Value:
      2 - $$$
    • CS Impact:
      Hide
      Hi Puppet Experts,
       I have windows2012R mechince as puppet masterless node, when i try to install the JAVA, i am getting below error, Could please let me know what will be the reason for this error.

      Thanks in Advance
      VIJAY


      =========================================================
      Notice: Applied catalog in 4.16 seconds
      PS C:\Users\vagrant> puppet apply --verbose --environment masterless --certname puppet --hiera_config="$Env:ProgramData\PuppetLabs\code\environments\masterless\hiera.yaml" "$Env:ProgramData\PuppetLabs\code\envi
      ronments\masterless\manifests\site.pp" --detailed-exitcodes
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Notice: Compiled catalog for puppet in environment masterless in 0.98 seconds
      Info: Applying configuration version '1493982044'
      Notice: /Stage[repos]/Profile::Base/Chocolateysource[nexus]/ensure: created
      Error: /Stage[repos]/Profile::Base/Chocolateysource[nexus]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[nexus](provider=windows)
      Notice: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]/ensure: ensure changed 'present' to 'disabled'
      Error: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[chocolatey](provider=wind
      ows)
      Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[nexus] has failures: true
      Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[chocolatey] has failures: true
      Warning: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Skipping because of failed dependencies
      Notice: Applied catalog in 4.12 seconds
      Show
      Hi Puppet Experts,  I have windows2012R mechince as puppet masterless node, when i try to install the JAVA, i am getting below error, Could please let me know what will be the reason for this error. Thanks in Advance VIJAY ========================================================= Notice: Applied catalog in 4.16 seconds PS C:\Users\vagrant> puppet apply --verbose --environment masterless --certname puppet --hiera_config="$Env:ProgramData\PuppetLabs\code\environments\masterless\hiera.yaml" "$Env:ProgramData\PuppetLabs\code\envi ronments\masterless\manifests\site.pp" --detailed-exitcodes Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Notice: Compiled catalog for puppet in environment masterless in 0.98 seconds Info: Applying configuration version '1493982044' Notice: /Stage[repos]/Profile::Base/Chocolateysource[nexus]/ensure: created Error: /Stage[repos]/Profile::Base/Chocolateysource[nexus]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[nexus](provider=windows) Notice: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]/ensure: ensure changed 'present' to 'disabled' Error: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[chocolatey](provider=wind ows) Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[nexus] has failures: true Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[chocolatey] has failures: true Warning: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Skipping because of failed dependencies Notice: Applied catalog in 4.12 seconds
    • Release Notes Summary:
      Hide
      Hi Puppet Experts,
       I have windows2012R mechince as puppet masterless node, when i try to install the JAVA, i am getting below error, Could please let me know what will be the reason for this error.

      Thanks in Advance
      VIJAY


      =========================================================
      Notice: Applied catalog in 4.16 seconds
      PS C:\Users\vagrant> puppet apply --verbose --environment masterless --certname puppet --hiera_config="$Env:ProgramData\PuppetLabs\code\environments\masterless\hiera.yaml" "$Env:ProgramData\PuppetLabs\code\envi
      ronments\masterless\manifests\site.pp" --detailed-exitcodes
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Notice: Compiled catalog for puppet in environment masterless in 0.98 seconds
      Info: Applying configuration version '1493982044'
      Notice: /Stage[repos]/Profile::Base/Chocolateysource[nexus]/ensure: created
      Error: /Stage[repos]/Profile::Base/Chocolateysource[nexus]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[nexus](provider=windows)
      Notice: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]/ensure: ensure changed 'present' to 'disabled'
      Error: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[chocolatey](provider=wind
      ows)
      Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[nexus] has failures: true
      Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[chocolatey] has failures: true
      Warning: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Skipping because of failed dependencies
      Notice: Applied catalog in 4.12 seconds
      Show
      Hi Puppet Experts,  I have windows2012R mechince as puppet masterless node, when i try to install the JAVA, i am getting below error, Could please let me know what will be the reason for this error. Thanks in Advance VIJAY ========================================================= Notice: Applied catalog in 4.16 seconds PS C:\Users\vagrant> puppet apply --verbose --environment masterless --certname puppet --hiera_config="$Env:ProgramData\PuppetLabs\code\environments\masterless\hiera.yaml" "$Env:ProgramData\PuppetLabs\code\envi ronments\masterless\manifests\site.pp" --detailed-exitcodes Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Notice: Compiled catalog for puppet in environment masterless in 0.98 seconds Info: Applying configuration version '1493982044' Notice: /Stage[repos]/Profile::Base/Chocolateysource[nexus]/ensure: created Error: /Stage[repos]/Profile::Base/Chocolateysource[nexus]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[nexus](provider=windows) Notice: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]/ensure: ensure changed 'present' to 'disabled' Error: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[chocolatey](provider=wind ows) Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[nexus] has failures: true Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[chocolatey] has failures: true Warning: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Skipping because of failed dependencies Notice: Applied catalog in 4.12 seconds
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version:
      Puppet Version:
      OS Name/Version:

      Hi Puppet Experts,
      I have windows2012R mechince as puppet masterless node, when i try to install the JAVA, i am getting below error, Could please let me know what will be the reason for this error.

      Thanks in Advance
      VIJAY

      =========================================================
      Notice: Applied catalog in 4.16 seconds
      PS C:\Users\vagrant> puppet apply --verbose --environment masterless --certname puppet --hiera_config="$Env:ProgramData\PuppetLabs\code\environments\masterless\hiera.yaml" "$Env:ProgramData\PuppetLabs\code\envi
      ronments\masterless\manifests\site.pp" --detailed-exitcodes
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Info: Loading facts
      Notice: Compiled catalog for puppet in environment masterless in 0.98 seconds
      Info: Applying configuration version '1493982044'
      Notice: /Stage[repos]/Profile::Base/Chocolateysource[nexus]/ensure: created
      Error: /Stage[repos]/Profile::Base/Chocolateysource[nexus]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[nexus](provider=windows)
      Notice: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]/ensure: ensure changed 'present' to 'disabled'
      Error: /Stage[repos]/Profile::Base/Chocolateysource[chocolatey]: Could not evaluate: An error occurred running choco. Unable to set Chocolatey source configuration for Chocolateysource[chocolatey](provider=wind
      ows)
      Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[nexus] has failures: true
      Notice: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Dependency Chocolateysource[chocolatey] has failures: true
      Warning: /Stage[main]/Exp_pccm/Notify[tis is a test var temp var]: Skipping because of failed dependencies
      Notice: Applied catalog in 4.12 seconds

      Desired Behavior:

      Actual Behavior:

      Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vijayan_puppet vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support