duplications. Maybe use simple factory method?
```
DEFAULT_PATH = {  "status" => :selected, "reboot_needed" => false, "description" => "...", "arch" => "noarch" }
def patch(args = {})
  $patch_id ||= 0
  result = DEFAULT_PATH.merge(args)
  result["name"] = "patch_" + $patch_id
  $patch_id += 1
end

# and usage
PATCHES = Array.new(2) { patch } + Array.new(2) { patch("reboot_needed" => true) }
PATCHES_WITHOUT_REBOOTING = Array.new(4) {patch }