Puppet Class: profile::maps::cassandra

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

Overview

Parameters:

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


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

class profile::maps::cassandra(
    String $cassandra_kartotherian_pass = lookup('profile::maps::cassandra::kartotherian_pass'),
    String $cassandra_tilerator_pass    = lookup('profile::maps::cassandra::tilerator_pass'),
    String $cassandra_tileratorui_pass  = lookup('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'),
    }
}