Changeset 22f7269 for src/puppetcode/environments/test/modules
- Timestamp:
- Apr 28, 2017, 2:14:49 PM (10 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- d82bcf6
- Parents:
- c84f87e
- Location:
- src/puppetcode/environments/test/modules
- Files:
-
- 1 added
- 1 deleted
- 12 edited
-
gnuboat_canboat/manifests/service.pp (modified) (2 diffs)
-
gnuboat_canboat/templates/actisense-udev.epp (modified) (1 diff)
-
gnuboat_canboat/templates/n2kd.epp (modified) (1 diff)
-
gnuboat_epd/templates/epd-fuse.epp (modified) (1 diff)
-
gnuboat_epd/templates/epd-fuse.service.epp (modified) (2 diffs)
-
gnuboat_gnuboat/templates/lighttpd.conf.epp (modified) (1 diff)
-
gnuboat_gpsd/manifests/service.pp (modified) (3 diffs)
-
gnuboat_gpsd/templates/gpsd.epp (modified) (2 diffs)
-
gnuboat_gpsd/templates/gpsd.socket.epp (added)
-
gnuboat_hostapd/templates/default.epp (deleted)
-
gnuboat_hostapd/templates/dnsmasq.conf.epp (modified) (1 diff)
-
gnuboat_hostapd/templates/hostapd.conf.epp (modified) (1 diff)
-
gnuboat_hostapd/templates/hostapd.interface.epp (modified) (1 diff)
-
gnuboat_hostapd/templates/hosts.epp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/test/modules/gnuboat_canboat/manifests/service.pp
rc84f87e r22f7269 1 1 class gnuboat_canboat::service 2 2 ( 3 String $can_interface = "", 3 4 String $actisense_primary = "", 4 5 String $actisense_serial = "", … … 31 32 content => epp('gnuboat_canboat/n2kd.epp', 32 33 { 34 'can_interface' => $can_interface, 33 35 'actisense_primary' => $actisense_primary, 34 36 'monitor' => $monitor, -
src/puppetcode/environments/test/modules/gnuboat_canboat/templates/actisense-udev.epp
rc84f87e r22f7269 1 <%- | String $actisense_serial, 2 String $actisense_primary 3 | -%> 1 4 SUBSYSTEM=="tty", ACTION=="add", ENV{ID_SERIAL}=="<%= $actisense_serial %>", NAME="<%= $actisense_primary %>" -
src/puppetcode/environments/test/modules/gnuboat_canboat/templates/n2kd.epp
rc84f87e r22f7269 1 <%- | String $can_interface, 2 String $actisense_primary, 3 Boolean $monitor 4 | -%> 5 <% if $can_interface != "" { -%> 6 CAN_INTERFACE=<%= $can_interface %> 7 <% } -%> 1 8 ACTISENSE_PRIMARY=<%= $actisense_primary %> 2 9 MONITOR=<%= $monitor %> -
src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp
rc84f87e r22f7269 1 <%- | String $mount_point, 2 String $display_size, 3 String $options 4 | -%> 1 5 # Options to pass to epd_fuse 2 6 #EPD_MOUNTPOINT=<%= $mount_point %> -
src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.service.epp
rc84f87e r22f7269 1 <%- | String $mount_point, 2 String $display_size, 3 String $options, 4 String $exec_start_post, 5 String $exec_stop_pre 6 | -%> 1 7 [Unit] 2 8 Description=A Fuse driver for the Repaper.org EPD … … 10 16 ExecStart= 11 17 ExecStart=/usr/sbin/epd_fuse --panel=<%= $display_size %> <%= $options %> <%= $mount_point %> 18 <% if $exec_start_post != "" { -%> 19 ExecStartPost=-<%= $exec_start_post %> 20 <% } -%> 12 21 ExecStop= 13 <% if $exec_stop_pre { -%>22 <% if $exec_stop_pre != "" { -%> 14 23 ExecStop=-<%= $exec_stop_pre %> 15 24 <% } -%> -
src/puppetcode/environments/test/modules/gnuboat_gnuboat/templates/lighttpd.conf.epp
rc84f87e r22f7269 1 <%- | String $document_root | -%> 1 2 server.modules = ( 2 3 "mod_access", -
src/puppetcode/environments/test/modules/gnuboat_gpsd/manifests/service.pp
rc84f87e r22f7269 5 5 Boolean $usb_auto = true, 6 6 String $devices = '/dev/ttyAMA0', 7 Boolean $network_access = false, 7 8 ) 8 9 inherits gnuboat_gpsd … … 13 14 subscribe => Package['gpsd'], 14 15 } 16 17 if(!$network_access) 18 { 19 $options = '' 20 } 21 else 22 { 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 15 44 16 45 file{'/etc/default/gpsd': … … 25 54 'usb_auto' => $usb_auto, 26 55 'devices' => $devices, 56 'options' => $options, 27 57 }), 28 58 } 59 29 60 } -
src/puppetcode/environments/test/modules/gnuboat_gpsd/templates/gpsd.epp
rc84f87e r22f7269 1 <%- | Boolean $enabled, 2 Boolean $usb_auto, 3 String $devices, 4 String $options 5 | -%> 1 6 # Default settings for the gpsd init script and the hotplug wrapper. 2 7 … … 22 27 23 28 # Other options you want to pass to gpsd 24 GPSD_OPTIONS=" "29 GPSD_OPTIONS="<%= $options %>" -
src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/dnsmasq.conf.epp
rc84f87e r22f7269 1 <%- | String $hostip, 2 String $dhcp_range 3 | -%> 1 4 listen-address=127.0.0.1,<%= $hostip %> 2 5 # redirect all dns names to localhost -
src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.conf.epp
rc84f87e r22f7269 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_passphrase 15 | -%> 1 16 interface=<%= $interface %> 2 17 hw_mode=<%= $hw_mode %> -
src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.interface.epp
rc84f87e r22f7269 1 <%- | String $interface, 2 String $hostip, 3 String $netmask 4 | -%> 1 5 auto <%= $interface %> 2 6 iface <%= $interface %> inet static -
src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hosts.epp
rc84f87e r22f7269 1 <%- | String $hostname, 2 String $hostip, 3 String $domain 4 | -%> 1 5 127.0.0.1 localhost 2 6 127.0.0.1 <%= $hostname %>
Note:
See TracChangeset
for help on using the changeset viewer.
