Forge Home

x2go

x2go Puppet module.

6,851 downloads

6,305 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.6.0 (latest)
  • 0.5.0
released Jan 3rd 2018
This version is compatible with:
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'kallies-x2go', '0.6.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add kallies-x2go
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install kallies-x2go --version 0.6.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

kallies/x2go — version 0.6.0 Jan 3rd 2018

x2go module for Puppet

This module provides classes to manage x2go client, server and thin client environment (aka tce).

You may choose to use either the baikal version (only bug-fixes) or the main.

About this fork

This module has been forked from ngiger/puppet-x2go because the original author switched to Saltstack.

Examples

See the files under test for more examples.

To install the x2go client

class { 'x2go':
  install_client => true,
}

This sets ensure => present for the package. If you want to set a different value, you can override the x2go::client::ensure and x2go::server::ensure parameter using hiera.

To remove the x2go client:

class { 'x2go::client':
  ensure => 'absent',
}

To only install the x2go server:

class { 'x2go':
  install_client => false,
  install_server => true,
}

To install a x2go thin client environment (tce)

:red_circle: The tce class has additional dependencies - which are not needed for x2go client or server class.

Dependencies when using the thin client environment

  • erwbgy-ssh >= 0.2.1
  • domcleal-augeasproviders >= 1.2.0
  • ngiger-dnsmasq >= 0.1.0
  • jbeard-nfs >= 0.1.7
  • jbeard-portmap >= 0.1.7
class { 'x2go::tce':
  version          => 'latest',
  x2go_tce_base    => '/opt/x2gothinclient', # will have chroot and etc directories below
  export_2_network => '192.168.1.0/255.255.255.0',
}

You will probably have to customize your installation: see the x2go wiki

License

Copyright 2011-2014, Niklaus Giger 2016-2018, Lukas Kallies

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.