salt.modules.pushbullet module

Module for sending messages to Pushbullet (https://www.pushbullet.com)

2015.8.0 新版功能.

Requires an api_key in /etc/salt/minion:

For example:

pushbullet:
  device: "Chrome"
  title: "Example push message"
  body: "Message body."
salt.modules.pushbullet.push_note(device=None, title=None, body=None)

Pushing a text note.

参数:
  • device -- Pushbullet target device
  • title -- Note title
  • body -- Note body
返回:

Boolean if message was sent successfully.

CLI Example: