Puppet module for managing eZ Publish installations
Puppet Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
manifests
spec
templates
tests
.fixtures.yml
.gitignore
.travis.yml
CHANGELOG
Gemfile
LICENCE
Modulefile
Puppetfile
README.md
Rakefile

README.md

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 { 'ezdemo.yourdomain.com':
    install_dir => '/var/www/ezdemo.yourdomain.com'
}

The [apache::vhosts] (https://github.com/puppetlabs/puppetlabs-apache) 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     => 'http://share.ez.no/content/download/149574/883017/version/1/file/ezpublish5_community_project-2013.4-gpl-full.tar.gz',
    dest    => '/var/www/ezdemo.yourdomain.com',
    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     => 'http://share.ez.no/content/download/149574/883017/version/1/file/ezpublish5_community_project-2013.4-gpl-full.tar.gz',
    dest    => '/var/www/default',
    require => Class['ezpublish::default'],
  }

}

Dependencies

Functionality is dependant on specific versions of the following modules:

See [Modulefile] (https://github.com/brucem/puppet-ezpublish/blob/master/Modulefile) for details.

Copyright and License

Copyright (C) 2013 Bruce Morrison

Bruce Morrison can be contacted at: bruce@stuffandcontent.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.