Forge Home

owncloud

Controls owncloud deployement

10,703 downloads

9,618 latest version

2.6 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.1.0 (latest)
  • 0.0.1 (deleted)
released Mar 24th 2015

Start using this module

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

Add this module to your Puppetfile:

mod 'alkivi-owncloud', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add alkivi-owncloud
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install alkivi-owncloud --version 0.1.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

alkivi/owncloud — version 0.1.0 Mar 24th 2015

Owncloud Module

This module will install and configure owncloud

Usage

Minimal server configuration

class { 'owncloud': }

This will do the typical install. It will create a database using alkivi mysql module. You still need to launch the web page one to create initial databases

You need to manually create the associated apache host. Here is an helper using puppetlabs-apache2

apache::vhost { 'owncloud':
  priority         => pick($nodeConfiguration['owncloud_info']['priority'], '003'),
  servername       => pick($nodeConfiguration['owncloud_info']['servername'], 'cloud.home'),
  port             => pick($nodeConfiguration['owncloud_info']['port'], '444'),
  ssl              => pick($nodeConfiguration['owncloud_info']['ssl'], true),
  ssl_cert         => pick($nodeConfiguration['owncloud_info']['ssl_cert'], '/home/alkivi/www/ssl/alkivi.crt'),
  ssl_key          => pick($nodeConfiguration['owncloud_info']['ssl_key'], '/home/alkivi/www/ssl/alkivi.key'),
  docroot          => pick($nodeConfiguration['owncloud_info']['docroot'], '/var/www/owncloud'),
  logroot          => pick($nodeConfiguration['owncloud_info']['logroot'], '/home/alkivi/www/log'),
  docroot_owner    => pick($nodeConfiguration['owncloud_info']['docroot_owner'], 'www-data'),
  docroot_group    => pick($nodeConfiguration['owncloud_info']['docroot_group'], 'www-data'),
  access_log       => pick($nodeConfiguration['owncloud_info']['access_log'], false),
  override         => pick($nodeConfiguration['owncloud_info']['override'], ['All']),
  options          => pick($nodeConfiguration['owncloud_info']['options'], ['Indexes FollowSymLinks MultiViews ExecCGI']),
  error_log_syslog => pick($nodeConfiguration['owncloud_info']['error_log_syslog'], 'syslog:local1'),
  custom_fragment  => '
  CustomLog /home/alkivi/www/log/owncloud_access.log combined',
}

Limitations

  • This module has been tested on Debian Wheezy, Squeeze.

License

All the code is freely distributable under the terms of the LGPLv3 license.

Contact

Need help ? contact@alkivi.fr

Support

Please log tickets and issues at our Github