Skip to content

Commit

Permalink
add postfix service
Browse files Browse the repository at this point in the history
  • Loading branch information
davidredborder committed May 17, 2024
1 parent 3ffc137 commit c2df76a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
default["redborder"]["services"]["redborder-ale"] = false
default["redborder"]["services"]["n2klocd"] = false
default["redborder"]["services"]["radiusd"] = false
default["redborder"]["services"]["postfix"] = true

default["redborder"]["systemdservices"]["chef-client"] = ["chef-client"]
default["redborder"]["systemdservices"]["chef-server"] = ["opscode-erchef"]
Expand Down Expand Up @@ -209,6 +210,7 @@
default["redborder"]["systemdservices"]["redborder-ale"] = ["redborder-ale"]
default["redborder"]["systemdservices"]["n2klocd"] = ["n2klocd"]
default["redborder"]["systemdservices"]["radiusd"] = ["radiusd"]
default["redborder"]["systemdservices"]["postfix"] = ["postfix"]

# Tier
default["redborder"]["druid"]["historical"]["tier"] = "default"
Expand Down
1 change: 1 addition & 0 deletions resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@
depends 'rbcgroup'
depends 'rblogstatter'
depends 'rb-arubacentral'
depends 'rb-postfix'
4 changes: 4 additions & 0 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,10 @@
action (node["redborder"]["services"]["redborder-cep"] ? [:add, :register] : [:remove, :deregister])
end

rb_postfix_config "Configure postfix" do
action (node["redborder"]["services"]["postfix"] ? :add : :remove)
end

rbcgroup_config "Configure cgroups" do
action :add
end
Expand Down

0 comments on commit c2df76a

Please sign in to comment.