make redis-memory-check a template and add to other chief nodes

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: cturra, Assigned: cturra)

Tracking

Details

(Assignee)

Description

5 years ago
this should be running in more than one location and obviously shouldn't be in each chief/admin nodes files directory. lets make this a puppet template and add to other environments that run chief. 

it's currently running on: genericadm and supportadm
(Assignee)

Comment 1

5 years ago
template created and can be found at:

  modules/webapp/templates/admin/data-bin/redis-memory-check.sh.erb


and can be invoked in a manifest with:

  $redis_service_name = 'NAME_OF_REDIS_SERVICE'
  file { "/data/bin/redis-memory-check.sh":
    ensure  => 'present',
    content => template('webapp/admin/data-bin/redis-memory-check.sh.erb'),
    mode    => '0755',
    require => File['/data/bin'];
  }
(Assignee)

Comment 2

5 years ago
some minor tweaks have been made to the template and this has now been rolled out to all admin nodes running chief (that i found).

in addition to the two mentioned in the description, the check was added to: developeradm, inputadm and engagementadm.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.