Changes in / [d82bcf6:06c0abb]


Ignore:
Location:
src/puppetcode/environments/test
Files:
1 added
1 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • src/puppetcode/environments/test/hieradata/common.yaml

    rd82bcf6 r06c0abb  
    2222      src: true
    2323      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: true
    36       deb: true
    3724gnuboat_lighttpd::service::status: 'running'
    3825gnuboat_lighttpd::service::enabled: true
    … …  
    4633gnuboat_gpsd::service::enabled: true
    4734gnuboat_gpsd::service::devices: '/dev/ttyACM0'
    48 gnuboat_gpsd::service::network_access: true
    4935gnuboat_gnuboat::service::status: 'running'
    5036gnuboat_gnuboat::service::enabled: true
    … …  
    5339gnuboat_hostapd::config::interface: 'wlan0'
    5440gnuboat_hostapd::config::country_code: 'de'
    55 gnuboat_canboat::service::can_interface: 'can0'
    56 gnuboat_canboat::service::actisense_primary: '/dev/actisense_ngt1_serial'
     41gnuboat_canboat::service::actisense_primary: '/dev/ttyUSB0'
     42gnuboat_canboat::service::monitor: true
    5743gnuboat_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  
    11class gnuboat_canboat::service
    22(
    3         String $can_interface = "",
    43        String $actisense_primary = "",
    54        String $actisense_serial = "",
    … …  
    3231                content => epp('gnuboat_canboat/n2kd.epp',
    3332                {
    34                         'can_interface' => $can_interface,
    3533                        'actisense_primary' => $actisense_primary,
    3634                        'monitor' => $monitor,
  • src/puppetcode/environments/test/modules/gnuboat_canboat/templates/actisense-udev.epp

    rd82bcf6 r06c0abb  
    1 <%- |   String $actisense_serial,
    2         String $actisense_primary
    3 | -%>
    41SUBSYSTEM=="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 $monitor
    4 | -%>
    5 <% if $can_interface != "" { -%>
    6 CAN_INTERFACE=<%= $can_interface %>
    7 <% } -%>
    81ACTISENSE_PRIMARY=<%= $actisense_primary %>
    92MONITOR=<%= $monitor %>
  • src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp

    rd82bcf6 r06c0abb  
    1 <%- |   String $mount_point,
    2         String $display_size,
    3         String $options
    4 | -%>
    51# Options to pass to epd_fuse
    62#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_pre
    6 | -%>
    71[Unit]
    82Description=A Fuse driver for the Repaper.org EPD
    … …  
    1610ExecStart=
    1711ExecStart=/usr/sbin/epd_fuse --panel=<%= $display_size %> <%= $options %> <%= $mount_point %>
    18 <% if $exec_start_post != "" { -%>
    19 ExecStartPost=-<%= $exec_start_post %>
    20 <% } -%>
    2112ExecStop=
    22 <% if $exec_stop_pre != "" { -%>
     13<% if $exec_stop_pre { -%>
    2314ExecStop=-<%= $exec_stop_pre %>
    2415<% } -%>
  • src/puppetcode/environments/test/modules/gnuboat_gnuboat/templates/lighttpd.conf.epp

    rd82bcf6 r06c0abb  
    1 <%- |   String $document_root | -%>
    21server.modules = (
    32        "mod_access",
  • src/puppetcode/environments/test/modules/gnuboat_gpsd/manifests/service.pp

    rd82bcf6 r06c0abb  
    55        Boolean $usb_auto = true,
    66        String $devices = '/dev/ttyAMA0',
    7         Boolean $network_access = false,
    87)
    98inherits gnuboat_gpsd
    … …  
    1413                subscribe => Package['gpsd'],
    1514        }
    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 
    4415
    4516        file{'/etc/default/gpsd':
    … …  
    5425                        'usb_auto' => $usb_auto,
    5526                        'devices' => $devices,
    56                         'options' => $options,
    5727                }),
    5828        }
    59 
    6029}
  • src/puppetcode/environments/test/modules/gnuboat_gpsd/templates/gpsd.epp

    rd82bcf6 r06c0abb  
    1 <%- |   Boolean $enabled,
    2         Boolean $usb_auto,
    3         String $devices,
    4         String $options
    5 | -%>
    61# Default settings for the gpsd init script and the hotplug wrapper.
    72
    … …  
    2722
    2823# Other options you want to pass to gpsd
    29 GPSD_OPTIONS="<%= $options %>"
     24GPSD_OPTIONS=""
  • src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/dnsmasq.conf.epp

    rd82bcf6 r06c0abb  
    1 <%- |   String $hostip,
    2         String $dhcp_range
    3 | -%>
    41listen-address=127.0.0.1,<%= $hostip %>
    52# 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_passphrase
    15 | -%>
    161interface=<%= $interface %>
    172hw_mode=<%= $hw_mode %>
  • src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hostapd.interface.epp

    rd82bcf6 r06c0abb  
    1 <%- |   String $interface,
    2         String $hostip,
    3         String $netmask
    4 | -%>
    51auto <%= $interface %>
    62iface <%= $interface %> inet static
  • src/puppetcode/environments/test/modules/gnuboat_hostapd/templates/hosts.epp

    rd82bcf6 r06c0abb  
    1 <%- |   String $hostname,
    2         String $hostip,
    3         String $domain
    4 | -%>
    51127.0.0.1       localhost
    62127.0.0.1       <%= $hostname %>
Note: See TracChangeset for help on using the changeset viewer.