Puppet Class: owncloud::server
- Inherits:
- owncloud::server::params
- Defined in:
- manifests/server.pp
Overview
[View source]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/server.pp', line 1
class owncloud::server(
$packages = params_lookup( 'packages' ),
$path = params_lookup( 'path' ),
$user = params_lookup( 'user' ),
$passwordsalt = params_lookup( 'passwordsalt' ),
$mysql_database = params_lookup( 'mysql_database' ),
$mysql_user = params_lookup( 'mysql_user' ),
$mysql_password = params_lookup( 'mysql_password' ),
$mysql_host = params_lookup( 'mysql_host' ),
$apache_vhost = params_lookup( 'apache_vhost'),
$instanceid = params_lookup( 'instanceid' ),
$enabled = params_lookup( 'enabled' )
) inherits owncloud::server::params {
$ensure = $enabled ? {
true => present,
false => absent
}
include owncloud::server::package, owncloud::server::config
}
|