71ceba4ac5
When starting with cdist, the documentation and examples can be overwheliming. Further more, sometimes one would only want to do a simple test to see if the basics are working. One such example currently is to create a simple remote file. While this is a nice and simple example, an even simpler example would be to just see if we can 'ping' the host. Other configuration management tools also seem to have this as a basic starting command. This thus allows to do: echo __ping | cdist config --initial-manifest - <host> as the most basic, most simple command to 'test' things with, without having lingering files to boot. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
12 lines
151 B
Bash
12 lines
151 B
Bash
#!/bin/sh -e
|
|
#
|
|
# Copyright (C) 2018 Olliver Schinagl <oliver@schinagl.nl>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0+
|
|
#
|
|
|
|
set -eu
|
|
|
|
echo "echo 'pong'"
|
|
|
|
exit 0
|