puppet/etherpadlite/manifests/init.pp

21 lines
421 B
Puppet

# 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"],
}
selinux::manage_port { "9001":
type => "http_port_t",
proto => "tcp",
}
}