by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 26 2018 18:09
    @ferventcoder banned @Mikewazovsk1
Gary Ewan Park
@gep13
If so then yes, I believe this is a known issue that will be fixed with 0.10.0.
Basically, on initial installation we run Chocolatey once to ensure setup of config file etc, however, that initial call is exiting with a code of 1, which is being picked up with as an error.
Gerold Katzinger
@kkzinger
@gep13 Thanks for your reply. I tracked down a problem with proxy settings in my environment which could be the cause of the described behavior.
I havent tested new installations, will test this next Tuesday. Some machines are already waiting ...
Gary Ewan Park
@gep13
Gotcha! Keep us posted on how you get on.
Rob Reynolds
@ferventcoder
@kkzinger our recommendation for organizational use of Chocolatey is to shield yourself from issues that could occur like this by having Chocolatey on your INTERNAL repository and installing from there. Then subscribe to our announcements list so you'll know when we have new releases. Then you can choose when to test that and pull those things into your environment. Here is a full guide on how to get all set up properly that we've written recently (and it has scripts!): https://chocolatey.org/docs/how-to-setup-offline-installation
ssok1
@ssok1
I'm running puppet module acceptance tests and seems like i'm getting errors at puppet runs when installing choco packs

this is the choco logs:
2018-02-22 20:46:55,758 1836 [DEBUG] - XmlConfiguration is now operational
2018-02-22 20:46:55,836 1836 [INFO ] - ============================================================
2018-02-22 20:46:55,914 1836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\config".
2018-02-22 20:46:56,226 1836 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\config\chocolatey.config"
with "C:\ProgramData\chocolatey\config\chocolatey.config.1836.update".
Backup placed at "C:\ProgramData\chocolatey\config\chocolatey.config.backup".
2018-02-22 20:46:56,226 1836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\config\chocolatey.config.1836.update"
to "C:\ProgramData\chocolatey\config\chocolatey.config".
2018-02-22 20:46:56,226 1836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.1836.update".
2018-02-22 20:46:56,242 1836 [INFO ] - Chocolatey v0.10.8
2018-02-22 20:46:56,258 1836 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2018-02-22 20:46:56,258 1836 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2018-02-22 20:46:56,258 1836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2018-02-22 20:46:56,273 1836 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" source add -n *chocolatey -s http://*****.*****.org/chocopacks/***** --priority 1
2018-02-22 20:46:56,273 1836 [DEBUG] - Received arguments: source add -n *chocolatey -s http://*****.*****.org/chocopacks/***** --priority 1
2018-02-22 20:46:56,320 1836 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2018-02-22 20:46:56,336 1836 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2018-02-22 20:46:56,336 1836 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2018-02-22 20:46:56,398 1836 [DEBUG] - The source 'http://*****.*****.org/chocopacks/*****' evaluated to a 'normal' source type
2018-02-22 20:46:56,398 1836 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2018-02-22 20:46:56,414 1836 [DEBUG] - Configuration: CommandName='source'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='http://*****.*****.org/chocopacks/*****'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='add'|AllVersions='False'|
SkipPackageInstallProvider='False'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.8.0'|
Information.ChocolateyProductVersion='0.10.8'|
Information.FullName='choco, Version=0.10.8.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='VAGRANT-2012R2'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|

this is the logs from the puppet run:
ssok1
@ssok1
manually installing the package works
i'm not sure how to share the logs here seems like theres a no attachments
Rob Reynolds
@ferventcoder
@ssok1 full output of the logs in a gist - it seems you are missing the entire log output
ssok1
@ssok1
@ferventcoder i have the full logs here: https://gist.github.com/ssok1/6e2376b51066c4de760e5aba2da34a61
Rob Reynolds
@ferventcoder
Nothing looks crazy there, but there are quite a few commands in there that are run
If you could get it down to just the one with an issue and one that works
That would be most helpful
Gerold Katzinger
@kkzinger
@ferventcoder I already use internal mirror, but we have some hosts with configured proxy server. choco mirror is available directly but due to the unresolved ticket https://tickets.puppetlabs.com/browse/MODULES-4418 proxy bypass on the internal chocolatey source has to be configured by hand.
@gep13 The problem indeed was only the local proxy setting. tested it on a few new machines without problems.
Gary Ewan Park
@gep13
:+1:
Rob Reynolds
@ferventcoder
@gep13++
Rich Siegel
@rismoney
would be cool , if choco pin was featured flaggable, in envs that do not use it. Systems w/ 50 packages, each make 2+ calls = 100+ choco pin list/choco pin remove calls.
Rob Reynolds
@ferventcoder
@rismoney sounds good. Please add the feature request - thanks!
Rob Reynolds
@ferventcoder
spychodelics
@spychodelics
is anyone attending the Puppetize Event in Amsterdam?
Rob Reynolds
@ferventcoder
Lots of folks in SFO attending
Not sure about Amsterdam
Rich Siegel
@rismoney
can sensitive variables be used in install_options currently?
Glenn Sarti
@glennsarti
Hrmmm...They can be used and unwrapped. The bigger question is, will they be redacted in the logs
Off the top of my head...probably not
@rismoney Are you talking the Puppet Sensitive Type stuff or the choco.exe parameter --install-arguments-sensitive and --package-parameters-sensitive ?
Rich Siegel
@rismoney
i was talking the puppet sensitive stuff.. i wasn't able to pass these into install_options. when i don't use sensitive, obviously they aren't redacted from logs.
i wasn't even aware of the choco params. thats cool though! the issue i was trying to solve for, was with secrets encrypted in hiera, passed to choco installer, with redaction on puppet side
Rob Reynolds
@ferventcoder
Those arguments for sensitive are only in C4B @rismoney
To ensure those sensitive args stay out of the choco logs as well
But @rismoney you were right to file the Puppet module issue - I think that needs addressed.
Rich Siegel
@rismoney
ah - ok.
happy new year btw :)
Rob Reynolds
@ferventcoder
Because it makes sense for organizational use, that's typically the deciding factor for features
You as well sir!
We were just talking about MODULES-8491 over there.
Ashton Nunes
@aplusnunes

@aplusnunes
hey guys , Im using puppet chocolatey module to install chocolatey on my servers , during the first run I always have an issue and puppet run breaks with an error :
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, validate_re(): input needs to be a String, not a NilClass (file: /etc/puppetlabs/code/environments/<Lifecycle>/modules/chocolatey/manifests/init.pp, line: 79, column: 1) on node <Node Name>

This Corresponds to line 79 in the puppet module
https://github.com/puppetlabs/puppetlabs-chocolatey/blob/3.2.0/manifests/init.pp
validate_re($choco_install_location, '^\w\:',

any thoughts on why this issue occurs ?
this issue is only during the first run

Rob Reynolds
@ferventcoder
@aplusnunes prolly best to ask in #puppet slack or on JIRA where Puppet folks are monitoring
Gary Ewan Park
@gep13
@/all We have been working on some changes to the setup of Chocolatey on GitHub. You can find more information about this in my blog post here: https://www.gep13.co.uk/blog/new-chocolatey-github-organisations Please reach out if you have any questions/concerns.
Rob Reynolds
@ferventcoder

@/all Howdy Chocolatey community folks - this is a heads up, our new website has shipped. Some links have moved around a tiny bit, so read the post to know where things are now! https://chocolatey.org/blog/chocolatey-website-redesign

Super pumped with the organization tab on the packages page. Build your config mgmt script - https://twitter.com/ferventcoder/status/1175536558742626305?s=20

Rob Reynolds
@ferventcoder

@/all We deployed out some changes to help stabilize the site at 12:15 UTC (6:15 AM UTC), but unintentionally we caused all dependencies to stop working. So if you use the community repository (https://chocolatey.org/api/v2), you will have seen some "Unable to resolve dependency" errors (https://github.com/chocolatey/chocolatey.org/issues/765). We've backed out the affected code, redeployed, and verified it's working again.

Our plan is to reintroduce the use index changes to the community production site once we ensure that the skip token is working correctly. Please continue to monitor https://status.chocolatey.org as we continue to provide updates.

Rob Reynolds
@ferventcoder

Howdy folks! If you are looking to change things up in the new year and double down on Windows automation, I have a friend looking for a couple of senior engineers for his team. Among other things, this role would be for managing Puppet infrastructure and assisting users with using Puppet and Chocolatey. Windows experience is a huge plus. This is based in Bentonville, AR. Unfortunately, no remote due to the user centric nature of the work.

I can put you in touch with my friend if you want to discuss it more with him. Here is the posting: https://careers.walmart.com/us/jobs/WD74294-senior-systems-engineer-tech-2

Rob Reynolds
@ferventcoder
@/all PSA: Last night around 23:10 UTC we deployed a change that caused asking for packages by version to stop working for the #Chocolatey community repository. After reports from users, that was fixed by 13:54 UTC. Apologies we didn't see the issue sooner.
Gary Ewan Park
@gep13
@/all we have just published a blog post with some information regarding the intermittent issues with the website at the end of December last year. You can find it here: https://chocolatey.org/blog/chocolatey-community-repository-issues-December-2019 Please let us know if you have any questions.
Rob Reynolds
@ferventcoder
@/all If you are interested, we'll be showing off a demo of Chocolatey Central Management Deployments in about 10 minutes at https://twitch.tv/gep13 (announcement at https://chocolatey.org/blog/announcing-deployments)
Rob Reynolds
@ferventcoder
For those that couldn't make it for the Chocolatey Central Management Deployments Demo, the recording up at https://www.twitch.tv/videos/631756984