metadata.rb 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. name 'dovecot'
  2. maintainer 'Onddo Labs, Sl.'
  3. maintainer_email 'team@onddo.com'
  4. license 'Apache 2.0'
  5. description 'Installs/Configures dovecot'
  6. long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
  7. version '0.1.0'
  8. supports 'centos', '>= 6.0'
  9. supports 'debian', '>= 7.0'
  10. supports 'ubuntu', '>= 12.04'
  11. attribute 'dovecot/user',
  12. :display_name => 'dovecot user',
  13. :description => 'Dovector system user. Should no be changed',
  14. :type => 'string',
  15. :required => 'optional',
  16. :default => 'dovecot'
  17. attribute 'dovecot/group',
  18. :display_name => 'dovecot group',
  19. :description => 'Dovector system group. Should no be changed',
  20. :type => 'string',
  21. :required => 'optional',
  22. :default => 'dovecot'
  23. attribute 'dovecot/lib_path',
  24. :display_name => 'dovecot library path',
  25. :description => 'Dovector library path. Should no be changed',
  26. :calculated => true,
  27. :type => 'string',
  28. :required => 'optional'
  29. attribute 'dovecot/conf_path',
  30. :display_name => 'dovecot configuration path',
  31. :description => 'Dovector configruration files path. Should no be changed',
  32. :type => 'string',
  33. :required => 'optional',
  34. :default => '/etc/dovecot'
  35. attribute 'dovecot/conf_files_user',
  36. :display_name => 'dovecot configuration files user',
  37. :description => 'System user owner of configuration files',
  38. :type => 'string',
  39. :required => 'optional',
  40. :default => 'root'
  41. attribute 'dovecot/conf_files_group',
  42. :display_name => 'dovecot configuration files group',
  43. :description => 'System group owner of configuration files',
  44. :type => 'string',
  45. :required => 'optional',
  46. :default => 'node["dovecot"]["group"]'
  47. attribute 'dovecot/conf_files_mode',
  48. :display_name => 'dovecot configuration files mode',
  49. :description => 'Configuration files system file mode bits',
  50. :type => 'string',
  51. :required => 'optional',
  52. :default => '00644'
  53. attribute 'dovecot/conf_files/core',
  54. :display_name => 'dovecot core configuration files',
  55. :description => 'Dovecot core configuration files list',
  56. :type => 'array',
  57. :required => 'optional',
  58. :default => [
  59. 'conf.d/10-auth.conf',
  60. 'conf.d/10-director.conf',
  61. 'conf.d/10-logging.conf',
  62. 'conf.d/10-mail.conf',
  63. 'conf.d/10-master.conf',
  64. 'conf.d/10-ssl.conf',
  65. 'conf.d/10-tcpwrapper.conf',
  66. 'conf.d/15-lda.conf',
  67. 'conf.d/15-mailboxes.conf',
  68. 'conf.d/90-acl.conf',
  69. 'conf.d/90-plugin.conf',
  70. 'conf.d/90-quota.conf',
  71. 'conf.d/auth-checkpassword.conf.ext',
  72. 'conf.d/auth-deny.conf.ext',
  73. 'conf.d/auth-master.conf.ext',
  74. 'conf.d/auth-passwdfile.conf.ext',
  75. 'conf.d/auth-sql.conf.ext',
  76. 'conf.d/auth-static.conf.ext',
  77. 'conf.d/auth-system.conf.ext',
  78. 'conf.d/auth-vpopmail.conf.ext',
  79. 'dovecot.conf',
  80. 'dovecot-db.conf.ext',
  81. 'dovecot-dict-sql.conf.ext',
  82. 'dovecot-sql.conf.ext',
  83. ]
  84. attribute 'dovecot/conf_files/imap',
  85. :display_name => 'dovecot imap configuration files',
  86. :description => 'Dovecot IMAP configuration files list',
  87. :type => 'array',
  88. :required => 'optional',
  89. :default => [
  90. 'conf.d/20-imap.conf',
  91. ]
  92. attribute 'dovecot/conf_files/pop3',
  93. :display_name => 'dovecot pop3 configuration files',
  94. :description => 'Dovecot POP3 configuration files list',
  95. :type => 'array',
  96. :required => 'optional',
  97. :default => [
  98. 'conf.d/20-pop3.conf',
  99. ]
  100. attribute 'dovecot/conf_files/lmtp',
  101. :display_name => 'dovecot lmtp configuration files',
  102. :description => 'Dovecot LMTP configuration files list',
  103. :type => 'array',
  104. :required => 'optional',
  105. :default => [
  106. 'conf.d/20-lmtp.conf',
  107. ]
  108. attribute 'dovecot/conf_files/sieve',
  109. :display_name => 'dovecot sieve configuration files',
  110. :description => 'Dovecot Sieve configuration files list',
  111. :type => 'array',
  112. :required => 'optional',
  113. :default => [
  114. 'conf.d/20-managesieve.conf',
  115. 'conf.d/90-sieve.conf',
  116. ]
  117. attribute 'dovecot/conf_files/ldap',
  118. :display_name => 'dovecot ldap configuration files',
  119. :description => 'Dovecot LDAP configuration files list',
  120. :type => 'array',
  121. :required => 'optional',
  122. :default => [
  123. 'dovecot-ldap.conf.ext',
  124. 'conf.d/auth-ldap.conf.ext',
  125. ]