Forge Home

ezpublish

eZ Publish Module

13,146 downloads

10,239 latest version

2.8 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.3.0 (latest)
  • 0.2.0
  • 0.1.1
  • 0.1.0
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Dec 7th 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'brucem-ezpublish', '0.3.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add brucem-ezpublish
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install brucem-ezpublish --version 0.3.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

brucem/ezpublish — version 0.3.0 Dec 7th 2013

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.