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,13 +51,19 @@ node "${FQDN}" {
|
||||||
|
|
||||||
EOF
|
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
|
cat >> /etc/puppet/manifests/node/${FQDN}.pp << EOF
|
||||||
include user::system
|
include user::system
|
||||||
realize(User["httpsd"], Group["httpsd"])
|
realize(User["httpsd"], Group["httpsd"])
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
cat >> /etc/puppet/manifests/node/${FQDN}.pp << EOF
|
cat >> /etc/puppet/manifests/node/${FQDN}.pp << EOF
|
||||||
include puppet::server::${SERVER}
|
include puppet::server::${SERVER}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue