aboutsummaryrefslogtreecommitdiff
path: root/puppet/manifests/classes/websites.pp
blob: 35f27c6a4f44b7ba796b6d16902aaf263fc64d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
class websites::admin inherits websites::hosting::admin {
  # An administrative Trac instance
  #apache::site { "admin":
  #  docroot        => "${apache::sites_folder}/admin/trac/htdocs",
  #  use            => [ "Trac admin" ],
  #  redirect_match => "trac",
  #  mpm            => false,
  #  tag            => 'all',
  #}

  apache::site { "munin":
    docroot        => '/var/www/munin',
    owner          => "munin",
    group          => "munin",
    mpm            => false,
    tag            => 'all',
  }

  apache::site { "nagios":
    source         => true,
    docroot        => '/usr/share/nagios3/htdocs',
    mpm            => false,
    tag            => 'all',
  }
}

class websites inherits websites::hosting {
  # Website definitions: always use tagged resources

  #apache::site { "site":
  #  source         => true,
  #  ticket         => '001',
  #  docroot        => '/var/www/site',
  #  tag            => 'all',
  #}

  #database::instance { "site":
  #  password => 'xxx',
  #  tag      => 'all',
  #}  

}