An Opscode Chef cookbook to set up TYPO3.
Installs TYPO3 in a given version. However, does not configure the installation (yet). The install tool will be enabled after the recipe finished and you need to configure TYPO3 yourself.
A database and database user for the TYPO3 installation will be set up.
The TYPO3 source is downloaded as a package from http://get.typo3.org and put into /usr/src
.
Make sure to configure the ['typo3']['site_name']
attribute as it is used when configuring the Apache virtual host. The installation will live in /var/www/site-['typo3']['site_name']
.
Tested on Ubuntu / Debian
Tested with Chef 10.14.2
- apache2
- mysql
- database
- php
- cron
Key | Type | Description | Default |
---|---|---|---|
['typo3']['version'] | String | Which version to install. | 6.1.0 |
['typo3']['site_name'] | String | The site's name. Used for example in determining the folder in /var/www/. | typo3 |
['typo3']['server_name'] | String | Server name for the Apache vhost configuration. | node['fqdn'] |
['typo3']['server_aliases'] | String | Server aliases for the vhost configuration. | [] |
['typo3']['db']['database'] | String | Database name. | typo3db |
['typo3']['db']['user'] | String | Database user | typo3user |
['typo3']['db']['password'] | String | Database password. | typo3password |
- Fork the repository on Github
- Create a named feature branch (like
feature_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Ingo Renner (@irnnr)
Copyright: 2013, Ingo Renner
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.