File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393 $dehydrated_path = join(flatten([$_puppetlabs_path, $_path]), ' :' )
9494
9595 $timer_content = @(" EOF" )
96- [Unit]
97- Description=Dehydrated Host Script Timer
96+ [Unit]
97+ Description=Dehydrated Host Script Timer
9898
99- [Timer]
100- Unit=dehydrated_host_script.service
101- OnCalendar=*-*-* *:03,18,33,48:00
102- Persistent=true
99+ [Timer]
100+ Unit=dehydrated_host_script.service
101+ OnCalendar=*-*-* *:03,18,33,48:00
102+ Persistent=true
103103
104- [Install]
105- WantedBy=timers.target
106- | EOF
104+ [Install]
105+ WantedBy=timers.target
106+ | EOF
107107
108108 $service_content = @(" EOF" )
109- [Unit]
110- Description=Dehydrated Host Script Service
111- After=network.target
112-
113- [Service]
114- Type=oneshot
115- User=${dehydrated::dehydrated_user}
116- Group=${dehydrated::dehydrated_group}
117- ExecStart=${dehydrated_host_script} ${dehydrated_host_script_config}
118- Environment=" PATH=${dehydrated_path} "
119- | EOF
109+ [Unit]
110+ Description=Dehydrated Host Script Service
111+ After=network.target
112+
113+ [Service]
114+ Type=oneshot
115+ User=${dehydrated::dehydrated_user}
116+ Group=${dehydrated::dehydrated_group}
117+ ExecStart=${dehydrated_host_script} ${dehydrated_host_script_config}
118+ Environment=" PATH=${dehydrated_path} "
119+ | EOF
120120
121121 systemd::timer { 'dehydrated_host_script.timer' :
122122 timer_content => $timer_content ,
You can’t perform that action at this time.
0 commit comments