Uncategorized

Use Multiple GitHub Accounts on Windows CLI

Git credential management has always just worked for me on Windows which has been nice.  The community initially had wincred or git-credential-winstore for managing Git credentials on Windows but this was replaced with the Git Credential Manager for Windows in 2015.  The latter is an official Microsoft project.  Both use(d) the Windows Credential Manager for …

Use Multiple GitHub Accounts on Windows CLI Read More »

PowerShell 6.1 Cookbook Error: reboot[powershell] resource not found

We updated some of the cookbooks on our Chef server recently which included the PowerShell cookbook version 6.1.  The main new feature of version 6.1 is to install PowerShell 5.1 instead of PowerShell 5.0.  After updating the cookbooks, we started receiving the following error in our chef-client run:        [2017-07-31T05:23:42-07:00] FATAL: Chef::Exceptions::ResourceNotFound: resource windows_package[Windows Managemen …

PowerShell 6.1 Cookbook Error: reboot[powershell] resource not found Read More »

2008R2 ERROR: Role or Feature Install failed with error code 0x80070643

We recently found the following error when attempting to apply a new custom web server Chef cookbook that was meant to standardize the Windows Server features/roles across an existing set of servers.  Installation of [Web Server (IIS)] Tracing failed. Attempt to install Tracing failed with error code 0x80070643.  Fatal error during installation There were actually …

2008R2 ERROR: Role or Feature Install failed with error code 0x80070643 Read More »

Chef/PowerShell Quick Tip: use the right Slash

Wanted to share a quick tip with you today regarding using PowerShell from within Chef.  More specifically, using the dsc_resource to run PowerShell script.  I routinely use this resource to run PowerShell on Windows nodes through Chef.  In this case, the test script always returned false.  The test was a simple test-path call against a …

Chef/PowerShell Quick Tip: use the right Slash Read More »

Chef-Client Error: Can’t Modify Frozen string

We found a new error yesterday when we tried to run a cookbook on a new node via Chef Server.  Recipe: chef-client::task * chef_client_scheduled_task[Chef Client] action add[2017-07-17T09:01:09-05:00] INFO: Processing chef_client_scheduled_task[Chef Client] action add (chef-client::task line 21) ================================================================================ Error executing action `add` on resource ‘chef_client_scheduled_task[Chef Client]’ ================================================================================ RuntimeError ———— can’t modify frozen String Cookbook Trace: ————— …

Chef-Client Error: Can’t Modify Frozen string Read More »

Visual Studio Quick Tip: Source Control Selection – Git

If your migrating from TFS to git, don’t forget to change your source control plugin in Visual Studio.  Unfortunately, this isn’t automatic and Visual Studio still tries to use TFS even after you have initialized the folder as a git repo. You can update your plugin by searching for “source control” in the Quick Launch …

Visual Studio Quick Tip: Source Control Selection – Git Read More »