Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 2.07 KB

grafana_config.md

File metadata and controls

41 lines (31 loc) · 2.07 KB

grafana_config

back to resource list

Configures the core config section of the configuration http://docs.grafana.org/installation/configuration/ This must be called before any other config resources

Introduced: v4.0.0

Actions

:install

Properties

Name Type Default Description Allowed Values
instance_name String Name Property, name of the instance
env_directory String /etc/default Environment settings directory Valid directory
force_migration true, false nil Used to roll back to legacy alerting
owner String grafana User to run as
group String grafana Group to run as
restart_on_upgrade true, false false Restart the server on package upgrade
app_mode String production Application Mode production development
conf_directory String /etc/grafana The directory where the Grafana configuration resides Valid directory
cookbook String grafana Which cookbook to look in for the template
extra_options Hash nil Extra options to render grafana.ini

Examples

grafana_config 'grafana'
grafana_config 'grafana' do
  owner 'grafana'
  group 'grafana'
  restart_on_upgrade true
end