While provisioning restbase hardware in codfw (T209615) I came across the fact that puppet attempts to start manually masked systemd units (i.e. systemctl mask <unit> on the system, not ensure => masked in puppet). AFAIK this behavior as seen on restbase hardware is new, in the sense that previously (on jessie? the new hardware is stretch) puppet would honor masked status and don't start such units. (the unit cassandra-a eventually fails but for unrelated reasons)
root@restbase2015:~# systemctl mask cassandra-a Created symlink /etc/systemd/system/cassandra-a.service → /dev/null. root@restbase2015:~# puppet agent --test Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for restbase2015.codfw.wmnet Notice: /Stage[main]/Base::Environment/Tidy[/var/tmp/core]: Tidying 0 files Info: Applying configuration version '1543853078' Notice: /Stage[main]/Cassandra/Cassandra::Instance[a]/Systemd::Service[cassandra-a]/Service[cassandra-a]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Cassandra/Cassandra::Instance[a]/Systemd::Service[cassandra-a]/Service[cassandra-a]: Unscheduling refresh on Service[cassandra-a] Notice: /Stage[main]/Cassandra/Cassandra::Instance[b]/Systemd::Service[cassandra-b]/Service[cassandra-b]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Cassandra/Cassandra::Instance[b]/Systemd::Service[cassandra-b]/Service[cassandra-b]: Unscheduling refresh on Service[cassandra-b] Notice: /Stage[main]/Cassandra/Cassandra::Instance[c]/Systemd::Service[cassandra-c]/Service[cassandra-c]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Cassandra/Cassandra::Instance[c]/Systemd::Service[cassandra-c]/Service[cassandra-c]: Unscheduling refresh on Service[cassandra-c] Notice: Applied catalog in 13.10 seconds root@restbase2015:~# systemctl status cassandra-a ● cassandra-a.service - distributed storage system for structured data Loaded: loaded (/lib/systemd/system/cassandra-a.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2018-12-03 16:05:13 UTC; 31s ago Main PID: 80047 (code=exited, status=3) Dec 03 16:04:56 restbase2015 systemd[1]: Started distributed storage system for structured data. Dec 03 16:05:13 restbase2015 systemd[1]: cassandra-a.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED Dec 03 16:05:13 restbase2015 systemd[1]: cassandra-a.service: Unit entered failed state. Dec 03 16:05:13 restbase2015 systemd[1]: cassandra-a.service: Failed with result 'exit-code'. root@restbase2015:~#