Summary
memcached::instance declares its $limits parameter as Optional[Systemd::ServiceLimits]. The Systemd::ServiceLimits data type has been removed from puppet/systemd (the deprecated systemd::service_limits and its type alias were dropped). Because .fixtures.yml clones puppet/systemd with no version ref, rake spec pulls systemd's default branch, which no longer defines the type. This means every example that instantiates memcached::instance fails to compile.
I found this while trying to do a compatibility check of this module against Puppet Core 8.20. It seems that the change upstream was very recent, so previous runs would not have caught it. I will try to submit a PR with a fix when I get a moment.
Affected version
saz-memcached master / v11.0.0
- Reproduces with any
puppet/systemd checkout after 2026-06-03
Reproduction
$ git clone https://github.com/saz/puppet-memcached && cd puppet-memcached
$ bundle install
$ bundle exec rake spec
Summary
memcached::instancedeclares its$limitsparameter asOptional[Systemd::ServiceLimits]. TheSystemd::ServiceLimitsdata type has been removed frompuppet/systemd(the deprecatedsystemd::service_limitsand its type alias were dropped). Because.fixtures.ymlclonespuppet/systemdwith no version ref,rake specpulls systemd's default branch, which no longer defines the type. This means every example that instantiatesmemcached::instancefails to compile.I found this while trying to do a compatibility check of this module against Puppet Core 8.20. It seems that the change upstream was very recent, so previous runs would not have caught it. I will try to submit a PR with a fix when I get a moment.
Affected version
saz-memcachedmaster/ v11.0.0puppet/systemdcheckout after 2026-06-03Reproduction