Or you could use a parametrized class to make things shorter and easier
to understand:

class common ( $selinux_mode = 'enforcing' ) {
  class { selinux: mode => $selinux_mode }
}

node server1 {
  include common
}

node server2 {
  class { common: selinux_mode => 'permissive' }
}

-- 
Gabriel Filion

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to