view modules/vcs/manifests/init.pp @ 242:7d8e664ebcc9 puppet-3.6

Change owner/group on Nextcloud for easy upgrade We now prevent Apache writing to files using SELinux, so it is secure during normal operation but can be upgraded through the web app by disabling SELinux
author IBBoard <dev@ibboard.co.uk>
date Fri, 20 Dec 2019 15:17:43 +0000
parents d9fcabc75a1e
children 2d119b462c83
line wrap: on
line source

class vcs {
    @package { [
            "mercurial",
            "git"
        ]:
        ensure => installed
    }
    @package { 'mercurial-keyring':
        ensure => installed,
        provider => 'pip',
    }
}

class vcs::client inherits vcs {
	realize(Package["mercurial"],
		Package["mercurial-keyring"],
		Package["git"])
}

class vcs::server inherits vcs {
	realize(Package["mercurial"],
		Package["git"])
}