[Unit]
Description=Webhook Service for r10k Deployment
After=network.target

[Service]
ExecStart=/usr/local/bin/webhook -hooks <%= @pt_r10k_hook_config_file %> -port 8088
Restart=always
User=puppet
Group=puppet
WorkingDirectory=/etc/puppetlabs/code
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target
