diff --git a/manifests/init.pp b/manifests/init.pp
index d004ac214f3212afd7bec9fa85f3cbb4d8e483e6..64ff79bee8221e12a1964d7b3adf2235853ce62e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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        => {
diff --git a/templates/55-permit-skadereg.rules.erb b/templates/55-permit-skadereg.rules.erb
index 8e2bcf1c71e48f866c2b23c7bdcbb911a9defe25..52d3a7c2351b5621838bdc8246066620e75e0729 100644
--- a/templates/55-permit-skadereg.rules.erb
+++ b/templates/55-permit-skadereg.rules.erb
@@ -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:" %>
diff --git a/templates/dotenv.erb b/templates/dotenv.erb
new file mode 100644
index 0000000000000000000000000000000000000000..599813e3776f7220810ad2d228b364c64395c87b
--- /dev/null
+++ b/templates/dotenv.erb
@@ -0,0 +1,8 @@
+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:" %>
diff --git a/templates/example.erb b/templates/example.erb
deleted file mode 100644
index 418dbb9e54b78a2534a02621106c2344aa8f79aa..0000000000000000000000000000000000000000
--- a/templates/example.erb
+++ /dev/null
@@ -1 +0,0 @@
-Example content, rev2