Displaying 1 result from an estimated 1 matches for "simtestfile".
Did you mean:
bigtestfile
2012 Dec 14
4
New Puppet User: Issues with pre-commit script
...ser validate $tmpfile &>/dev/null
if [ $? -ne 0 ]
then
echo "Puppet syntax error in $file" 1>&2
exit 1
fi
done
--
Here is my nodes.pp file that is being edited:
--
node ''testrhel.gene.com'' { include simtestfile }
--
Now with this node.pp file I am able to update the testrhel server with the
simtestfile just fine and the puppet parser validate command does not
complain if I run it manually:
--
[root@ssfpuppetd01 hooks]# puppet parser validate
/etc/puppet/manifests/nodes.pp
[root@ssfpuppetd01 hooks]#...