Xabier de Zuazo 11 лет назад
Родитель
Сommit
70cd28328e
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      attributes/default.rb

+ 8 - 0
attributes/default.rb

@@ -2,3 +2,11 @@
 default['dovecot']['user'] = 'dovecot'
 default['dovecot']['group'] = node['dovecot']['user']
 
+case node['platform']
+  when 'redhat','centos','scientific','fedora','suse','amazon' then
+    default['dovecot']['lib_path'] = '/usr/libexec/dovecot'
+  # when 'debian', 'ubuntu' then
+  else
+    default['dovecot']['lib_path'] = '/usr/lib/dovecot'
+end
+