ZCA / zenoss_client-chef-cookbook

Chef Cookbook for configuring a Zenoss Client
Apache License 2.0
0 stars 7 forks source link

When monitoring server is specified there is no pubkey for the recipe. #3

Closed sfiggins closed 11 years ago

sfiggins commented 11 years ago

When you explicitly set node['zenoss']['client']['server'] then pubkey remains "".

Search may not always be the best solution.. as you may have more than one monitoring server (like a server in each data center.)

A simple fix might be to add another attribute node['zenoss']['client']['serverkey'] maybe? and set the pubkey to that if it exists.

dpetzel commented 11 years ago

Merged in your PR for this approach, looks good, thanks!