updating site.pp for development
This commit is contained in:
parent
3020c6328c
commit
f7de55ce98
@ -24,6 +24,12 @@ File { backup => false }
|
|||||||
# Puppet Enterprise console and External Node Classifiers (ENC's).
|
# Puppet Enterprise console and External Node Classifiers (ENC's).
|
||||||
#
|
#
|
||||||
# For more on node definitions, see: https://puppet.com/docs/puppet/latest/lang_node_definitions.html
|
# For more on node definitions, see: https://puppet.com/docs/puppet/latest/lang_node_definitions.html
|
||||||
|
|
||||||
|
if $trusted['extensions']['pp_application'] == 'puppet/master' {
|
||||||
|
|
||||||
|
include role::puppetserver
|
||||||
|
}
|
||||||
|
|
||||||
node 'puppet' {
|
node 'puppet' {
|
||||||
|
|
||||||
include role::puppetserver
|
include role::puppetserver
|
||||||
@ -35,11 +41,6 @@ node default {
|
|||||||
if $trusted['extensions']['pp_role'] {
|
if $trusted['extensions']['pp_role'] {
|
||||||
include "role::${trusted['extensions']['pp_role']}"
|
include "role::${trusted['extensions']['pp_role']}"
|
||||||
|
|
||||||
# if $facts[osfamily] == 'windows' {
|
|
||||||
# include role::custom_windows
|
|
||||||
# Package { provider => chocolatey, }
|
|
||||||
# }
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
include role::node
|
include role::node
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user