To node or not to node in site.pp

33 views
Skip to first unread message

Thomas Müller

unread,
Apr 27, 2018, 2:54:12 AM4/27/18
to Puppet Users
Hi

I can have the following manifests/site.pp in the environment:

include ::role_loader



or

node
default {
  include
::role_loader
}


They both produce the same catalog - there is just a Node['default'] resource added with the latter form.

Are there any hidden benefits/drawbacks specifying a default node or not when i just have a default node and only include one class?

- Thomas


Reply all
Reply to author
Forward
0 new messages