DRY update_attribs to use generic approach
Merge pull request #42 from cloudedge/pull-req-master-97d4b4b3e4a1c06236531463f23538e8d5e0a367

https://github.com/crowbar/barclamp-ntp/pull/42

Merged by devtool for cloudsleuth