Hi
So greenfield install. I'm a newbie.
I have setup the latest puppet open source, using r10k + git. I have started with the control-repo.
I have my 'alex' branch/environment.
I can see there is a directory
site/profile/manifests
I presume I can put my "code" here for example
cat site/profile/manifests/mypuppet.pp
class profile::mypuppet {
include ::puppet_agent;
}
What I would like todo is set the default environment in puppet.conf via this model
Or even go further and install a complete puppet.conf.
How do I assign the profile::mypuppet to all notes in this environment
Would/could I add it to hieradata/common.yaml with something like
class:
-profile::mypuppet
Although I also realize or at least plan to use roles. idea being a node gets a roles which is made up of all the relevant profiles.
Alex