Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runlist conflicts with policy_name and policy_group settings in first-boot.json #211

Closed
jkerry opened this issue May 11, 2017 · 1 comment

Comments

@jkerry
Copy link

jkerry commented May 11, 2017

When a runlist isn't specified and policy_name and policy_group settings are added to the custom json attributes like so:

"custom_json_attr": {
            "policy_group": "[parameters('chefPolicyGroup')]",
            "policy_name": "[parameters('chefPolicyName')]"
          }

an empty run list is still added to the first-boot.json file. These settings conflict causing the first converge to fail. The resolution would be to not write a run_list into the first-boot.json file at all if the runlist is not provided.

This, for a linux host, appears to happen here:

runlist = @run_list.empty? ? [] : escape_runlist(@run_list)

@btm
Copy link
Contributor

btm commented May 18, 2017

This should be fixed by #213 in version 1210.12.109.1004 of the extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants