I use the role/profile method and add the following to my base profile manifest so that puppet gets managed on all nodes:
class { 'puppet': }
I try to keep my manifests as generic as possible so I put as much as I can in hiera. It would be preferred to be able to read in "puppet::server: true" from my roles/puppetmaster.yaml file rather than having to either leave my base profile manifest out of my puppetmaster role manifest...or come up with an if/else of some sort so that I'm not declaring it twice.
I use the role/profile method and add the following to my base profile manifest so that puppet gets managed on all nodes:
class { 'puppet': }
I try to keep my manifests as generic as possible so I put as much as I can in hiera. It would be preferred to be able to read in "puppet::server: true" from my roles/puppetmaster.yaml file rather than having to either leave my base profile manifest out of my puppetmaster role manifest...or come up with an if/else of some sort so that I'm not declaring it twice.