class nodo::appliance inherits nodo::physical {
class { 'sysctl::appliance': }
- # fstab
class { 'fstab':
type => 'appliance',
}
- # crypttab
class { 'crypttab':
type => 'appliance',
}
class nodo::dns inherits nodo::vserver {
- # Class for dns nodes
include bind
}
class nodo::kvm inherits nodo::host {
- # fstab
class { 'fstab':
type => 'kvm',
}
- # crypttab
class { 'crypttab':
type => 'kvm',
}
},
}
- # hibernation
+ # Hibernation
file { "/etc/initramfs-tools/conf.d/resume":
owner => "root",
group => "root",
},
}
- # upgrade from lenny
+ # Useful when upgrading from lenny
if $lsbdistcodename != 'lenny' {
file { "/etc/modprobe.d/madwifi":
ensure => absent,
class nodo::removable inherits nodo::desktop {
- # fstab
File["/etc/fstab"] {
source => "puppet:///modules/nodo/etc/fstab/removable",
}
- # crypttab
File["/etc/crypttab"] {
source => "puppet:///modules/nodo/etc/crypttab/removable",
}
class nodo::server inherits nodo::physical {
- # fstab
class { 'fstab':
type => 'server',
}
- # crypttab
class { 'crypttab':
type => 'server',
}
class nodo::storage inherits nodo::vserver {
- # Class for backup nodes
include utils::storage
}
class nodo::web inherits nodo::vserver {
- # Class for web nodes
+ # Classes for web nodes
include websites
include database
include users::virtual