basho/riak-chef-cookbook — pull request #132 by hectcastro (2014-05-19 15:32:21+00:00)
Title: Ensure SNMP directory is created when custom data_dir is provided

The SNMP data directory for Riak gets created by the Riak Enterprise package. When the default data directory for Riak is overwritten via a Chef attribute, this cookbook did not ensure that the SNMP data directory got created.

This pull request ensures that the SNMP data directory gets created within whatever path is specified by `node['riak']['data_dir']`.

---

**Tests**:

- [ ] Ensure Riak tests pass
- [ ] Ensure Riak Enterprise tests pass