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:
commit
c547cd9b9e
@ -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'
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
include_recipe 'postfix::_attributes'
|
||||
|
||||
package 'postfix'
|
||||
package node['postfix']['packages']
|
||||
|
||||
package 'procmail' if node['postfix']['use_procmail']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user