Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are quite a bit of data which are not associated to a specific service, but are rather used by various modules, and should thus generally allways be present:

KeyDescriptionExampleCreated byData-type

Used by:

profile::networking::rpfilterBefore we used multiple routing-tables on our hosts we had to turn off rpfilter to allow asymmetric routing. Now this should be turned on.trueN/ABooleanAll
profile::networking::management::ipv4::prefixesA list over IPv4 prefixes for networks where management stations are found. Used to configure the firewall for SSH, stats-pages etc.

- '192.0.2.0/26'

N/AList of stringsAll
profile::networking::management::ipv6::prefixesA list over IPv6 prefixes for networks where management stations are found. Used to configure the firewall for SSH, stats-pages etc.- '2001:db8:beef:701::/64'N/AList of stringsAll

Dashboard

The general configuration of the dashboard are based on the following keys:

...

KeyDescriptionExampleCreated byData-typeUsed by:
profile::dns::<shortname>::ipv4The IPv4 address of a specific DNS server.'192.0.2.129'N/AStringrole::bootstrap, role::dashboard, role::dns::master, role::dns::slave
profile::dns::<shortname>::nameThe fqdn of a specific DNS server'ns1.example.com'N/AStringrole::bootstrap, role::dns::master, role::dns::slave

Haproxy

We use haproxy to loadbalance multiple of our services. It needs the following keys present in hiera to work:

KeyDescriptionExampleCreated byData-typeUsed by:
profile::haproxy::management::ipv4The IPv4 address used in front og the loadbalancer used for managemnet services'192.0.2.151' N/AStringrole::puppet::db, role::puppet::server, role::mysql, role::balancer::management
profile::haproxy::management::ipv4::idThe VRRP id used by the IPv4 VRRP instance.11N/AIntegerrole::balancer::management
profile::haproxy::management::ipv4::priorityThe VRRP priority used by the IPv4 VRRP instance.10 N/AIntegerrole::balancer::management
profile::haproxy::management::ipv6The IPv4 address used in front og the loadbalancer used for managemnet services'2001:db8:beef:707::7b1'N/AStringrole::puppet::db, role::puppet::server, role::mysql, role::balancer::management 
profile::haproxy::management::ipv6::idThe VRRP id used by the IPv6 VRRP instance. 12N/AIntege role::balancer::management
profile::haproxy::management::ipv6::priorityThe VRRP priority used by the IPv6 VRRP instance.10N/AIntegerrole::balancer::management

MySQL

Our mysql cluster uses the following hiera-keys:

KeyDescriptionExampleCreated byData-type

Used by

profile::mysqlcluster::serversThis is a list over IPv4 addresses used by servers in the cluster. This list are used when a server starts up, to discover at least one of the machines already in the cluster.

- '192.0.2.201'

N/AStringrole::mysql
profile::mysqlcluster::masterThe fqdn of one of the mysql-servers. This are in theory used by the puppet-galera module to start one server in case all servers are down.'mysql1.example.com'N/AStringrole::mysql
profile::mysqlcluster::root_passwordThis is the password of the mysql root user'OwT$Etc$=|;h(=upip#3'pwgen -s -y 20 -1Stringrole::mysql
profile::mysqlcluster::status_passwordThis is the password of the mysql status user

';^8P"M,Oem6le\T"am!0'

pwgen -s -y 20 -1Stringrole::mysql
profile::mysqlcluster::haproxy_passwordThis is the password of the mysql haproxy user. This user is so that haproxy can create more robust checks than just see if port 3306 is open.'4g36-&jHNFF?J-7yQZHa'pwgen -s -y 20 -1Stringrole::mysql

Redis

KeyDescriptionExampleCreated byData-typeUsed by:
profile::redis::masterName or IP address of initial redis master'redis1.cloud.domain.com'

N/A

String

role::redis

profile::redis::nodetypeDefined on each redis-node. Only valid values are 'master' or 'slave''master'N/AStringrole::redis
profile::redis::ipThe IP redis clients should contact redis on. Typically the haproxy ip

'192.168.100.10'

or

"%{hiera('profile::haproxy::management::ip')}"

or

redis.cloud.domain.com

N/AStringAll