Index: src/puppetcode/environments/test/hieradata/common.yaml
===================================================================
--- src/puppetcode/environments/test/hieradata/common.yaml	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/hieradata/common.yaml	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -22,4 +22,17 @@
       src: true
       deb: true
+apt::sources:
+  'gnuboat-raspbian':
+    comment: 'GNUBoat repository'
+    location: 'http://ftp.engsas.de/unstable/gnuboat-raspbian/'
+    release: 'jessie'
+    repos: 'main'
+    pin: '200'
+    key:
+      id: 'A365301E098FC834A7DA74C5210358AB8EC7F5EB'
+      server: 'pgp.mit.edu'
+    include:
+      src: true
+      deb: true
 gnuboat_lighttpd::service::status: 'running'
 gnuboat_lighttpd::service::enabled: true
@@ -33,4 +46,5 @@
 gnuboat_gpsd::service::enabled: true
 gnuboat_gpsd::service::devices: '/dev/ttyACM0'
+gnuboat_gpsd::service::network_access: true
 gnuboat_gnuboat::service::status: 'running'
 gnuboat_gnuboat::service::enabled: true
@@ -39,5 +53,6 @@
 gnuboat_hostapd::config::interface: 'wlan0'
 gnuboat_hostapd::config::country_code: 'de'
-gnuboat_canboat::service::actisense_primary: '/dev/ttyUSB0'
+gnuboat_canboat::service::can_interface: 'can0'
+gnuboat_canboat::service::actisense_primary: '/dev/actisense_ngt1_serial'
+gnuboat_canboat::service::actisense_serial: 'Actisense_NGT-1_2C88A'
 gnuboat_canboat::service::monitor: true
-gnuboat_canboat::service::actisense_serial: 'Actisense_NGT-1_2C88A'
Index: src/puppetcode/environments/test/modules/gnuboat_canboat/manifests/service.pp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_canboat/manifests/service.pp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_canboat/manifests/service.pp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,4 +1,5 @@
 class gnuboat_canboat::service
 (
+	String $can_interface = "",
 	String $actisense_primary = "",
 	String $actisense_serial = "",
@@ -31,4 +32,5 @@
 		content => epp('gnuboat_canboat/n2kd.epp',
 		{
+			'can_interface' => $can_interface,
 			'actisense_primary' => $actisense_primary,
 			'monitor' => $monitor,
Index: src/puppetcode/environments/test/modules/gnuboat_canboat/templates/actisense-udev.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_canboat/templates/actisense-udev.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_canboat/templates/actisense-udev.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,1 +1,4 @@
+<%- | 	String $actisense_serial,
+	String $actisense_primary
+| -%>
 SUBSYSTEM=="tty", ACTION=="add", ENV{ID_SERIAL}=="<%= $actisense_serial %>", NAME="<%= $actisense_primary %>"
Index: src/puppetcode/environments/test/modules/gnuboat_canboat/templates/n2kd.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_canboat/templates/n2kd.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_canboat/templates/n2kd.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,2 +1,9 @@
+<%- | 	String $can_interface,
+	String $actisense_primary,
+	Boolean $monitor
+| -%>
+<% if $can_interface != "" { -%>
+CAN_INTERFACE=<%= $can_interface %>
+<% } -%>
 ACTISENSE_PRIMARY=<%= $actisense_primary %>
 MONITOR=<%= $monitor %>
Index: src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,2 +1,6 @@
+<%- |	String $mount_point,
+	String $display_size,
+	String $options
+| -%>
 # Options to pass to epd_fuse
 #EPD_MOUNTPOINT=<%= $mount_point %>
Index: src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.service.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.service.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.service.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,2 +1,8 @@
+<%- |	String $mount_point,
+	String $display_size,
+	String $options,
+	String $exec_start_post,
+	String $exec_stop_pre
+| -%>
 [Unit]
 Description=A Fuse driver for the Repaper.org EPD
@@ -10,6 +16,9 @@
 ExecStart=
 ExecStart=/usr/sbin/epd_fuse --panel=<%= $display_size %> <%= $options %> <%= $mount_point %>
+<% if $exec_start_post != "" { -%>
+ExecStartPost=-<%= $exec_start_post %>
+<% } -%>
 ExecStop=
-<% if $exec_stop_pre { -%>
+<% if $exec_stop_pre != "" { -%>
 ExecStop=-<%= $exec_stop_pre %>
 <% } -%>
Index: src/puppetcode/environments/test/modules/gnuboat_gnuboat/templates/lighttpd.conf.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_gnuboat/templates/lighttpd.conf.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_gnuboat/templates/lighttpd.conf.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,2 +1,3 @@
+<%- |	String $document_root | -%>
 server.modules = (
 	"mod_access",
Index: src/puppetcode/environments/test/modules/gnuboat_gpsd/manifests/service.pp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_gpsd/manifests/service.pp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_gpsd/manifests/service.pp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -5,4 +5,5 @@
 	Boolean $usb_auto = true,
 	String $devices = '/dev/ttyAMA0',
+	Boolean $network_access = false,
 )
 inherits gnuboat_gpsd
@@ -13,4 +14,32 @@
 		subscribe => Package['gpsd'],
 	}
+
+	if(!$network_access)
+	{
+		$options = ''
+	}
+	else
+	{
+		$options = '-G'
+		$listen_stream = '0.0.0.0:2947'
+		file{'/etc/systemd/system/gpsd.socket':
+        	        ensure => present,
+	                owner => 'root',  
+        	        group => 'root',
+                	mode => '0600', 
+	                notify => [Exec['systemctl-daemon-reload'], Service['gpsd']],
+        	        content => epp('gnuboat_gpsd/gpsd.socket.epp',
+                	{
+	                        'listen_stream' => $listen_stream,
+        	        }),
+	        }
+
+		# Hack as puppet does not call systemctl daemon-reload, if needed until now (2017-04-28)
+		exec{'systemctl-daemon-reload':
+			command => 'systemctl daemon-reload',
+			path => '/bin:/usr/bin',
+		}
+	}
+
 
 	file{'/etc/default/gpsd':
@@ -25,5 +54,7 @@
 			'usb_auto' => $usb_auto,
 			'devices' => $devices,
+			'options' => $options,
 		}),
 	}
+
 }
Index: src/puppetcode/environments/test/modules/gnuboat_gpsd/templates/gpsd.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_gpsd/templates/gpsd.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_gpsd/templates/gpsd.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,2 +1,7 @@
+<%- | 	Boolean $enabled,
+	Boolean $usb_auto,
+	String $devices,
+	String $options
+| -%>
 # Default settings for the gpsd init script and the hotplug wrapper.
 
@@ -22,3 +27,3 @@
 
 # Other options you want to pass to gpsd
-GPSD_OPTIONS=""
+GPSD_OPTIONS="<%= $options %>"
Index: src/puppetcode/environments/test/modules/gnuboat_gpsd/templates/gpsd.socket.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_gpsd/templates/gpsd.socket.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
+++ src/puppetcode/environments/test/modules/gnuboat_gpsd/templates/gpsd.socket.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -0,0 +1,11 @@
+<%- | String $listen_stream | -%>
+[Unit]
+Description=GPS (Global Positioning System) Daemon Sockets
+
+[Socket]
+ListenStream=/var/run/gpsd.sock
+ListenStream=<%= $listen_stream %>
+SocketMode=0600
+
+[Install]
+WantedBy=sockets.target
Index: src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/default.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/default.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ 	(revision )
@@ -1,20 +1,0 @@
-# Defaults for hostapd initscript
-#
-# See /usr/share/doc/hostapd/README.Debian for information about alternative
-# methods of managing hostapd.
-#
-# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
-# file and hostapd will be started during system boot. An example configuration
-# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
-#
-DAEMON_CONF="/etc/hostapd/hostapd.conf"
-
-# Additional daemon options to be appended to hostapd command:-
-# 	-d   show more debug messages (-dd for even more)
-# 	-K   include key data in debug messages
-# 	-t   include timestamps in some debug messages
-#
-# Note that -B (daemon mode) and -P (pidfile) options are automatically
-# configured by the init.d script and must not be added to DAEMON_OPTS.
-#
-#DAEMON_OPTS=""
Index: src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/dnsmasq.conf.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/dnsmasq.conf.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/dnsmasq.conf.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,2 +1,5 @@
+<%- |	String $hostip,
+	String $dhcp_range
+| -%>
 listen-address=127.0.0.1,<%= $hostip %>
 # redirect all dns names to localhost
Index: src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.conf.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.conf.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.conf.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,2 +1,17 @@
+<%- |	String $interface,
+	String $hw_mode,
+	Integer $channel,
+	Boolean $ieee80211d,
+	String $country_code,
+	Boolean $ieee80211n,
+	Boolean $ieee80211ac,
+	Boolean $wmm_enabled,
+	String $ssid,
+	Enum['1', '2', '3'] $auth_algs,
+	Integer $wpa,
+	String $wpa_key_mgmt,
+	String $rsn_pairwise,
+	String $wpa_passphrase
+| -%>
 interface=<%= $interface %>
 hw_mode=<%= $hw_mode %>
Index: src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.interface.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.interface.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.interface.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,2 +1,6 @@
+<%- | 	String $interface,
+	String $hostip,
+	String $netmask
+| -%>
 auto <%= $interface %>
 iface <%= $interface %> inet static
Index: src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hosts.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hosts.epp	(revision 08bb0379f7654a3d40546528af7cf287a6be879c)
+++ src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hosts.epp	(revision 22f7269c4158c73c67f9d53051a5e9043b9aa641)
@@ -1,2 +1,6 @@
+<%- |	String $hostname,
+	String $hostip,
+	String $domain
+| -%>
 127.0.0.1	localhost
 127.0.0.1	<%= $hostname %>
