Skip to content

Commit

Permalink
Add documentation for the params
Browse files Browse the repository at this point in the history
  • Loading branch information
jhooyberghs committed Jun 26, 2017
1 parent d922efd commit 9c91809
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions manifests/daemon.pp
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
# Define: prometheus::daemon
#
# This define managed prometheus daemons that don't have their own class
#
# [*version*]
# The binary release version
#
# [*real_download_url*]
# Complete URL corresponding to the where the release binary archive can be downloaded
#
# [*notify_service*]
# The service to notify when something changes in this define
#
# [*user*]
# User which runs the service
#
# [*install_method*]
# Installation method: url or package
#
# [*download_extension*]
# Extension for the release binary archive
#
# [*os*]
# Operating system (linux is the only one supported)
#
# [*arch*]
# Architecture (amd64 or i386)
#
# [*bin_dir*]
# Directory where binaries are located
#
# [*package_name*]
# The binary package name
#
# [*package_ensure*]
# If package, then use this for package ensure default 'undef'
#
# [*manage_user*]
# Whether to create user or rely on external code for that
#
# [*extra_groups*]
# Extra groups of which the user should be a part
#
# [*manage_group*]
# Whether to create a group for or rely on external code for that
#
# [*service_ensure*]
# State ensured for the service (default 'running')
#
# [*service_enable*]
# Whether to enable the service from puppet (default true)
#
# [*manage_service*]
# Should puppet manage the service? (default true)
#
define prometheus::daemon (
$version,
$real_download_url,
Expand Down

0 comments on commit 9c91809

Please sign in to comment.