Displaying 2 results from an estimated 2 matches for "testrhel".
Did you mean:
testreg
2012 Dec 20
6
Manage a specific users shadow file entry
Hi Guys,
I am new to puppet and trying to figure out what is the best way to manage
a password for a specific user in the /etc/shadow file. Most of my users
are being authenticated to kerberos but there is a need to set a local
password for this one account. What would be the best method to do this
via puppet? I have built my own rpm''s in the past using the chpasswd
command but
2012 Dec 14
4
New Puppet User: Issues with pre-commit script
...$file > $tmpfile
puppet parser 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/manife...