Skip to content


Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

eZ Publish module for Puppet

Build Status

eZ Publish is an open source Content management system and this module allows for:

  • the configuration of base system
  • default webserver configuration
  • vhost configuration
  • installation of community versions of eZ Publish

Current support is for Debian/Ubuntu based systems. RedHat/CentOS support will be added in the future.

To ensure that the correct version of dependant modules are installed please use the puppet module tool or librarian puppet.

Basic usage

To install a system suitable for running eZ Publish

class { 'ezpublish': }

This will setup a system suitable for running eZ Publish. A database server is not installed allowing this option to be used for systems with a separate DB server.

To install a standalone system:

class { 'ezpublish::standalone' }

This is the same as the above system but includes a database server.

To configure Apache so eZ Publish can be installed as the default application:

class{ 'ezpublish::default' }

To setup an eZ Publish virtual host:

ezpublish::vhost { '':
    install_dir => '/var/www/'

The [apache::vhosts] ( definition is reused here with some eZ Publish specific defaults.

To setup a eZ Publish database:

ezpublish::database { 'ezpublish':
    ensure  => 'present',
    db_user => 'ezpublish',
    db_pass => 'password',

To install eZ Publish:

ezpublish::install { 'eZ Publish Community Project 2013.4':
    src     => '',
    dest    => '/var/www/',
    require =>  Class['ezpublish::default'],

This will install the latest eZ Publish Community Project in the default application.

Install the latest eZ Publish Community Project

The above commands can be combined to prepare an eZ Publish server and install the community version var/www/default.

node default {
  class { 'ezpublish::standalone': }
  class { 'ezpublish::default': }

  ezpublish::database { 'ezpublish':
    ensure  => 'present',
    db_user => 'ezpublish',
    db_pass => 'password',

  ezpublish::install { 'eZ Publish Community Project 2013.4':
    src     => '',
    dest    => '/var/www/default',
    require => Class['ezpublish::default'],



Functionality is dependant on specific versions of the following modules:

See [Modulefile] ( for details.

Copyright and License

Copyright (C) 2013 Bruce Morrison

Bruce Morrison can be contacted at:

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

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.


Puppet module for managing eZ Publish installations







No packages published