1179d38c2SAndrew Geisslerunit_files = [ 2179d38c2SAndrew Geissler 'phosphor-systemd-target-monitor.service', 3c212353dSAndrew Geissler 'phosphor-discover-system-state@.service', 4c212353dSAndrew Geissler 'phosphor-reboot-host@.service', 5c212353dSAndrew Geissler 'phosphor-reset-host-reboot-attempts@.service', 6*5f8e04a6SAndrew Geissler 'phosphor-reset-host-recovery@.service', 7c212353dSAndrew Geissler 'phosphor-reset-host-running@.service', 8c212353dSAndrew Geissler 'phosphor-reset-sensor-states@.service', 9c212353dSAndrew Geissler 'xyz.openbmc_project.State.BMC.service', 10c212353dSAndrew Geissler 'xyz.openbmc_project.State.Chassis.service', 11f304820bSCarol Wang 'xyz.openbmc_project.State.Host.service', 12fe270d35SAndrew Geissler 'xyz.openbmc_project.State.Hypervisor.service', 13d9b527b6SAndrew Geissler 'xyz.openbmc_project.State.ScheduledHostTransition.service', 141e8b164fSAndrew Geissler 'phosphor-clear-one-time@.service', 151e8b164fSAndrew Geissler 'phosphor-set-host-transition-to-off@.service', 161e8b164fSAndrew Geissler 'phosphor-set-host-transition-to-running@.service' 17179d38c2SAndrew Geissler] 18179d38c2SAndrew Geissler 19179d38c2SAndrew Geisslerforeach u : unit_files 20179d38c2SAndrew Geissler configure_file( 21179d38c2SAndrew Geissler copy: true, 22179d38c2SAndrew Geissler input: u, 23179d38c2SAndrew Geissler install: true, 24179d38c2SAndrew Geissler install_dir: systemd_system_unit_dir, 25179d38c2SAndrew Geissler output: u, 26179d38c2SAndrew Geissler ) 27179d38c2SAndrew Geisslerendforeach 28