Install dCache using this module.
dCache is a Java program and thus requires Java to be installed. This module though neither installs it, nor does it raise any dependency on installed Java packages or declared Puppet resources. The simple reason for that is, that the administrator may chose from different Java editions – Oracle or open source, basic runtime environment or development kit. All of these editions tend to have complicated and diverse naming conventions for their packages. The author of this module decided, he didn't want to open that can of worms.
Some dCache services require a RDBMS backend, traditionally a PostgreSQL instance. Installing Postgres is not part of this module. Instead, there is a well developed public Puppet module supported by Puppetlabs for managing PostgreSQL installations: puppetlabs-postgresql. Of course, PostgreSQL is not mandatory for dCache. In theory, any other RDBMS should work, too.
The dcache
class will translate the layout mapping into domain
and
services::generic
resources, which will result in a properly populated
layout file. There are specialized resource types for a couple of
services, which allow administrators to manage related configuration files
at the same time. The documentation for them is found in
dCache services.
This module does not define dCache as a service. The main reason is, that a running state is not precisely defined, when the service is split over independent processes, i.e. domains. Maybe in the future we will define the individual domains as a service on operating system level (code contribution is welcome).