wmdeit-cf-wmdelib/redis.cf

23 lines
304 B
CFEngine3
Raw Normal View History

2023-11-02 21:15:59 +00:00
#
#
#
bundle agent redis
{
vars:
"pkgs" slist => {
"redis"
};
"service_name" string => "redis";
}
bundle agent install_redis
{
methods:
"any" usebundle => wmde_install_packages(@(redis.pkgs),"redis");
"any" usebundle => wmde_service("$(redis.service_name)","redis_kept","redis_repaired");
}