flexera-public / server-templates

Server Templates, and RightScripts(Bash, Powershell)
http://www.flexera.com
Apache License 2.0
0 stars 2 forks source link

Unexpected behavior on Chef Server ST with `CHEF_SERVER_ADDONS` input #38

Closed bryankaraffa closed 7 years ago

bryankaraffa commented 7 years ago

With rev14 of the published Chef ServerTemplate we are having some odd issues

CHEF_SERVER_ADDONS

Expectation is that we can install just the manage addon, without reporting, if desired. While we weren't able to test this with 0 addons enabled because of the CM bug discovered, same expectation would be that this would go operational with 0 addons installed after it has gone operational.

Original ZD Ticket: #125047

stefhen commented 7 years ago

This was fixed / removed in https://github.com/rs-services/server-templates/pull/57

Passing an empty array as mentioned will cause the launch to hang. Also you have to provide a hash to the chef recipe if you want to pin a specific version of an addon, which is needed with older Chef releases or the launch will hang. Passing a real hash object isn't really doable, and none of our customers currently use these addons by default. I've just removed this input, and if someone wants to use an addon after installing they can just do chef-server-ctl install <addon>.