```ruby
require 'spec_helper'

```

Add test to ensure private IP is set in my.cnf
user
```ruby
require 'spec_helper'

# Make sure mysql is listening on the private ip

privateIp = `ipadm show-addr -o addrobj,addr | grep net1 |awk '{print $2}' | cut -d/ -f1`

 describe file('/opt/local/etc/my.cnf') do
   it { should be_file }
   it { should contain "bind-address = " + privateIp }
end

```
assistant