Skip to content
Snippets Groups Projects
Commit 82d1f863 authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Templating dotenv

parent 294a0b55
No related branches found
No related tags found
1 merge request!2Merge till Production
......@@ -115,6 +115,14 @@ class skadereg {
user => 'andal699'
}
file { '/var/www/skadereg/.env':
ensure => file,
owner => 'andal699',
group => 'apache',
mode => '0660',
content => template("${module_name}/dotenv.erb"),
}
class { '::mysql::server':
root_password => 'ControlAvHandboll',
databases => {
......
......@@ -7,3 +7,9 @@ policy skadereg chain skadereg is
end policy
append rule INPUT -j skadereg
# <%# Put installed file in view mode when opened with Emacs: -%>
# <%= "Nota bene: Puppet managed file, all local changes will be reverted." %>
# <%= "Local" %> <%= "variables:" %>
# mode: view
# <%= "End:" %>
APP_KEY=1eridaub9oepqakdd9n9ckmk2m33mkv2
DB_PASSWORD=ControlAvHandboll
# <%# Put installed file in view mode when opened with Emacs: -%>
# <%= "Nota bene: Puppet managed file, all local changes will be reverted." %>
# <%= "Local" %> <%= "variables:" %>
# mode: view
# <%= "End:" %>
Example content, rev2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment