- Description
- Setup - The basics of getting started with codimd
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module installs and configure CodiMD. It's inspired by the puppet-etherpad module.
- This module depends on puppet-nodejs
- It also depends on puppetlabs-vcsrepo and hence git
- It will setup a service using systemd
- It will install all npm dependencies and keep them in sync on updates
- It will also run db migration automatically on updates
This module requires a database. Though it can use sqlite, it's recommend to use PostgreSQL or MySQL. See CodiMD offical documentation for further advice.
Before to installation, a target database should exist. Please consult the documentation of puppetlabs-postgresql, or puppetlabs-mysql for how to create those.
The basic usage is:
class { 'codimd':
config => {
host => 'localhost',
domain => 'codimd.example.org',
db => {
username => 'codimd',
password => 'mySuperSecurePassword',
database => 'codimd',
host => '127.0.0.1',
port => 3306,
dialect => 'mysql',
},
},
}
Pin the version if you don't like automatic updates
class { 'codimd':
config => {
...
},
version => '1.5.0',
}
For information on the classes and types, see the REFERENCE.md.
- Only systemd is supported as Service provider.
- Most things are currently hardcoded.
- Module is only tested on Ubuntu 18.04
PRs are very welcome! :)
This module is development with the help of pdk.
Please follow the standard Puppet development processes as lived by Puppetlabs/Vox Pupuli.