Seems like we need quite a few if-else. Please split the code into separate recipe, so that in the default recipe we can do:

```ruby
case node[:platform_family]
when 'debian'
    include_recipe 'amanda::client_debian'
when 'redhat'
    include_recipe 'amanda::client_redhat'
else
    raise NotImplementedError
end
```