+++ /dev/null
-# yournavigation cookbook
-
-This cookbook builds and environment suitable for running gosmore as part of the
-[YOURS](https://wiki.openstreetmap.org/wiki/YOURS) routing service.
-
-Note that the installation and configuration of gosmore itself is not covered by the cookbook.
+++ /dev/null
-name "yournavigation"
-maintainer "OpenStreetMap Administrators"
-maintainer_email "admins@openstreetmap.org"
-license "Apache-2.0"
-description "Installs and configures yournavigation servers"
-long_description IO.read(File.join(File.dirname(__FILE__), "README.md"))
-version "1.0.0"
-supports "ubuntu"
-depends "apache"
+++ /dev/null
-#
-# Cookbook Name:: yournavigation
-# Recipe:: default
-#
-# Copyright 2012, OpenStreetMap Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-include_recipe "apache"
-
-package %w[
- php
- php-cli
- php-apcu
-]
-
-# Required for osmosis
-package "default-jre-headless"
-
-# Required for building gosmore
-package %w[
- build-essential
- libxml2-dev
- libgtk2.0-dev
- subversion
- libcurl4-gnutls-dev
- libgps-dev
- libcurl4
- buffer
- git
- cmake
- libqt4-dev
- qt4-dev-tools
- qt4-linguist-tools
- libicu-dev
-]
-
-apache_module "php7.2"
+++ /dev/null
-name "yournavigation"
-description "Role applied to all yournavigation servers"
-
-default_attributes(
- :accounts => {
- :users => {
- :lambertus => { :status => :administrator }
- }
- },
- :apache => {
- :mpm => "prefork",
- :timeout => 60,
- :keepalive => false,
- :prefork => {
- :start_servers => 20,
- :min_spare_servers => 20,
- :max_spare_servers => 50,
- :max_request_workers => 256
- }
- }
-)
-
-run_list(
- "recipe[yournavigation]"
-)