view modules/sudo/manifests/init.pp @ 362:84c09975288b

Add "gmp" module that NextCloud now requests
author IBBoard <dev@ibboard.co.uk>
date Wed, 21 Oct 2020 18:49:30 +0100
parents c3fa3d65aa83
children a8a7b2b343b5
line wrap: on
line source

class sudo {
	package { sudo: ensure => latest }

	file { "/etc/sudoers.d/enable-wheel":
		owner   => root,
		group   => root,
		mode    => '0440',
		source  => "puppet:///modules/sudo/enable-wheel",
		require => Package["sudo"],
	}
	file { "/etc/sudoers.d/use-root-pwd":
		owner   => root,
		group   => root,
		mode    => '0440',
		source  => "puppet:///modules/sudo/use-root-pwd",
		require => Package["sudo"],
	}
	file { "/etc/sudoers.d/keep-editor":
		owner   => root,
		group   => root,
		mode    => '0440',
		source  => "puppet:///modules/sudo/keep-editor",
		require => Package["sudo"],
	}
}