X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=29416e82290a039908af27b36d5ac19487b844bb;hb=e8ce3758531d3d751c8d5fe1923535052cd98f90;hp=a65e7a9f4c80735ac5510afb04fdcfb84954a147;hpb=462ca2355945370f3e22643237d02dfca89b1570;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index a65e7a9f4..29416e822 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -1,25 +1,19 @@ # = Class: roles # -# Lookup role and include relevant classes for roles -# -# == Sample Usage: -# -# include roles -# class roles { - if has_role('security_mirror') { - include roles::security_mirror - } + if has_role('security_mirror') { + include roles::security_mirror + } - if has_role('postgres_backup_server') { - include postgres::backup_server - } + if has_role('postgres_backup_server') { + include postgres::backup_server + } - if has_role('postgresql_server') { - include postgres::backup_source - } + if has_role('postgresql_server') { + include postgres::backup_source + } - if $::keyring_debian_org_mirror { - include roles::keyring_debian_org_mirror - } + if $::keyring_debian_org_mirror { + include roles::keyring_debian_org_mirror + } }