Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
78 lines (76 sloc) 2.64 KB
repo: git@github.com:juju-solutions/layer-hadoop-client.git
includes: ['layer:basic', 'interface:hadoop-plugin', 'interface:java']
defines:
packages:
description: >
A list of apt packages to be installed during setup.
type: array
items: {type: string}
default: []
groups:
description: >
A list of system groups to be created during setup.
type: array
items: {type: string}
default: []
users:
description: >
This option defines system users to be created during setup. The value
for this option should be a mapping of usernames to information about
the user. Currently, this only supports a 'groups' item that should be
a list of groups to add the user to, with the first being the user's
primary group.
type: object
patternProperties:
'^[a-z_][a-z0-9_-]*[$]?$':
type: object
additionalProperties: false
properties:
groups:
type: array
items: {type: string}
default: {}
dirs:
description: >
This option defines directories to be created during setup. The value
for this option should be a mapping of symbolic identifiers (i.e., not
the dir path) to a mapping containing information about the directory,
such as the path, permissions bits, owner, and group. The path can
contain references to other defined directories in the form
'{dirs[<dir-id>]}', or to config option values in the form
'{config[<opt-name>]}'.
type: object
patternProperties:
'.*':
type: object
additionalProperties: false
properties:
path: {type: string}
perms: {type: integer}
owner: {type: string}
group: {type: string}
default: {}
ports:
description: >
This option defines directories to be created during setup. The value
for this option should be a mapping of symbolic identifiers to a mapping
containing information about the port, such as the port number, and an
identifier indicating for which services the port should be exposed.
type: object
patternProperties:
'.*':
type: object
additionalProperties: false
properties:
port: {type: integer}
exposed_on: {type: string}
default: {}
silent:
description: >
When set to true this layer will not change the status messages of the
charm. States are not affected.
DEPRECATED: This layer now only reports status when deployed as the
'hadoop-client' charm. This 'silent' option has no effect on status
messages in this layer.
type: boolean
default: false