salt.returners.sms_return

Return data by SMS.

New in version 2015.5.0.

maintainer

Damian Myerscough

maturity

new

depends

twilio

platform

all

To enable this returner the minion will need the python twilio library installed and the following values configured in the minion or master config:

twilio.sid: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
twilio.token: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
twilio.to: '+1415XXXXXXX'
twilio.from: '+1650XXXXXXX'

To use the sms returner, append '--return sms' to the salt command.

salt '*' test.ping --return sms
salt.returners.sms_return.returner(ret)

Return a response in an SMS message