The puppet-postgresql module fails with:
Error: /Stage[main]/Postgresql::Server/Service[postgresql@9.4-main]: Could not evaluate: Could not find init script for 'postgresql@9.4-main'
when run on maps-cleartables.maps-team.eqiad.wmflabs. This indicates that the service type is trying to use the traditional init.d script instead of systemd. This could be fixed by adding provider => systemd to the service definition, but it seems odd that the code works on the current production servers and fails on a labs instance.
Differences / similarities observed:
maps2001 | maps-cleartables | |
facter -p initsystem | systemd | systemd |
facter -p operatingsystem | Debian | Debian |
facter -p operatingsystemmajrelease | 8 | 8 |
puppet --version | 3.7.2 | 3.7.5 |
cat /etc/debian_version | 8.4 | 8.7 |
Documentation indicates that systemd should be the default for operatingsystem == debian and operatingsystemmajrelease == 8