<%- | Boolean $enabled, Boolean $usb_auto, String $devices, String $options | -%> # Default settings for the gpsd init script and the hotplug wrapper. # Start the gpsd daemon automatically at boot time <% if $enabled { -%> START_DAEMON="true" <% } -%> <% else { -%> START_DAEMON="false" <% } -%> # Use USB hotplugging to add new USB devices automatically to the daemon <% if $usb_auto { -%> USB_AUTO="true" <% } -%> <% else { -%> USB_AUTO="false" <% } -%> # Devices gpsd should collect to at boot time. # They need to be read/writeable, either by user gpsd or the group dialout. DEVICES="<%= $devices %>" # Other options you want to pass to gpsd GPSD_OPTIONS="<%= $options %>"