Add packages
attribute so different postfix packages can be installed
Signed-off-by: Edgaras Lukoševičius <edgaras.lukosevicius@gmail.com>
This commit is contained in:
parent
07a56800da
commit
13741814f1
@ -14,6 +14,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
default['postfix']['packages'] = %w[postfix]
|
||||||
|
|
||||||
# Generic cookbook attributes
|
# Generic cookbook attributes
|
||||||
default['postfix']['mail_type'] = 'client'
|
default['postfix']['mail_type'] = 'client'
|
||||||
default['postfix']['relayhost_role'] = 'relayhost'
|
default['postfix']['relayhost_role'] = 'relayhost'
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
include_recipe 'postfix::_attributes'
|
include_recipe 'postfix::_attributes'
|
||||||
|
|
||||||
package 'postfix'
|
package node['postfix']['packages']
|
||||||
|
|
||||||
package 'procmail' if node['postfix']['use_procmail']
|
package 'procmail' if node['postfix']['use_procmail']
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user