Skip to content

othalla/puppet-nextcloud

Repository files navigation

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.

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!

About

Module to setup Nextcloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published