Added epel to puppetmaster bootstrap script

This commit is contained in:
Ossi Salmi 2012-04-20 13:41:28 +03:00
parent db102093d0
commit 50bc96ceea

View file

@ -51,12 +51,18 @@ node "${FQDN}" {
EOF
if [ "${SERVER}" = "apache" -a -f /etc/redhat-release ]; then
if [ -f /etc/redhat-release ]; then
cat >> /etc/puppet/manifests/node/${FQDN}.pp << EOF
include yum::repo::epel
EOF
if [ "${SERVER}" = "apache" ]; then
cat >> /etc/puppet/manifests/node/${FQDN}.pp << EOF
include user::system
realize(User["httpsd"], Group["httpsd"])
EOF
fi
fi
cat >> /etc/puppet/manifests/node/${FQDN}.pp << EOF