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
On Jan 6, 6:23 am, Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
wrote:
I realise I've b0rked the syntax. I meant this:
class common {
class { selinux: mode = enforcing }
...
...
}
node server1 {
include common
}
node server2 {
include common
class { selinux:
- jcbollinger john.bollin...@stjude.org wrote:
On Jan 6, 6:23 am, Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
wrote:
I realise I've b0rked the syntax. I meant this:
class common {
class { selinux: mode = enforcing }
...
...
}
node server1 {
include