dpeters / puppet-opsview

Puppet types/providers to support Opsview resources
12 stars 10 forks source link

Fix array sorting issues #8

Closed dpeters closed 10 years ago

dpeters commented 11 years ago

Currently, if array properties in a resource declaration don't match the sort order that Opsview sends (alpha), then puppet will recognize the difference and update the property every its run.

antaflos commented 11 years ago

What would have to be done to fix this issue?

dpeters commented 11 years ago

It's been quite a while since I've looked into this, but I recall that I was going to try one of 1) sorting the data that's fetched from opsview, 2) sorting the data that's read from the manifests, or 3) do both.

I don't currently manage any opsview systems, and I haven't had much spare time to spend on this, so things like this have been pretty neglected.

antaflos commented 11 years ago

Thanks for the reply! We are still managing Opsview installations and have created an almost usable module around the types provided here, but it is still not quite finished. But we are getting better at Ruby, so maybe we can eventually even do something about the sorting issue. Thanks for the hint, and thanks again for your work on this!