Added opencoll user
This commit is contained in:
parent
75177d2403
commit
c7b2010a3a
2 changed files with 26 additions and 0 deletions
|
@ -350,6 +350,21 @@ class user::system {
|
|||
require => Group["solr"],
|
||||
}
|
||||
|
||||
# Opencollab
|
||||
@group { "opencoll":
|
||||
ensure => present,
|
||||
gid => 824,
|
||||
}
|
||||
@user { "opencoll":
|
||||
ensure => present,
|
||||
uid => 824,
|
||||
gid => 824,
|
||||
comment => "Service Opencollab",
|
||||
home => "/var/empty",
|
||||
shell => "/sbin/nologin",
|
||||
require => Group["opencoll"],
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -116,6 +116,17 @@ class wiki::opencollab inherits wiki::graphingwiki::common {
|
|||
require => Util::Extract::Tar["/usr/local/src/graphingwiki"],
|
||||
}
|
||||
|
||||
include user::system
|
||||
realize(User["opencoll"], Group["opencoll"])
|
||||
|
||||
file { "/etc/opencollab":
|
||||
ensure => directory,
|
||||
mode => "0750",
|
||||
owner => "root",
|
||||
group => "opencoll",
|
||||
require => Group["opencoll"],
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue