Forge Home

nextcloud

Module to setup Netxcloud server

9,413 downloads

5,015 latest version

4.9 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.7 (latest)
  • 0.3.6
  • 0.3.5
  • 0.3.4
  • 0.3.3
  • 0.3.2
  • 0.3.1
  • 0.3.0
  • 0.2.3
  • 0.2.2
  • 0.2.1 (deleted)
  • 0.2.0 (deleted)
released Nov 25th 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'othalla-nextcloud', '0.3.7'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add othalla-nextcloud
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install othalla-nextcloud --version 0.3.7

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

othalla/nextcloud — version 0.3.7 Nov 25th 2018

nextcloud

Build Status

Table of Contents

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

Description

This module install Nextcloud.

Setup

What nextcloud affects

Depending of given parameters, nextcloud class does:

  • Install MariaDB with a database for nextcloud (if db managed). Why not Oracle Mysql? Thats not even a question!
  • Install PHP-fpm with required modules.
  • Fetch and extract nextcloud distribution from Internet.
  • Install Nginx and configure nextcloud webserver. Why Nginx? Because it is so nice & fast!
  • Set preconfigured options for first use.

Setup Requirements

If SSL choosed, you must provide and put ssl cert & key on nextcloud host.

Beginning with nextcloud

None

Usage

For test, use it without HTTPS like :

class { '::nextcloud':
  ssl => false,
}

For production usage, use it with SSL and provide certificate as required :

class { '::nextcloud':
  ssl_key_file  => '/etc/nginx/ssl/server.key',
  ssl_cert_file => '/etc/nginx/ssl/server.crt',
}

You can provide your own DB if you already for some :

class { '::nextcloud':
  ssl_key_file  => '/etc/nginx/ssl/server.key',
  ssl_cert_file => '/etc/nginx/ssl/server.crt',
  db_manage     => false,
  db_host       => 'myhost',
  db_user       => 'myuser',
  db_password   => 'mypassword',
}

Limitations

This module isn't able to generate self-signed certificated when used with SSL.

Development

This module is actually being developped. New features should come soon!

Release Notes/Contributors/Etc.

Helo all, will be glad if you provide enhancements!