Added initial support for MySQL and PostgreSQL database for storeconfigs
This commit is contained in:
parent
6f5f738833
commit
5d4ce37211
2 changed files with 44 additions and 2 deletions
|
@ -22,7 +22,16 @@
|
|||
<% if puppet_storeconfigs != 'none' -%>
|
||||
# Use storeconfigs
|
||||
storeconfigs = true
|
||||
<% if puppet_storeconfigs == 'thin' %> thin_storeconfigs = true<% end %>
|
||||
dbadapter = sqlite3
|
||||
<% if puppet_storeconfigs == 'thin' -%>
|
||||
thin_storeconfigs = true
|
||||
<% end -%>
|
||||
dbadapter = <%= puppet_dbadapter %>
|
||||
<% if puppet_dbadapter == 'sqlite3' -%>
|
||||
dblocation = /srv/puppet/storeconfigs/storeconfigs.db
|
||||
<% else -%>
|
||||
dbserver = <%= puppet_dbserver %>
|
||||
dbname = <%= puppet_dbname %>
|
||||
dbuser = <%= puppet_dbuser %>
|
||||
dbpassword = <%= puppet_dbpassword %>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue