Giter Site home page Giter Site logo

kmonticolo / openbsd-owncloud-puppet Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 122 KB

Puppet manifest to unattended installation owncloud on OpenBSD

License: BSD 2-Clause "Simplified" License

Puppet 70.78% Ruby 0.11% Shell 14.99% Python 14.12%
openbsd owncloud puppet manifest httpd postgresql php-fpm chroot chroot-environment openbsd-community

openbsd-owncloud-puppet's Introduction

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

openbsd-owncloud-puppet's People

Contributors

khwolf avatar kmonticolo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

khwolf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.