add installation section
This commit is contained in:
@@ -5,8 +5,22 @@
|
||||
###############################################################################
|
||||
class puppet_cd::main::install (
|
||||
|
||||
) inherits puppet_cd::params {
|
||||
|
||||
) inherits puppet_cd::params {
|
||||
require puppet_cd::main::yumrepo
|
||||
|
||||
package { $pt_agent_pkg:
|
||||
ensure => $pt_pkg_ensure,
|
||||
}
|
||||
|
||||
if $fqdn == $pt_pm_fqdn {
|
||||
package { $pt_server_pkg:
|
||||
ensure => $pt_pkg_ensure,
|
||||
}
|
||||
}
|
||||
|
||||
if $fqdn == $pt_db_fqdn {
|
||||
package { $pt_db_pkg:
|
||||
ensure => $pt_pkg_ensure,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user