add class chain
This commit is contained in:
@@ -9,12 +9,4 @@ class puppet_cd::main::files (
|
|||||||
|
|
||||||
require puppet_cd::main::dirs
|
require puppet_cd::main::dirs
|
||||||
|
|
||||||
if $fqdn == $pt_puppetmaster {
|
|
||||||
# server files
|
|
||||||
}
|
|
||||||
|
|
||||||
if $fqdn != $pt_puppetmaster {
|
|
||||||
# client files
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,12 +9,4 @@ class puppet_cd::main::install (
|
|||||||
|
|
||||||
require puppet_cd::main::yumrepo
|
require puppet_cd::main::yumrepo
|
||||||
|
|
||||||
if $fqdn == $pt_puppetmaster {
|
|
||||||
# install server packages
|
|
||||||
}
|
|
||||||
|
|
||||||
if $fqdn != $pt_puppetmaster {
|
|
||||||
# install agent packages
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user