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

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9e4434ee-471f-4065-a1d1-435275632dfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to