I've spent a bit of effort creating a mosquitto cookbook; so it's easy to get up and running.
I've previously covered how you setup owntracks, but that relied on someone else spinning up a server for you.
The simplest possible deployment:
Don't forget to start the service
There's plenty more you can configure. If you wanted to try it out on different platforms (Raspberry Pi, Mac, etc), please do - all pull requests welcome!
I've previously covered how you setup owntracks, but that relied on someone else spinning up a server for you.
The simplest possible deployment:
{
"run_list": ["recipe[mosquitto]", "recipe[mine]"],
"mosquitto": {
"listeners": [
{"port": 1883, "addr": "127.0.0.1"}
]
}
}
Don't forget to start the service
service 'mosquitto' do
action :start
end
There's plenty more you can configure. If you wanted to try it out on different platforms (Raspberry Pi, Mac, etc), please do - all pull requests welcome!
No comments:
Post a Comment