Added etherpadlite module and system user
This commit is contained in:
parent
b3446cb48e
commit
7752295779
2 changed files with 29 additions and 0 deletions
16
etherpadlite/manifests/init.pp
Normal file
16
etherpadlite/manifests/init.pp
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Install etherpad-lite.
|
||||
#
|
||||
class etherpadlite {
|
||||
|
||||
include user::system
|
||||
realize(User["etherpad"], Group["etherpad"])
|
||||
|
||||
file { "/var/lib/etherpad":
|
||||
ensure => "directory",
|
||||
mode => "0700",
|
||||
owner => "etherpad",
|
||||
group => "etherpad",
|
||||
require => User["etherpad"],
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue