Chef cookbook to create a swap file of the recommended size considering the system memory.