Skip to content

Commit

Permalink
Merge pull request #146 from ledgr/packages_names_in_attributes
Browse files Browse the repository at this point in the history
Add `packages` attribute so different postfix packages can be installed
  • Loading branch information
tas50 committed May 23, 2018
2 parents d1d826e + 1374181 commit c547cd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions attributes/default.rb
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion recipes/_common.rb
Expand Up @@ -19,7 +19,7 @@

include_recipe 'postfix::_attributes'

package 'postfix'
package node['postfix']['packages']

package 'procmail' if node['postfix']['use_procmail']

Expand Down

0 comments on commit c547cd9

Please sign in to comment.