{"action":"opened","issue":{"url":"https://api.github.com/repos/atomic-penguin/cookbook-nfs/issues/46","labels_url":"https://api.github.com/repos/atomic-penguin/cookbook-nfs/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/atomic-penguin/cookbook-nfs/issues/46/comments","events_url":"https://api.github.com/repos/atomic-penguin/cookbook-nfs/issues/46/events","html_url":"https://github.com/atomic-penguin/cookbook-nfs/issues/46","id":57207179,"number":46,"title":"nfs_export LWRP appends multiple anonids","user":{"login":"lmickh","id":3875710,"avatar_url":"https://avatars.githubusercontent.com/u/3875710?v=3","gravatar_id":"","url":"https://api.github.com/users/lmickh","html_url":"https://github.com/lmickh","followers_url":"https://api.github.com/users/lmickh/followers","following_url":"https://api.github.com/users/lmickh/following{/other_user}","gists_url":"https://api.github.com/users/lmickh/gists{/gist_id}","starred_url":"https://api.github.com/users/lmickh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmickh/subscriptions","organizations_url":"https://api.github.com/users/lmickh/orgs","repos_url":"https://api.github.com/users/lmickh/repos","events_url":"https://api.github.com/users/lmickh/events{/privacy}","received_events_url":"https://api.github.com/users/lmickh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-10T17:29:16Z","updated_at":"2015-02-10T17:29:16Z","closed_at":null,"body":"I have code something like this:\r\n\r\nnfs_export \"share1\" do\r\n  ...\r\n  anonuser \"user1\"\r\n  anongroup \"group1\"\r\nend\r\n\r\nnfs_export \"share2\" do\r\n  ...\r\n  anonuser \"user2\"\r\n  anongroup \"group2\"\r\nend\r\n\r\nnfs_export \"share3\" do\r\n  ...\r\n  anonuser \"user3\"\r\n  anongroup \"group3\"\r\nend\r\n\r\nThe resulting /etc/exports file looks like this:\r\n\r\nshare1 *(rw,sync,root_squash,anonuid=user1,anongid=group1)\r\nshare2 *(rw,sync,root_squash,anonuid=user1,anongid=group1,anonuid=2,anongid=2)\r\nshare3 *(rw,sync,root_squash,anonuid=user1,anongid=group1,anonuid=2,anongid=2,anonuid=3,anongid=3)"}}