0 Comments // Reading Time: 3 min.
We are always encouraged to give something back to the community. This time we released our internally used chef cookbooks for TYPO3 and Neos that we are using to setup our local Vagrant development infrastructure. They are well tested and production ready. So feel free to use them in your development projects.
Chef is a professional tool that helps you to setup and manage your infrastructure and helps to publish changes to your existing servers. The code that may be executed is defined in so called cookbooks that are containing all relevant code, templates and configuration for a specific purpose e.g. setting up a TYPO3 site. Our chef cookbooks are a result of several months of testing and evaluating the best solution for our special requirements. Note that they are based all upon the latest Ubuntu LTS.
The following sections are describing our released chef cookbooks. Feel free to fork and contribute to them or report issues in our Gitlab. Please remember that the cookbooks are for our internal needs, so don't expect that we integrate all requested features. Also it's possible that we drop and rewrite existing features without a deprecation period. Furthermore we are not releasing our whole Vagrant infrastructure code. Maybe this will happen sometimes in the future. Also note that the cookbooks may depend upon each other. However we hope that you can get some profit out of this cookbooks.
The youngest of our cookbooks was created to setup a development instance for our own website. It's generic enough to be used for other Neos sites too, but you may find bugs and missing features. You can find a lot of configuration options in the attributes file that you can set in your Vagrantfile or our Chef role file.
This cookbook is used to create a new instance that is driven by a TYPO3 CMS instance. It's used for a lot of different setups and very flexible. Like for the neos_site cookbook, you can set several configuration options.
Use the mailcatcher cookbook if you want to test mailing in your development instance without to really send them out into the wild. This is especially useful if you want to test mass mailings to thousands of users. The tool behind this nice cookbook is also called mailcatcher and a small ruby application. It's one of our favorite development tools since we are using it. :-)
This one is very special and provides some configuration for our Ubuntu based vagrant instances. It's very probable that you want to use your configuration in your instances. Note that this cookbook also provides some requirements for the other cookbooks!
The last cookbook integrates the profiling tool XhProf from Facebook. Try it out, you will love it! To start a performance analysis session, you must add the following two lines into your .htaccess.
php_value auto_prepend_file “/opt/xhprof/external/header.php” php_value auto_append_file “/opt/xhprof/external/footer.php”