Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.
This repository was archived by the owner on Mar 8, 2023. It is now read-only.

Invalid class parameters? #259

@squarebracket

Description

@squarebracket

These seem to be new parameters in manifests/init.pp:

  $gr_base_dir                            = '/opt/graphite',
  $gr_storage_dir                         = "${gr_base_dir}/storage",
  $gr_local_data_dir                      = "${gr_storage_dir}/whisper",
  $gr_rrd_dir                             = "${gr_storage_dir}/rrd",
  $gr_whitelists_dir                      = "${gr_storage_dir}/lists",
  $gr_carbon_conf_dir                     = "${gr_base_dir}/conf",
  $gr_carbon_log_dir                      = "${gr_storage_dir}/log/carbon-cache",
  $gr_graphiteweb_log_dir                 = "${gr_storage_dir}/log",
  $gr_graphiteweb_conf_dir                = "${gr_base_dir}/conf",
  $gr_graphiteweb_webapp_dir              = "${gr_base_dir}/webapp",
  $gr_graphiteweb_storage_dir             = '/var/lib/graphite-web',
  $gr_graphiteweb_install_lib_dir         = "${gr_graphiteweb_webapp_dir}/graphite",

I'm using puppet 3.8, and it doesn't work because it won't interpolate parameters within the same class (i.e. all the parameters that use ${gr_*} don't interpolate that variable).

Is this something that works in Puppet 4?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions