Skip to content

Instantly share code, notes, and snippets.

@mbornoz
Created February 15, 2013 07:03
Show Gist options
  • Save mbornoz/4958920 to your computer and use it in GitHub Desktop.
Save mbornoz/4958920 to your computer and use it in GitHub Desktop.
class srv-epflldap {
### Global attributes ##########################
### LVM partitions #############################
class {'generic-tmpl::os::lvm':
volume_group => 'vg0',
physical_volumes => ['/dev/vda2'],
logical_volumes => {
'opt' => {'size' => '20G'},
'tmp' => {'size' => '1G' },
'usr' => {'size' => '3G' },
'var' => {'size' => '15G'},
'home' => {'size' => '5G' },
'mnt' => {'size' => '1G' },
'backup' => {
'size' => '5G',
'mountpath' => '/var/backups'
}
}
}
### OS #########################################
include os-kis-managed
### MW #########################################
include generic-tmpl::mw::rsyncd
### APP (generic) ##############################
class {'app-cognac-ldap': ldaptree => 'epfl'}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment