view modules/sudo/manifests/init.pp @ 135:b3f6c7a910d0 puppet-3.6

Add Certbot packages we depend on for commands and providing certs Note: Initial Certbot setup is out of scope and must be done manually
author IBBoard <dev@ibboard.co.uk>
date Fri, 11 Nov 2016 21:02:09 +0000
parents 956e484adc12
children c3fa3d65aa83
line wrap: on
line source

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

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