Bug in tutorials for Windows


#1

Hi all:

Been getting my Chef learning on, and ran across a bug in the tutorials for
Windows:

On this page:
https://learn.chef.io/install-and-manage-your-own-chef-server/linux/get-set-up/

When click on “Checklist for Windows Server nodes”

The instructions are missing a single quote:

winrm set winrm/config/winrs @{MaxMemoryPerShellMB=“300”}

should be:

winrm set winrm/config/winrs ‘@{MaxMemoryPerShellMB=“300”}’

winrm set winrm/config @{MaxTimeoutms=“1800000”}

should be:

winrm set winrm/config ‘@{MaxTimeoutms=“1800000”}’

winrm set winrm/config/service @{AllowUnencrypted=“true”}

should be:

winrm set winrm/config/service ‘@{AllowUnencrypted=“true”}’

winrm set winrm/config/service/auth @{Basic=“true”}

should be:

winrm set winrm/config/service/auth ‘@{Basic=“true”}’

If there is another way I should report this, please let me know.

Thanks,
Don/sntxrr


#2

Thanks for reporting. I’ve copied this to the learnchef team’s internal chat. Will get back to you on the best way to report bugs.

Thanks again, good luck learning Chef!


Daniel DeLeo

On Friday, August 14, 2015 at 8:50 AM, Syntax Error wrote:

Hi all:

Been getting my Chef learning on, and ran across a bug in the tutorials for Windows:

On this page: https://learn.chef.io/install-and-manage-your-own-chef-server/linux/get-set-up/
When click on “Checklist for Windows Server nodes”

The instructions are missing a single quote:

winrm set winrm/config/winrs @{MaxMemoryPerShellMB=“300”}

should be:

winrm set winrm/config/winrs ‘@{MaxMemoryPerShellMB=“300”}’

winrm set winrm/config @{MaxTimeoutms=“1800000”}

should be:

winrm set winrm/config ‘@{MaxTimeoutms=“1800000”}’

winrm set winrm/config/service @{AllowUnencrypted=“true”}

should be:

winrm set winrm/config/service ‘@{AllowUnencrypted=“true”}’

winrm set winrm/config/service/auth @{Basic=“true”}

should be:

winrm set winrm/config/service/auth ‘@{Basic=“true”}’

If there is another way I should report this, please let me know.

Thanks,
Don/sntxrr


#3

Noticed one other one in the same place

“sc config winrm start= auto”

Works better if you do “sc.exe config winrm start= auto” due to the fact
that sc is an alias for Set-Content

Thanks,
Don/sntxrr

On Fri, Aug 14, 2015 at 9:16 AM, Daniel DeLeo dan@kallistec.com wrote:

Thanks for reporting. I’ve copied this to the learnchef team’s internal
chat. Will get back to you on the best way to report bugs.

Thanks again, good luck learning Chef!


Daniel DeLeo

On Friday, August 14, 2015 at 8:50 AM, Syntax Error wrote:

Hi all:

Been getting my Chef learning on, and ran across a bug in the tutorials
for Windows:

On this page:
https://learn.chef.io/install-and-manage-your-own-chef-server/linux/get-set-up/
When click on “Checklist for Windows Server nodes”

The instructions are missing a single quote:

winrm set winrm/config/winrs @{MaxMemoryPerShellMB=“300”}

should be:

winrm set winrm/config/winrs ‘@{MaxMemoryPerShellMB=“300”}’

winrm set winrm/config @{MaxTimeoutms=“1800000”}

should be:

winrm set winrm/config ‘@{MaxTimeoutms=“1800000”}’

winrm set winrm/config/service @{AllowUnencrypted=“true”}

should be:

winrm set winrm/config/service ‘@{AllowUnencrypted=“true”}’

winrm set winrm/config/service/auth @{Basic=“true”}

should be:

winrm set winrm/config/service/auth ‘@{Basic=“true”}’

If there is another way I should report this, please let me know.

Thanks,
Don/sntxrr


#4

I’m told this is a difference between cmd.exe and powershell, but we’ll see what we can do.


Daniel DeLeo

On Friday, August 14, 2015 at 9:31 AM, Syntax Error wrote:

Noticed one other one in the same place

“sc config winrm start= auto”

Works better if you do “sc.exe config winrm start= auto” due to the fact that sc is an alias for Set-Content

Thanks,
Don/sntxrr

On Fri, Aug 14, 2015 at 9:16 AM, Daniel DeLeo <dan@kallistec.com (mailto:dan@kallistec.com)> wrote:

Thanks for reporting. I’ve copied this to the learnchef team’s internal chat. Will get back to you on the best way to report bugs.

Thanks again, good luck learning Chef!


Daniel DeLeo

On Friday, August 14, 2015 at 8:50 AM, Syntax Error wrote:

Hi all:

Been getting my Chef learning on, and ran across a bug in the tutorials for Windows:

On this page: https://learn.chef.io/install-and-manage-your-own-chef-server/linux/get-set-up/
When click on “Checklist for Windows Server nodes”

The instructions are missing a single quote:

winrm set winrm/config/winrs @{MaxMemoryPerShellMB=“300”}

should be:

winrm set winrm/config/winrs ‘@{MaxMemoryPerShellMB=“300”}’

winrm set winrm/config @{MaxTimeoutms=“1800000”}

should be:

winrm set winrm/config ‘@{MaxTimeoutms=“1800000”}’

winrm set winrm/config/service @{AllowUnencrypted=“true”}

should be:

winrm set winrm/config/service ‘@{AllowUnencrypted=“true”}’

winrm set winrm/config/service/auth @{Basic=“true”}

should be:

winrm set winrm/config/service/auth ‘@{Basic=“true”}’

If there is another way I should report this, please let me know.

Thanks,
Don/sntxrr