Merge pull request #146 from ledgr/packages_names_in_attributes

Add `packages` attribute so different postfix packages can be installed
This commit is contained in:
Tim Smith 2018-05-23 13:29:33 -05:00 committed by GitHub
commit c547cd9b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
default['postfix']['packages'] = %w[postfix]
# Generic cookbook attributes
default['postfix']['mail_type'] = 'client'
default['postfix']['relayhost_role'] = 'relayhost'

View File

@ -19,7 +19,7 @@
include_recipe 'postfix::_attributes'
package 'postfix'
package node['postfix']['packages']
package 'procmail' if node['postfix']['use_procmail']