aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet/site/nextcloud.h1.int.pdp7.net.pp
blob: 2a424dc96d83c5182ff40ed8c1f0a42d9f06591e (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
node 'nextcloud.h1.int.pdp7.net' {
  class {'nextcloud':
    database_name => 'nextcloud',
    database_user => 'nextcloud',
    database_host => 'pg.h1.int.pdp7.net',
  }

  file {'/var/lib/nextcloud/apps':
    ensure => 'link',
    target => '/nextcloud/apps/',
  }

  file {'/var/lib/nextcloud/data':
    ensure => 'link',
    target => '/nextcloud/data/',
  }

  file {'/etc/nextcloud/config.php':
    ensure => 'link',
    target => '/nextcloud/config.php',
  }

  file {'/etc/php.d/memory.ini':
    content => @(EOT)
    memory_limit = 256M
    | EOT
    ,
  }
}