Installs and configures the eLearning environment moodle
Chef 0.10.10+.
Cookbooks:
- apache2
- php
- git
- database
- Debian, Ubuntu
Where is the base moodle repository? And which version do you want to checkout?
default[:moodle][:repository] = "git://git.moodle.org/moodle.git"
default[:moodle][:branch] = "master"
default[:moodle][:https] = falseDatabase settings:
default[:moodle][:dbtype] = "mysqli"
default[:moodle][:dblibrary] = "native"
default[:moodle][:host] = "localhost"
default[:moodle][:prefix] = "mdl_"
default[:moodle][:dbpersist] = false
default[:moodle][:dbsocket] = false
default[:moodle][:dbport] = ""
default[:moodle][:directorypermission] = 02777
default[:moodle][:admin] = 'admin'Webserver settings:
default[:moodle][:project][:log_level] = 'warn'
default[:moodle][:project][:application_env] = 'development'
default[:moodle][:project][:rewrite_log_level] = 0
default[:moodle][:project][:docroot] = '/var/www/public'
default[:moodle][:project][:dataroot] = '/var/www/mdl_data'
default[:moodle][:project][:log_dir] = '/var/log/apache2/'
default[:moodle][:project][:fullname] = "moodle test installation"
default[:moodle][:project][:shortname] = "mdl"
default[:moodle][:project][:admin_user] = "root"
default[:moodle][:project][:admin_pass] = "root"- Author:: Andy Ruck (mychiara+cookbooks@gmail.com)
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
http://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.