Puppet Class: profile::maps::cassandra

Defined in:
modules/profile/manifests/maps/cassandra.pp

Overview

Parameters:

  • cassandra_kartotherian_pass (Any) (defaults to: hiera('profile::maps::cassandra::kartotherian_pass'))
  • cassandra_tilerator_pass (Any) (defaults to: hiera('profile::maps::cassandra::tilerator_pass'))
  • cassandra_tileratorui_pass (Any) (defaults to: hiera('profile::maps::cassandra::tileratorui_pass'))


1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/profile/manifests/maps/cassandra.pp', line 1

class profile::maps::cassandra(
    $cassandra_kartotherian_pass = hiera('profile::maps::cassandra::kartotherian_pass'),
    $cassandra_tilerator_pass = hiera('profile::maps::cassandra::tilerator_pass'),
    $cassandra_tileratorui_pass = hiera('profile::maps::cassandra::tileratorui_pass'),
) {
    require profile::cassandra::single_instance

    file { '/usr/local/bin/maps-grants.cql':
        owner   => 'root',
        group   => 'root',
        mode    => '0400',
        content => template('profile/maps/grants.cql.erb'),
    }
}