Changes in / [d82bcf6:06c0abb]
- Location:
- src/puppetcode/environments/test
- Files:
-
- 1 added
- 1 deleted
- 13 edited
-
hieradata/common.yaml (modified) (3 diffs)
-
modules/gnuboat_canboat/manifests/service.pp (modified) (2 diffs)
-
modules/gnuboat_canboat/templates/actisense-udev.epp (modified) (1 diff)
-
modules/gnuboat_canboat/templates/n2kd.epp (modified) (1 diff)
-
modules/gnuboat_epd/templates/epd-fuse.epp (modified) (1 diff)
-
modules/gnuboat_epd/templates/epd-fuse.service.epp (modified) (2 diffs)
-
modules/gnuboat_gnuboat/templates/lighttpd.conf.epp (modified) (1 diff)
-
modules/gnuboat_gpsd/manifests/service.pp (modified) (3 diffs)
-
modules/gnuboat_gpsd/templates/gpsd.epp (modified) (2 diffs)
-
modules/gnuboat_gpsd/templates/gpsd.socket.epp (deleted)
-
modules/gnuboat_hostapd/templates/default.epp (added)
-
modules/gnuboat_hostapd/templates/dnsmasq.conf.epp (modified) (1 diff)
-
modules/gnuboat_hostapd/templates/hostapd.conf.epp (modified) (1 diff)
-
modules/gnuboat_hostapd/templates/hostapd.interface.epp (modified) (1 diff)
-
modules/gnuboat_hostapd/templates/hosts.epp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/test/hieradata/common.yaml
rd82bcf6 r06c0abb 22 22 src: true 23 23 deb: true 24 apt::sources:25 'gnuboat-raspbian':26 comment: 'GNUBoat repository'27 location: 'http://ftp.engsas.de/unstable/gnuboat-raspbian/'28 release: 'jessie'29 repos: 'main'30 pin: '200'31 key:32 id: 'A365301E098FC834A7DA74C5210358AB8EC7F5EB'33 server: 'pgp.mit.edu'34 include:35 src: true36 deb: true37 24 gnuboat_lighttpd::service::status: 'running' 38 25 gnuboat_lighttpd::service::enabled: true … … 46 33 gnuboat_gpsd::service::enabled: true 47 34 gnuboat_gpsd::service::devices: '/dev/ttyACM0' 48 gnuboat_gpsd::service::network_access: true49 35 gnuboat_gnuboat::service::status: 'running' 50 36 gnuboat_gnuboat::service::enabled: true … … 53 39 gnuboat_hostapd::config::interface: 'wlan0' 54 40 gnuboat_hostapd::config::country_code: 'de' 55 gnuboat_canboat::service:: can_interface: 'can0'56 gnuboat_canboat::service:: actisense_primary: '/dev/actisense_ngt1_serial'41 gnuboat_canboat::service::actisense_primary: '/dev/ttyUSB0' 42 gnuboat_canboat::service::monitor: true 57 43 gnuboat_canboat::service::actisense_serial: 'Actisense_NGT-1_2C88A' 58 gnuboat_canboat::service::monitor: true -
src/puppetcode/environments/test/modules/gnuboat_canboat/manifests/service.pp
rd82bcf6 r06c0abb 1 1 class gnuboat_canboat::service 2 2 ( 3 String $can_interface = "",4 3 String $actisense_primary = "", 5 4 String $actisense_serial = "", … … 32 31 content => epp('gnuboat_canboat/n2kd.epp', 33 32 { 34 'can_interface' => $can_interface,35 33 'actisense_primary' => $actisense_primary, 36 34 'monitor' => $monitor, -
src/puppetcode/environments/test/modules/gnuboat_canboat/templates/actisense-udev.epp
rd82bcf6 r06c0abb 1 <%- | String $actisense_serial,2 String $actisense_primary3 | -%>4 1 SUBSYSTEM=="tty", ACTION=="add", ENV{ID_SERIAL}=="<%= $actisense_serial %>", NAME="<%= $actisense_primary %>" -
src/puppetcode/environments/test/modules/gnuboat_canboat/templates/n2kd.epp
rd82bcf6 r06c0abb 1 <%- | String $can_interface,2 String $actisense_primary,3 Boolean $monitor4 | -%>5 <% if $can_interface != "" { -%>6 CAN_INTERFACE=<%= $can_interface %>7 <% } -%>8 1 ACTISENSE_PRIMARY=<%= $actisense_primary %> 9 2 MONITOR=<%= $monitor %> -
src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp
rd82bcf6 r06c0abb 1 <%- | String $mount_point,2 String $display_size,3 String $options4 | -%>5 1 # Options to pass to epd_fuse 6 2 #EPD_MOUNTPOINT=<%= $mount_point %> -
src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.service.epp
rd82bcf6 r06c0abb 1 <%- | String $mount_point,2 String $display_size,3 String $options,4 String $exec_start_post,5 String $exec_stop_pre6 | -%>7 1 [Unit] 8 2 Description=A Fuse driver for the Repaper.org EPD … … 16 10 ExecStart= 17 11 ExecStart=/usr/sbin/epd_fuse --panel=<%= $display_size %> <%= $options %> <%= $mount_point %> 18 <% if $exec_start_post != "" { -%>19 ExecStartPost=-<%= $exec_start_post %>20 <% } -%>21 12 ExecStop= 22 <% if $exec_stop_pre != ""{ -%>13 <% if $exec_stop_pre { -%> 23 14 ExecStop=-<%= $exec_stop_pre %> 24 15 <% } -%> -
src/puppetcode/environments/test/modules/gnuboat_gnuboat/templates/lighttpd.conf.epp
rd82bcf6 r06c0abb 1 <%- | String $document_root | -%>2 1 server.modules = ( 3 2 "mod_access", -
src/puppetcode/environments/test/modules/gnuboat_gpsd/manifests/service.pp
rd82bcf6 r06c0abb 5 5 Boolean $usb_auto = true, 6 6 String $devices = '/dev/ttyAMA0', 7 Boolean $network_access = false,8 7 ) 9 8 inherits gnuboat_gpsd … … 14 13 subscribe => Package['gpsd'], 15 14 } 16 17 if(!$network_access)18 {19 $options = ''20 }21 else22 {23 $options = '-G'24 $listen_stream = '0.0.0.0:2947'25 file{'/etc/systemd/system/gpsd.socket':26 ensure => present,27 owner => 'root',28 group => 'root',29 mode => '0600',30 notify => [Exec['systemctl-daemon-reload'], Service['gpsd']],31 content => epp('gnuboat_gpsd/gpsd.socket.epp',32 {33 'listen_stream' => $listen_stream,34 }),35 }36 37 # Hack as puppet does not call systemctl daemon-reload, if needed until now (2017-04-28)38 exec{'systemctl-daemon-reload':39 command => 'systemctl daemon-reload',40 path => '/bin:/usr/bin',41 }42 }43 44 15 45 16 file{'/etc/default/gpsd': … … 54 25 'usb_auto' => $usb_auto, 55 26 'devices' => $devices, 56 'options' => $options,57 27 }), 58 28 } 59 60 29 } -
src/puppetcode/environments/test/modules/gnuboat_gpsd/templates/gpsd.epp
rd82bcf6 r06c0abb 1 <%- | Boolean $enabled,2 Boolean $usb_auto,3 String $devices,4 String $options5 | -%>6 1 # Default settings for the gpsd init script and the hotplug wrapper. 7 2 … … 27 22 28 23 # Other options you want to pass to gpsd 29 GPSD_OPTIONS=" <%= $options %>"24 GPSD_OPTIONS="" -
src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/dnsmasq.conf.epp
rd82bcf6 r06c0abb 1 <%- | String $hostip,2 String $dhcp_range3 | -%>4 1 listen-address=127.0.0.1,<%= $hostip %> 5 2 # redirect all dns names to localhost -
src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.conf.epp
rd82bcf6 r06c0abb 1 <%- | String $interface,2 String $hw_mode,3 Integer $channel,4 Boolean $ieee80211d,5 String $country_code,6 Boolean $ieee80211n,7 Boolean $ieee80211ac,8 Boolean $wmm_enabled,9 String $ssid,10 Enum['1', '2', '3'] $auth_algs,11 Integer $wpa,12 String $wpa_key_mgmt,13 String $rsn_pairwise,14 String $wpa_passphrase15 | -%>16 1 interface=<%= $interface %> 17 2 hw_mode=<%= $hw_mode %> -
src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.interface.epp
rd82bcf6 r06c0abb 1 <%- | String $interface,2 String $hostip,3 String $netmask4 | -%>5 1 auto <%= $interface %> 6 2 iface <%= $interface %> inet static -
src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hosts.epp
rd82bcf6 r06c0abb 1 <%- | String $hostname,2 String $hostip,3 String $domain4 | -%>5 1 127.0.0.1 localhost 6 2 127.0.0.1 <%= $hostname %>
Note:
See TracChangeset
for help on using the changeset viewer.
