Added epel to puppetmaster bootstrap script
This commit is contained in:
parent
db102093d0
commit
50bc96ceea
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue