[icinga-checkins] icinga.org: chef-icinga2/master: icinga2_classic_ui_htpasswd path for debian

git at icinga.org git at icinga.org
Tue Jul 19 18:05:05 CEST 2016


Module: chef-icinga2
Branch: master
Commit: 53f071538e0709aeaf9b0d6d38f54a2dcfba3218
URL:    https://git.icinga.org/?p=chef-icinga2.git;a=commit;h=53f071538e0709aeaf9b0d6d38f54a2dcfba3218

Author: Gavin Reynolds <g.reynolds at src.gla.ac.uk>
Date:   Thu Oct 22 14:49:53 2015 +0100

icinga2_classic_ui_htpasswd path for debian

---

 recipes/server_classic_ui.rb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes/server_classic_ui.rb b/recipes/server_classic_ui.rb
index 3b4e032..a97a3db 100644
--- a/recipes/server_classic_ui.rb
+++ b/recipes/server_classic_ui.rb
@@ -63,7 +63,7 @@ end
 template 'icinga2_classic_ui_htpasswd' do
   path value_for_platform(
     %w(centos redhat fedora amazon) => { 'default' => ::File.join(node['icinga2']['classic_ui']['conf_dir'], 'passwd') },
-    'ubuntu' => { 'default' => ::File.join(node['icinga2']['classic_ui']['conf_dir'], 'htpasswd.users') }
+    %w(debian ubuntu) => { 'default' => ::File.join(node['icinga2']['classic_ui']['conf_dir'], 'htpasswd.users') }
   )
   source 'icinga2.passwd.erb'
   owner 'root'



More information about the icinga-checkins mailing list