ping

pdk
tasks
Task to elicit a 'pong' from target systems

Gabe Schuyler

gabe

2,978 downloads

2,978 latest version

4.9 quality score

Version information

  • 1.0.0 (latest)
released Dec 10th 2018
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 7.0.0
  • Linux, Windows
Tasks:
  • ping

Start using this module

Documentation

gabe/ping — version 1.0.0 Dec 10th 2018

Ping

This mind-bogglingly simple task simply replies to any invocation with a pong and an exit code of zero. The intention is to replace what you might have been using an mco ping for. Specifically, it's useful for validating that your transport and credentials (or RBAC) are valid, not just that the host is up or that its Puppet agent is checking in.

The output from Linux and Windows should be simply:

  {
    "reply": "pong"
  }