# Node attributes - setting per a group of servers

**URL:** <https://discourse.chef.io/t/node-attributes-setting-per-a-group-of-servers/20175>\
**Category:** Chef Infra (archive)\
**Created:** [August 9, 2021, 4:55pm UTC](https://discourse.chef.io/t/node-attributes-setting-per-a-group-of-servers/20175 "2021-08-09T16:55:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![afirmin](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@afirmin](https://discourse.chef.io/u/afirmin)\
**Post date:** [August 9, 2021, 4:55pm UTC](https://discourse.chef.io/t/node-attributes-setting-per-a-group-of-servers/20175/1 "2021-08-09T16:55:10Z")

</div>

Say we have 1500 nodes spread across our customers.  
Each customer may have between 1 and 20 nodes.  
I need to define attributes per customer as well as per node and global attributes and this is where I am struggling.  
What is the best approach for this?  
Having a role per customer?  
Creating an organisation per customer?  
I am a little bit stumped by this - hoping someone can help.

Ant.

---

<div class="post-metadata">

**Author:** ![afirmin](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@afirmin](https://discourse.chef.io/u/afirmin)\
**Post date:** [August 9, 2021, 5:37pm UTC](https://discourse.chef.io/t/node-attributes-setting-per-a-group-of-servers/20175/2 "2021-08-09T17:37:07Z")

</div>

Doing a bit more research I am wondering whether a policyfile per customer to hold customer specific attributes is the way to go...

---

<div class="post-metadata">

**Author:** ![craigontour](https://avatars.discourse-cdn.com/v4/letter/c/7ab992/32.png) [@craigontour](https://discourse.chef.io/u/craigontour)\
**Post date:** [August 16, 2021, 10:40am UTC](https://discourse.chef.io/t/node-attributes-setting-per-a-group-of-servers/20175/3 "2021-08-16T10:40:45Z")

</div>

Or - the old-school equivalent of PolicyFile - use Environment files to do the same.
