debian/bullseye
debian/jessie
|
Last change
on this file since 53f0130 was b5208ff, checked in by Joachim Langenbach <joachim.langenbach@…>, 10 years ago |
|
Implemented gnuboat_gnuboat puppet module to install and configure gnuboat-server and gnuboat-webclient
|
-
Property mode
set to
100644
|
|
File size:
859 bytes
|
| Line | |
|---|
| 1 | class gnuboat_gnuboat::install() inherits gnuboat_gnuboat
|
|---|
| 2 | {
|
|---|
| 3 | include apt
|
|---|
| 4 |
|
|---|
| 5 | # apt::source{'gnuboatapt':
|
|---|
| 6 | # comment => 'This is the raspbian repository for GNUBoat',
|
|---|
| 7 | # location => 'http://ftp.engsas.de/unstable/gnuboat/',
|
|---|
| 8 | # release => 'jessie',
|
|---|
| 9 | # repos => 'main',
|
|---|
| 10 | # pin => '-10',
|
|---|
| 11 | # include => {
|
|---|
| 12 | # 'src' => true,
|
|---|
| 13 | # 'deb' => true,
|
|---|
| 14 | # },
|
|---|
| 15 | # }
|
|---|
| 16 |
|
|---|
| 17 | if $server {
|
|---|
| 18 | package{'gnuboat-server':
|
|---|
| 19 | ensure => $version,
|
|---|
| 20 | notify => Service['gnuboat'],
|
|---|
| 21 | require => Apt::Source['gnuboatapt'],
|
|---|
| 22 | }
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | if $webclient {
|
|---|
| 26 | package{'gnuboat-webclient':
|
|---|
| 27 | ensure => $version,
|
|---|
| 28 | require => Apt::Source['gnuboatapt'],
|
|---|
| 29 | }
|
|---|
| 30 | }
|
|---|
| 31 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.