Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ postfix::params::aliasesseltype: ~
postfix::params::seltype: ~
postfix::params::mailx_package: 'mailx'
postfix::params::master_os_template: "postfix/master.cf.default.erb"
postfix::params::restart_cmd: '/etc/init.d/postfix reload'
postfix::params::restart_cmd: '/usr/bin/systemctl reload postfix'
...
1 change: 1 addition & 0 deletions data/os/Alpine.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
postfix::params::master_os_template: "postfix/master.cf.debian.erb"
postfix::params::restart_cmd: '/etc/init.d/postfix reload'
1 change: 0 additions & 1 deletion data/osfamily/RedHat.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
postfix::params::aliasesseltype: 'etc_aliases_t'
postfix::params::seltype: 'postfix_etc_t'
postfix::params::restart_cmd: '/bin/systemctl reload postfix'
postfix::params::master_os_template: 'postfix/master.cf.redhat.erb'
postfix::mta_bin_path: '/usr/sbin/sendmail.postfix'
...
5 changes: 5 additions & 0 deletions data/osfamily/RedHat/6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---

postfix::params::mailx_package: 's-nail'
postfix::ldap_packages: ['postfix-ldap']
postfix::params::restart_cmd: '/etc/init.d/postfix reload'
10 changes: 5 additions & 5 deletions spec/classes/postfix_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/etc/init.d/postfix reload'
restart: '/usr/bin/systemctl reload postfix'
)
}
end
Expand All @@ -111,7 +111,7 @@
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/bin/systemctl reload postfix'
restart: '/usr/bin/systemctl reload postfix'
)
}
end
Expand All @@ -124,7 +124,7 @@
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/bin/systemctl reload postfix'
restart: '/usr/bin/systemctl reload postfix'
)
}
end
Expand All @@ -151,7 +151,7 @@
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/bin/systemctl reload postfix'
restart: '/usr/bin/systemctl reload postfix'
)
}
end
Expand Down Expand Up @@ -234,7 +234,7 @@
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/etc/init.d/postfix reload'
restart: '/usr/bin/systemctl reload postfix'
)
}

Expand Down
Loading