Skip to main content
summaryrefslogtreecommitdiffstats
blob: d0e04d524905c9f29d4ce47b47b95ef280d19ca1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$content ="#!/bin/bash

echo content-type: application/json
echo

echo '['
find /home/tools -name service.json | xargs cat
echo ']'
"

file { "/usr/lib/cgi-bin/services":
  content => "$content",
  mode => 755,
}

Back to the top