Fixed some system user home directories
This commit is contained in:
parent
e8b5cad694
commit
44bbad6862
1 changed files with 18 additions and 4 deletions
|
@ -6,6 +6,20 @@ import "classes.pp"
|
||||||
#
|
#
|
||||||
class user::system {
|
class user::system {
|
||||||
|
|
||||||
|
file { "/var/empty":
|
||||||
|
ensure => directory,
|
||||||
|
mode => 0755,
|
||||||
|
owner => "root",
|
||||||
|
group => $operatingsystem ? {
|
||||||
|
openbsd => "wheel",
|
||||||
|
default => "root",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
User {
|
||||||
|
require => File["/var/empty"],
|
||||||
|
}
|
||||||
|
|
||||||
@group { "httpsd":
|
@group { "httpsd":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
gid => 800,
|
gid => 800,
|
||||||
|
@ -161,7 +175,7 @@ class user::system {
|
||||||
uid => 812,
|
uid => 812,
|
||||||
gid => 812,
|
gid => 812,
|
||||||
comment => "Service Collab",
|
comment => "Service Collab",
|
||||||
home => "/home/collab",
|
home => "/var/empty",
|
||||||
shell => "/sbin/nologin",
|
shell => "/sbin/nologin",
|
||||||
require => Group["collab"],
|
require => Group["collab"],
|
||||||
}
|
}
|
||||||
|
@ -176,7 +190,7 @@ class user::system {
|
||||||
uid => 813,
|
uid => 813,
|
||||||
gid => 813,
|
gid => 813,
|
||||||
comment => "Service AbuseHelper",
|
comment => "Service AbuseHelper",
|
||||||
home => "/var/lib/ah2",
|
home => "/var/empty",
|
||||||
shell => "/sbin/nologin",
|
shell => "/sbin/nologin",
|
||||||
require => Group["abusehel"],
|
require => Group["abusehel"],
|
||||||
}
|
}
|
||||||
|
@ -190,7 +204,7 @@ class user::system {
|
||||||
uid => 814,
|
uid => 814,
|
||||||
gid => 814,
|
gid => 814,
|
||||||
comment => "Service VSRoom",
|
comment => "Service VSRoom",
|
||||||
home => "/var/lib/vsroom",
|
home => "/var/empty",
|
||||||
shell => "/sbin/nologin",
|
shell => "/sbin/nologin",
|
||||||
require => Group["vsroom"],
|
require => Group["vsroom"],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue