arnisoph / saltstack-network-formula

Salt Stack Formula to set up and configure a host's network configuration
Other
13 stars 13 forks source link

Remove root group reference #5

Closed alanpearce closed 10 years ago

alanpearce commented 10 years ago

It causes errors where there is no root group (such as FreeBSD, where group 0 is wheel).

arnisoph commented 10 years ago

Do you mean that FreeBSD has no groups? I've updated network.resolver so you can change the file attributes. Is that sufficient in your case?

alanpearce commented 10 years ago

No, that's not what I meant. The gid 0 maps to wheel instead of root.

The motivation behind my change was that the group attribute doesn't matter with the mode being 644. However, I can configure the group for FreeBSD with the changes you've made.

arnisoph commented 10 years ago

Great!