puppet-nodepool/templates/secure.conf.erb
Mateusz Matuszkowiak 780df18752 Added nodepool::mysql class
- Created nodepool::mysql class, which includes mysql stuff from
  init.pp. This allows to host database on separated host than
  the one running nodepool.
- Discarded creation of 'max_connections.cnf' file. Instead,  use
  'max_connections' from '::mysql::server' config_hash/override_options.

Change-Id: Ic745875b69563ed3834e99533227ca3d1150156b
2016-05-17 23:22:42 +02:00

13 lines
384 B
Plaintext

[database]
dburi=mysql+pymysql://<%= @mysql_user_name %>:<%= @mysql_password %>@<%= @mysql_host %>/<%= @mysql_db_name %>
<% @jenkins_masters.each do |master| -%>
[jenkins "<%= master['name'] -%>"]
user=<%= master['user'] %>
apikey=<%= master['apikey'] %>
<% if master.has_key?('credentials') -%>
credentials=<%= master['credentials'] %>
<% end -%>
url=<%= master['url'] %>
<% end %>