Forge Home

owncloud

Module for installing and (optionally) configuring Owncloud

9,732 downloads

9,732 latest version

0.3 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.0 (latest)
released Jul 29th 2014

Start using this module

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

Add this module to your Puppetfile:

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

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install chriscowley-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
Tags: owncloud

Documentation

chriscowley/owncloud — version 0.1.0 Jul 29th 2014

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with owncloud
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

##Overview

Installs Owncloud and optionally configures Owncloud.

##Module Description

The most simple options just deploy Owncloud. Optionally, it can also configure both Owncloud and the web server (currenly on Nginx/PHP-FPM).

##Setup

###What owncloud affects

  • The installer file is placed in /opt.
  • This install is expanded into /var/www/owncloud

Optional:

  • The configuration file /var/www/owncloud/config/config.php is created
  • The configuration file for Nginx is created

###Setup Requirements OPTIONAL

Only curl needs to be installed. For the module to work, no others are required. Other modules to control your web server and PHP are required.

For larger installs, you will also need MySQL.

Personally I use:

You can use whatever suits you (or even none at all if that is what floats your boat).

###Beginning with owncloud

The most basic usage is

node owncloud.example.com {
    class { 'owncloud': }
}

Or if using Hiera:

---
classes:
  - owncloud

That will just install version 7.0.0 (current at time of writing). No configuration is performed.

##Usage

A more advanced use case would be:

---
classes:
  - mysql
  - owncloud
owncloud::releasever: 7.1.0
owncloud::webserver: nginx
owncloud::ssl
owncloud::servername: owncloud.example.com

Should be pretty self-explanitory, but this will install Owncloud 7.1.0, then configure Nginx with an SSL virtual Host.

##Limitations

Currently tested only on CentOS 6. It will not work on Debian/Ubuntu, but I have put case statements in place to make it easy in the future.

Currently only supports Nginx as the web server. Again, case statements are there to allow support for other web servers.

##Development

Feel free to fork and send any pull requests.