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

Add extra_args parameter for passing extra arguments to mon-put-instance-data.pl #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cliffano
Copy link

@cliffano cliffano commented Mar 2, 2021

We have a use case where we need to pass additional args to mon-put-instance-data.pl script, hence we're introducing a new extra_args parameter as part of this PR.

Example usage:

  class { '::cloudwatch':
      enable_mem_util         => true,
      enable_mem_used         => true,
      enable_mem_avail        => true,
      enable_disk_space_util  => true,
      enable_disk_space_used  => true,
      enable_disk_space_avail => true,
      enable_swap_util        => false,
      enable_swap_used        => false,
      auto_scaling            => $autoscaling,
      cron_min                => '*',
      disk_path               => $disk_path ,
      zip_url                 => 'https://somesite.com/our-custom-aws-scripts-mon-1.3.0.zip',
      extra_args              => '--proxy=http://some-proxy:3128'
    }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant