File: puppet.sh

package info (click to toggle)
octocatalog-diff 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 1,356 kB
  • sloc: ruby: 6,097; sh: 16; makefile: 13
file content (12 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

# Script to run Puppet. The default implementation here is simply to pass
# through the command line arguments (which are likely to be numerous when
# compiling a catalog).

if [ -z "$OCD_PUPPET_BINARY" ]; then
  echo "Error: PUPPET_BINARY must be set"
  exit 255
fi

"$OCD_PUPPET_BINARY" "$@"