Changes in / [8721817:af6ade4]
- Location:
- src/puppetcode/environments/gnuboat
- Files:
-
- 5 added
- 1 deleted
- 7 edited
-
hieradata/gnuboat/mapservice_database.yaml (added)
-
hieradata/gnuboat/mapservice_host.yaml (modified) (2 diffs)
-
hieradata/gnuboat/mapservice_host.yaml.orig (modified) (2 diffs)
-
hieradata/gnuboat/mapservice_mapservice.yaml (added)
-
modules/gnuboat_mapservice/files/osm_dockerfile (modified) (1 diff)
-
modules/gnuboat_mapservice/manifests/apache_config.pp (modified) (1 diff)
-
modules/gnuboat_mapservice/manifests/database_install.pp (added)
-
modules/gnuboat_mapservice/manifests/host_install.pp (modified) (1 diff)
-
modules/gnuboat_mapservice/manifests/init.pp (modified) (1 diff)
-
modules/gnuboat_mapservice/manifests/mapservice_install.pp (added)
-
modules/gnuboat_mapservice/manifests/mapservice_webclient_install.pp (deleted)
-
modules/gnuboat_mapservice/manifests/osm_config.pp (added)
-
modules/gnuboat_mapservice/templates/gnuboat_mapservice.yaml.epp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml
r8721817 raf6ade4 2 2 classes: 3 3 - gnuboat_mapservice 4 - apt5 4 - docker 6 5 - docker::compose … … 17 16 #gnuboat_mapservice::apache_vhost_name: gnuboat.example.org 18 17 gnuboat_mapservice::osm_tileserver_enabled: true 19 apt::sources:20 'gnuboat':21 comment: 'GNUBoat repository'22 location: 'http://ftp.engsas.de/unstable/gnuboat/'23 release: 'bullseye'24 repos: 'main'25 key:26 id: 'B5FB30C861780282'27 server: 'pgp.mit.edu'28 include:29 src: true30 deb: true31 18 docker::version: 'latest' 32 19 docker::ensure: 'present' -
src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml.orig
r8721817 raf6ade4 2 2 classes: 3 3 - gnuboat_mapservice 4 - apt5 4 - docker 6 5 - docker::compose … … 16 15 gnuboat_mapservice::apache_replace_default_host: true 17 16 #gnuboat_mapservice::apache_vhost_name: gnuboat.example.org 18 <<<<<<< HEAD19 17 gnuboat_mapservice::osm_tileserver_enabled: true 20 =======21 gnuboat_mapservice::osm_tileserver_enabled: false22 apt::sources:23 'gnuboat':24 comment: 'GNUBoat repository'25 location: 'http://ftp.engsas.de/unstable/gnuboat/'26 release: 'bullseye'27 repos: 'main'28 key:29 id: 'B5FB30C861780282'30 server: 'pgp.mit.edu'31 include:32 src: true33 deb: true34 >>>>>>> master35 18 docker::version: 'latest' 36 19 docker::ensure: 'present' -
src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/osm_dockerfile
r8721817 raf6ade4 1 FROM overv/openstreetmap-tile-server:latest 1 FROM overv/openstreetmap-tile-server 2 -
src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/apache_config.pp
r8721817 raf6ade4 1 1 class gnuboat_mapservice::apache_config inherits gnuboat_mapservice 2 2 { 3 # Configure apache, if wanted 4 if($apache_enabled){ 5 # install and enable mod rewrite 6 apache::mod { 'rewrite': } 7 if empty($apache_vhost_ssl_cert) and empty($apache_vhost_ssl_key) { 8 apache::vhost{$apache_vhost_name: 9 servername => $apache_vhost_servername, 10 port => '80', 11 docroot => '/var/www/gnuboat_mapservice_webclient', 12 proxy_pass => [ 13 { path => '/mapservice', url => 'http://localhost:8080/mapservice' }, 14 { path => '/osm_tiles', url => 'http://localhost:8081/' }, 15 ], 16 rewrites => [ 17 { 18 rewrite_base => '/', 19 rewrite_cond => ['%{THE_REQUEST} !\s/+(mapservice|osm_tiles)/ [NC]'], 20 rewrite_cond => ['%{REQUEST_FILENAME} !-d'], 21 rewrite_cond => ['%{REQUEST_FILENAME} !-f'], 22 rewrite_cond => ['%{THE_REQUEST} !^/resources/(.+)$'], 23 rewrite_rule => ['^(.+)$ index.html?path=$1 [L]'], 24 }, 25 ] 26 suphp_engine => off, 27 } 28 } else { 29 apache::vhost{$apache_vhost_name: 30 servername => $apache_vhost_servername, 31 port => '443', 32 docroot => '/var/www/gnuboat_mapservice_webclient', 33 proxy_pass => [ 34 { path => '/mapservice', url => 'http://localhost:8080/mapservice' }, 35 { path => '/osm_tiles', url => 'http://localhost:8081/' }, 36 ], 37 rewrites => [ 38 { 39 rewrite_base => '/', 40 rewrite_cond => ['%{THE_REQUEST} !\s/+(mapservice|osm_tiles)/ [NC]'], 41 rewrite_cond => ['%{REQUEST_FILENAME} !-d'], 42 rewrite_cond => ['%{REQUEST_FILENAME} !-f'], 43 rewrite_cond => ['%{THE_REQUEST} !^/resources/(.+)$'], 44 rewrite_rule => ['^(.+)$ index.html?path=$1 [L]'], 45 }, 46 ] 47 suphp_engine => off, 48 ssl => true, 49 ssl_cert => $apache_vhost_ssl_cert, 50 ssl_key => $apache_vhost_ssl_key, 51 } 3 # Configure apache, if wanted 4 if($apache_enabled){ 5 if empty($apache_vhost_ssl_cert) and empty($apache_vhost_ssl_key) { 6 apache::vhost{$apache_vhost_name: 7 servername => $apache_vhost_servername, 8 port => '80', 9 docroot => '/var/www', 10 proxy_pass => [ 11 { path => '/', url => 'http://localhost:8080/' }, 12 ], 13 suphp_engine => off, 14 } 15 } else { 16 apache::vhost{$apache_vhost_name: 17 servername => $apache_vhost_servername, 18 port => '443', 19 docroot => '/var/www', 20 proxy_pass => [ 21 { path => '/', url => 'http://localhost:8080/' }, 22 ], 23 suphp_engine => off, 24 ssl => true, 25 ssl_cert => $apache_vhost_ssl_cert, 26 ssl_key => $apache_vhost_ssl_key, 27 } 28 } 29 30 if($apache_replace_default_host){ 31 class {'apache': default_vhost => false, 32 } 33 } 52 34 } 53 54 if($apache_replace_default_host){55 class {'apache': default_vhost => false,56 }57 }58 }59 35 } -
src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/host_install.pp
r8721817 raf6ade4 1 1 class gnuboat_mapservice::host_install ( 2 String $database_host = "gnuboat_mapservice_database",3 String $broker_host = "gnuboat_mapservice_rabbitmq",4 String $celery_cache_host = "gnuboat_mapservice_cache",5 Integer $mapservice_workers = 2,2 String $database_host = "gnuboat_mapservice_database", 3 String $broker_host = "gnuboat_mapservice_rabbitmq", 4 String $celery_cache_host = "gnuboat_mapservice_cache", 5 Integer $mapservice_workers = 2, 6 6 ) inherits gnuboat_mapservice 7 7 { 8 file { extlib::dir_split($mapservice_tile_cache_dir): 9 ensure => 'directory', 10 mode => '0750', 11 } 12 13 unless File['/var/lib/gnuboat'] { 14 file { '/var/lib/gnuboat': 15 ensure => 'directory', 16 } 17 } 18 file { '/var/lib/gnuboat/mapservice': 19 ensure => 'directory', 20 } 21 file { '/var/lib/gnuboat/mapservice/rabbitmq': 22 ensure => 'directory', 23 } 24 25 file { '/var/lib/gnuboat/mapservice/docker_database': 26 ensure => 'directory', 27 } 28 29 file { '/var/lib/gnuboat/mapservice/docker_mapservice': 30 ensure => 'directory', 31 } 32 33 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery': 34 ensure => 'directory', 35 } 36 37 file { '/var/lib/gnuboat/mapservice/docker_rabbitmq': 38 ensure => 'directory', 39 } 40 41 file { '/var/lib/gnuboat/mapservice/docker_memcached': 42 ensure => 'directory', 43 } 44 45 file { '/var/lib/gnuboat/mapservice/docker_database/Dockerfile': 46 ensure => file, 47 content => file('gnuboat_mapservice/mapservice_database_dockerfile'), 48 } 49 50 file { '/var/lib/gnuboat/mapservice/docker_database/gnuboat_mapservice.sql': 51 ensure => file, 52 content => file('gnuboat_mapservice/gnuboat_mapservice.sql'), 53 } 54 55 file { '/var/lib/gnuboat/mapservice/docker_mapservice/Dockerfile': 56 ensure => file, 57 content => epp('gnuboat_mapservice/mapservice_mapservice_dockerfile.epp', 58 { 59 'mapservice_workers' => $mapservice_workers, 60 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 61 }), 62 } 63 64 file { '/var/lib/gnuboat/mapservice/docker_mapservice/gnuboat-keyring.gpg': 65 ensure => file, 66 content => file('gnuboat_mapservice/gnuboat-keyring.gpg'), 67 } 68 69 file { '/var/lib/gnuboat/mapservice/docker_mapservice/mapservice.conf': 70 ensure => file, 71 content => epp('gnuboat_mapservice/mapservice.conf.epp', 72 { 73 'database_name' => $database_name, 74 'database_user' => $database_user, 75 'database_password' => $database_password, 76 'database_host' => $database_host, 77 'broker_host' => $broker_host, 78 'celery_cache_host' => $celery_cache_host, 79 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 80 }), 81 } 82 83 # Configure celery worker service 84 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/mapservice-celery.conf': 85 ensure => file, 86 content => epp('gnuboat_mapservice/mapservice_celery.conf.epp', 87 { 88 'mapservice_celery_nodes' => $mapservice_celery_nodes, 89 }), 90 } 91 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/mapservice_celery_entrypoint.sh': 92 ensure => file, 93 content => file('gnuboat_mapservice/mapservice_celery_entrypoint.sh'), 94 mode => '0755', 95 } 96 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/mapservice.conf': 97 ensure => file, 98 content => epp('gnuboat_mapservice/mapservice.conf.epp', 99 { 100 'database_name' => $database_name, 101 'database_user' => $database_user, 102 'database_password' => $database_password, 103 'database_host' => $database_host, 104 'broker_host' => $broker_host, 105 'celery_cache_host' => $celery_cache_host, 106 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 107 }), 108 } 109 110 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/Dockerfile': 111 ensure => file, 112 content => epp('gnuboat_mapservice/mapservice_celery_dockerfile.epp', 113 { 114 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 115 }), 116 } 117 118 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/gnuboat-keyring.gpg': 119 ensure => file, 120 content => file('gnuboat_mapservice/gnuboat-keyring.gpg'), 121 } 122 123 file { '/var/lib/gnuboat/mapservice/docker_rabbitmq/Dockerfile': 124 ensure => file, 125 content => file('gnuboat_mapservice/mapservice_rabbitmq_dockerfile'), 126 } 127 128 file { '/var/lib/gnuboat/mapservice/docker_memcached/Dockerfile': 129 ensure => file, 130 content => file('gnuboat_mapservice/mapservice_memcached_dockerfile'), 131 } 132 133 file { '/var/lib/gnuboat/mapservice/gnuboat_mapservice_docker.yaml': 134 ensure => file, 135 content => epp('gnuboat_mapservice/gnuboat_mapservice.yaml.epp', 136 { 137 'database_name' => $database_name, 138 'database_user' => $database_user, 139 'database_password' => $database_password, 140 'database_host' => $database_host, 141 'broker_host' => $broker_host, 142 'celery_cache_host' => $celery_cache_host, 143 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 144 'osm_tileserver_enabled' => $osm_tileserver_enabled, 145 }), 146 } 147 148 149 if($osm_tileserver_enabled){ 150 file{'/var/lib/gnuboat/osm': 151 ensure => directory, 152 } 153 file{'/var/lib/gnuboat/osm/database': 154 ensure => directory, 155 } 156 file{'/var/lib/gnuboat/osm/tilecache': 157 ensure => directory, 158 owner => "33", 159 } 160 file{'/var/lib/gnuboat/osm/tilecache/.osmosis': 161 ensure => directory, 162 owner => "1000", 8 file { extlib::dir_split($mapservice_tile_cache_dir): 9 ensure => 'directory', 10 mode => '0750', 163 11 } 164 12 165 file{'/var/lib/gnuboat/mapservice/docker_osm': 166 ensure => directory, 13 unless File['/var/lib/gnuboat'] { 14 file { '/var/lib/gnuboat': 15 ensure => 'directory', 16 } 17 } 18 file { '/var/lib/gnuboat/mapservice': 19 ensure => 'directory', 20 } 21 file { '/var/lib/gnuboat/mapservice/rabbitmq': 22 ensure => 'directory', 167 23 } 168 24 169 file { '/var/lib/gnuboat/mapservice/docker_osm/Dockerfile': 170 ensure => file, 171 content => file('gnuboat_mapservice/osm_dockerfile'), 25 file { '/var/lib/gnuboat/mapservice/docker_database': 26 ensure => 'directory', 27 } 28 29 file { '/var/lib/gnuboat/mapservice/docker_mapservice': 30 ensure => 'directory', 172 31 } 173 32 174 file{'/var/lib/gnuboat/osm/data.osm.pbf': 175 source => 'https://download.geofabrik.de/europe-latest.osm.pbf', 33 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery': 34 ensure => 'directory', 35 } 36 37 file { '/var/lib/gnuboat/mapservice/docker_rabbitmq': 38 ensure => 'directory', 176 39 } 177 notice("To import the dataset you need to import the database first")178 notice("cd /var/lib/gnuboat/mapservice && docker-compose -f gnuboat_mapservice_docker.yaml -p gnuboat_mapservice_host run gnuboat_osm import")179 notice("and restart the service with docker-compose -f gnuboat_mapservice_docker.yaml -p gnuboat_mapservice_host restart gnuboat_osm")180 }181 40 41 file { '/var/lib/gnuboat/mapservice/docker_memcached': 42 ensure => 'directory', 43 } 182 44 183 docker_compose{'gnuboat_mapservice_host': 184 compose_files => ['/var/lib/gnuboat/mapservice/gnuboat_mapservice_docker.yaml'], 185 ensure => present, 186 scale => { 187 'gnuboat_mapservice_mapservice' => 1, 188 }, 189 require => [ 190 File['/var/lib/gnuboat/mapservice'], 191 File['/var/lib/gnuboat/mapservice/rabbitmq'], 192 ], 193 } 45 file { '/var/lib/gnuboat/mapservice/docker_database/Dockerfile': 46 ensure => file, 47 content => file('gnuboat_mapservice/mapservice_database_dockerfile'), 48 } 49 50 file { '/var/lib/gnuboat/mapservice/docker_database/gnuboat_mapservice.sql': 51 ensure => file, 52 content => file('gnuboat_mapservice/gnuboat_mapservice.sql'), 53 } 54 55 file { '/var/lib/gnuboat/mapservice/docker_mapservice/Dockerfile': 56 ensure => file, 57 content => epp('gnuboat_mapservice/mapservice_mapservice_dockerfile.epp', 58 { 59 'mapservice_workers' => $mapservice_workers, 60 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 61 }), 62 } 63 64 file { '/var/lib/gnuboat/mapservice/docker_mapservice/gnuboat-keyring.gpg': 65 ensure => file, 66 content => file('gnuboat_mapservice/gnuboat-keyring.gpg'), 67 } 68 69 file { '/var/lib/gnuboat/mapservice/docker_mapservice/mapservice.conf': 70 ensure => file, 71 content => epp('gnuboat_mapservice/mapservice.conf.epp', 72 { 73 'database_name' => $database_name, 74 'database_user' => $database_user, 75 'database_password' => $database_password, 76 'database_host' => $database_host, 77 'broker_host' => $broker_host, 78 'celery_cache_host' => $celery_cache_host, 79 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 80 }), 81 } 82 83 # Configure celery worker service 84 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/mapservice-celery.conf': 85 ensure => file, 86 content => epp('gnuboat_mapservice/mapservice_celery.conf.epp', 87 { 88 'mapservice_celery_nodes' => $mapservice_celery_nodes, 89 }), 90 } 91 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/mapservice_celery_entrypoint.sh': 92 ensure => file, 93 content => file('gnuboat_mapservice/mapservice_celery_entrypoint.sh'), 94 mode => '0755', 95 } 96 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/mapservice.conf': 97 ensure => file, 98 content => epp('gnuboat_mapservice/mapservice.conf.epp', 99 { 100 'database_name' => $database_name, 101 'database_user' => $database_user, 102 'database_password' => $database_password, 103 'database_host' => $database_host, 104 'broker_host' => $broker_host, 105 'celery_cache_host' => $celery_cache_host, 106 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 107 }), 108 } 109 110 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/Dockerfile': 111 ensure => file, 112 content => epp('gnuboat_mapservice/mapservice_celery_dockerfile.epp', 113 { 114 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 115 }), 116 } 117 118 file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/gnuboat-keyring.gpg': 119 ensure => file, 120 content => file('gnuboat_mapservice/gnuboat-keyring.gpg'), 121 } 122 123 file { '/var/lib/gnuboat/mapservice/docker_rabbitmq/Dockerfile': 124 ensure => file, 125 content => file('gnuboat_mapservice/mapservice_rabbitmq_dockerfile'), 126 } 127 128 file { '/var/lib/gnuboat/mapservice/docker_memcached/Dockerfile': 129 ensure => file, 130 content => file('gnuboat_mapservice/mapservice_memcached_dockerfile'), 131 } 132 133 file { '/var/lib/gnuboat/mapservice/gnuboat_mapservice_docker.yaml': 134 ensure => file, 135 content => epp('gnuboat_mapservice/gnuboat_mapservice.yaml.epp', 136 { 137 'database_name' => $database_name, 138 'database_user' => $database_user, 139 'database_password' => $database_password, 140 'database_host' => $database_host, 141 'broker_host' => $broker_host, 142 'celery_cache_host' => $celery_cache_host, 143 'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir, 144 'osm_tileserver_enabled' => $osm_tileserver_enabled, 145 } 146 ), 147 } 148 149 docker_compose{'gnuboat_mapservice_host': 150 compose_files => ['/var/lib/gnuboat/mapservice/gnuboat_mapservice_docker.yaml'], 151 ensure => present, 152 scale => { 153 'gnuboat_mapservice_mapservice' => 1, 154 }, 155 require => [ 156 File['/var/lib/gnuboat/mapservice'], 157 File['/var/lib/gnuboat/mapservice/rabbitmq'], 158 ], 159 } 194 160 } -
src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/init.pp
r8721817 raf6ade4 1 1 class gnuboat_mapservice 2 2 ( 3 Boolean $containerized = true,4 Boolean $mapservice_host = false,3 Boolean $containerized = true, 4 Boolean $mapservice_host = false, 5 5 # String $version = 'latest', 6 String $database_name = 'gnuboat_mapservice',7 String $database_user = 'gnuboat_mapservice',8 String $database_password = extlib::random_password(42),9 String $database_host = "localhost",10 String $mapservice_version = 'latest',11 Integer $mapservice_workers = 1,12 Integer $mapservice_port = 8080,13 Integer $mapservice_celery_nodes = 2,14 String $broker_host = "localhost",15 String $celery_cache_host = "localhost",16 String $mapservice_tile_cache_dir = '/var/lib/gnuboat/tilescache',17 Boolean $apache_enabled = false,18 String $apache_vhost_name = "gnuboat_proxy",19 String $apache_vhost_servername = "localhost",20 String $apache_vhost_ssl_cert = '',21 String $apache_vhost_ssl_key = '',22 Boolean $apache_replace_default_host = false,23 Boolean $osm_tileserver_enabled= false,6 String $database_name = 'gnuboat_mapservice', 7 String $database_user = 'gnuboat_mapservice', 8 String $database_password = extlib::random_password(42), 9 String $database_host = "localhost", 10 String $mapservice_version = 'latest', 11 Integer $mapservice_workers = 1, 12 Integer $mapservice_port = 8080, 13 Integer $mapservice_celery_nodes = 2, 14 String $broker_host = "localhost", 15 String $celery_cache_host = "localhost", 16 String $mapservice_tile_cache_dir = '/var/lib/gnuboat/tilescache', 17 Boolean $apache_enabled = false, 18 String $apache_vhost_name = "gnuboat_proxy", 19 String $apache_vhost_servername = "localhost", 20 String $apache_vhost_ssl_cert = '', 21 String $apache_vhost_ssl_key = '', 22 Boolean $apache_replace_default_host = false, 23 Boolean $osm_tileserver_enabled= false, 24 24 ) 25 25 { 26 if $gnuboat_type == "mapservice_host" { 27 contain gnuboat_mapservice::apache_config 28 containt gnuboat_mapservice::mapservice_webclient_install 29 if $containerized { 30 contain gnuboat_mapservice::host_install 31 contain gnuboat_mapservice::host_service 26 if $gnuboat_type == "mapservice_host" { 27 contain gnuboat_mapservice::apache_config 28 if $containerized { 29 contain gnuboat_mapservice::host_install 30 contain gnuboat_mapservice::host_service 32 31 33 Class['gnuboat_mapservice::host_install'] -> 34 Class['gnuboat_mapservice::mapservice_webclient_install'] -> 35 Class['gnuboat_mapservice::apache_config'] -> 36 Class['gnuboat_mapservice::host_service'] 37 } 38 else { 39 contain gnuboat_mapservice::mapservice_without_container_install 40 contain gnuboat_mapservice::mapservice_without_container_config 41 contain gnuboat_mapservice::mapservice_without_container_service 32 Class['gnuboat_mapservice::host_install'] -> 33 Class['gnuboat_mapservice::apache_config'] -> 34 Class['gnuboat_mapservice::host_service'] 35 } 36 else { 37 contain gnuboat_mapservice::mapservice_without_container_install 38 contain gnuboat_mapservice::mapservice_without_container_config 39 contain gnuboat_mapservice::mapservice_without_container_service 42 40 43 Class['gnuboat_mapservice::mapservice_without_container_install'] -> 44 Class['gnuboat_mapservice::mapservice_webclient_install'] -> 45 Class['gnuboat_mapservice::mapservice_without_container_config'] -> 46 Class['gnuboat_mapservice::apache_config'] -> 47 Class['gnuboat_mapservice::mapservice_without_container_service'] 48 } 49 } 41 Class['gnuboat_mapservice::mapservice_without_container_install'] -> 42 Class['gnuboat_mapservice::mapservice_without_container_config'] -> 43 Class['gnuboat_mapservice::apache_config'] -> 44 Class['gnuboat_mapservice::mapservice_without_container_service'] 45 } 46 } 47 48 if $gnuboat_type == "mapservice_database" { 49 contain gnuboat_mapservice::database_install 50 51 Class['gnuboat_mapservice::database_install'] 52 } 53 54 if $gnuboat_type == "mapservice_mapservice" { 55 contain gnuboat_mapservice::mapservice_install 56 57 Class['gnuboat_mapservice::mapservice_install'] 58 } 50 59 } -
src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/templates/gnuboat_mapservice.yaml.epp
r8721817 raf6ade4 6 6 String $celery_cache_host, 7 7 String $mapservice_tile_cache_dir, 8 Boolean $osm_tileserver_enabled,8 Boolean osm_tileserver_enabled, 9 9 | -%> 10 10 version: "2.0" … … 63 63 <% if $osm_tileserver_enabled { %> 64 64 gnuboat_osm: 65 envi ronment:65 enviornment: 66 66 - UPDATES=enabled 67 67 build: docker_osm/
Note:
See TracChangeset
for help on using the changeset viewer.
