```ruby
# Update package index (Ubuntu or Debian)
include_recipe "apt"

package "sysbench" do
  action :install
end
```

Add platform dependent package update to sysbench cookbook
user
```ruby
case node['platform_family']
  when "debian"
    # Update package index
    include_recipe "apt"
end

package "sysbench" do
  action :install
end
```
assistant