Hi

I have a new install.

I want to use the node <- role <<- profiles  setup.

I want to define a profile for sshd for my environment.

So I want to use a sshd module (I will check the forge) and have some 
things preset.
1) I would like to turn off password acces for root account
2) turn off x11 
3) turn on forwarding
4) also for root I would like to install a public for my master root


so I have my environment location

/etc/puppetlabs/code/environments/production


i have (from the control repo)
site/profile/manifests
and
site/role/manifests

do I create 
site/profile/manifests/mysshd.pp

class profile::mysshd {

        package { 'sshd' :
                ensure => 'present',
        }
        ### options set ???

}

and then potentially a role in 

site/role/manifests/mysshrole.pp
class role::mysshrole {
 include profile::mysshd
}

and then I go to 

manifests/site.pp

add in my node definition

node {
 include role:mysshd
}


Does that look about right ??



-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ee57ec15-1a22-4852-87f4-b2864d0c6575%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to