Puppet Class: linuxmint::config::mintwelcome
- Inherits:
- linuxmint::params
- Defined in:
- manifests/config/mintwelcome.pp
Overview
linuxmint::config::mintwelcome
Configures Linux Mint Mint Welcome tool
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'manifests/config/mintwelcome.pp', line 7
class linuxmint::config::mintwelcome (
String $group = $linuxmint::params::group,
String $user = $linuxmint::params::user,
) inherits linuxmint::params {
assert_type(String[1], $user)
assert_type(String[1], $group)
$dirs = [
"/home/${user}/.linuxmint",
"/home/${user}/.linuxmint/mintwelcome",
]
file { $dirs:
ensure => 'directory',
owner => $user,
group => $group,
mode => '0700',
}
file { "/home/${user}/.linuxmint/mintwelcome/norun.flag":
ensure => 'file',
content => '',
owner => $user,
group => $group,
mode => '0700',
require => [
File["/home/${user}/.linuxmint/mintwelcome"],
],
}
}
|