Skip to content
Puppet manifest to unattended installation owncloud on OpenBSD
Puppet Shell Python Ruby
Branch: master
Clone or download
Latest commit e25362d Dec 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore add entry to .gitignore Jun 7, 2017
LICENSE Create LICENSE Feb 14, 2018
Puppetfile Create Puppetfile Mar 1, 2017
README.md
Vagrantfile disable shared folder Aug 7, 2018
httpd.conf Add files via upload Feb 14, 2017
site.pp fix typo Dec 17, 2018
sitesnap.pp Create sitesnap.pp Jan 25, 2018
test.sh make website check less verbose May 24, 2018
test_owncloud.py add testinfra tests May 24, 2018

README.md

Build Status Codacy Badge CII Best Practices HitCount

OpenBSD-owncloud-puppet

Puppet boilerplate manifest to unattended installation owncloud on OpenBSD's httpd with chroot, just for my learning purpouses.

First, you need to install module as root:

sudo puppet module install puppetlabs-stdlib

Then modify site.pp to your needs:

  • PHP versions (5.5, 5.6, 7.0 are available),
  • $dbpass and $owncloud_db_pass should be changed,
  • $adminlogin and $adminpass, can be changed, default "admin",

and simply install owncloud using:

sudo puppet apply site.pp

Note: as puppet uses /var partition, which is remount when manifest is running, you will probably need to apply it twice.

After installation go to https://IP/index.html/index.php This instance will be using a self-signed certificate, so you will have to add an exception for this in your web browser.

Default admin user and password is "admin", you can change it in manifest.

You may also need to raise kern.seminfo.semmni sysctl for postgres database.

For snapshot users:

sudo su
curl -O https://raw.githubusercontent.com/qbit/snap/master/snap
chmod +x snap
./snap -s -M piotrkosoft.net -x
sysmerge

reboot

sudo su
export PKG_PATH=http://piotrkosoft.net/pub/OpenBSD/snapshots/packages/amd64/
pkg_add -u
puppet module install puppetlabs-stdlib --version 4.15.0
puppet apply sitesnap.pp

If you want to uninstall, type:

pkg_delete -a owncloud postgresql-server postgresql-client php
You can’t perform that action at this time.