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

1.6.1 removes ListenAddress entries from sshd config #76

Closed
onlyhavecans opened this issue Jan 26, 2016 · 1 comment
Closed

1.6.1 removes ListenAddress entries from sshd config #76

onlyhavecans opened this issue Jan 26, 2016 · 1 comment

Comments

@onlyhavecans
Copy link

With no changes to my wrapper cookbook, 1.6.1 does not add ListenAddress entries to the sshd_config file. Reverting to 1.5.2 fixes this behavior and adds the desired ListenAddress entries from the attributes set by the wrapping cookbook.

This is set by the following line where listen_ips is an array of strings that represent ips and ip:port node.set['openssh']['server']['listen_address'] = listen_ips

CentOS 5.7
Chef 12.6.0

@onlyhavecans
Copy link
Author

I found the problem was with my run order.
With 2.5.1 i was able to node.set AFTER include_recipe "openssh" was declared
With 2.6.1 release the node.set must be BEFORE the include_recipe

this isn't a major bug so I am closing this ticket

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

No branches or pull requests

1 participant