spelling
This commit is contained in:
@@ -17,7 +17,7 @@ This module is also designed to work with External Node Classifiers (ENC), for i
|
|||||||
## Features
|
## Features
|
||||||
|
|
||||||
* install repo rpm (this will create the repo definitions)
|
* install repo rpm (this will create the repo definitions)
|
||||||
* install packages depending on whether the host fqdn equals either Puppet master, Puppet db or none (agent).
|
* install packages depending on whether the host fqdn equals either master fqdn, db fqdn or none (agent).
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
class puppet_cd::server::service (
|
class puppet_cd::server::service (
|
||||||
|
|
||||||
) inherits puppet_cd::params {
|
) inherits puppet_cd::params {
|
||||||
|
|
||||||
if $fqdn == $pt_pm_fqdn {
|
if $fqdn == $pt_pm_fqdn {
|
||||||
|
# manager requirement
|
||||||
|
|
||||||
require puppet_cd::firewall::iptables
|
require puppet_cd::firewall::iptables
|
||||||
require puppet_cd::main::files
|
require puppet_cd::main::files
|
||||||
@@ -15,10 +15,10 @@ class puppet_cd::server::service (
|
|||||||
# manage puppet server service
|
# manage puppet server service
|
||||||
|
|
||||||
service { $pt_service:
|
service { $pt_service:
|
||||||
ensure => running,
|
ensure => running,
|
||||||
hasstatus => true,
|
hasstatus => true,
|
||||||
hasrestart => true,
|
hasrestart => true,
|
||||||
enable => true,
|
enable => true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user