diff --git a/templates/agent/systemd.puppet-run.service.erb b/templates/agent/systemd.puppet-run.service.erb index 20339ca..4d44864 100644 --- a/templates/agent/systemd.puppet-run.service.erb +++ b/templates/agent/systemd.puppet-run.service.erb @@ -1,12 +1,13 @@ # # Managed by Puppet # [Unit] Description=Systemd Timer Service for Puppet Agent +After=network.target [Service] Type=oneshot ExecStart=<%= @command %> SuccessExitStatus=2 User=root Group=root