Forge Home

guacamole

Install and configurate Guacamole on CentOS7

12,163 downloads

11,971 latest version

5.0 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.2.0 (latest)
  • 0.1.0
released Oct 8th 2017
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'slenky-guacamole', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add slenky-guacamole
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install slenky-guacamole --version 0.2.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

slenky/guacamole — version 0.2.0 Oct 8th 2017

Build Status

Guacamole - Puppet Module

Table of Contents

  1. Description
  2. Setup - The basics of getting started with guacamole
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

This module installs, deploys and configures Apache Guacomole on CentOS7.

Setup

What guacamole affects OPTIONAL

  • Install Guacamole required packages.
  • Build & Deploy guacd
  • (OPTIONAL) Install Tomcat 8, deploy guacamole to him.
  • Configure unlimited amount of users with connection list.

Setup Requirements

Just install dependent modules.

Usage

  # Hash of the servers for Guacamole to connect for.
  $hashes = {
    '192.168.1.101' => {             #Hostname or IP address
      'rdp' => {                     # Protocol of connection: rdp,vnc,ssh
          'password'    => 'vagrant',
          'username'    => 'vagrant',
          'port'        => '3389',   # default rdp port
          'security'    => 'nla',    #Network Level Authentication
          'ignore-cert' => 'true'
          # Watch more here: https://guacamole.incubator.apache.org/doc/gug/configuring-guacamole.html#rdp
      }
    },
    '192.168.1.102' => {
      'vnc' => {
          'password' => 'somepass',
          'port' => '5900'
      },
    },
  }
  class { 'guacamole':
    guacd_listen_port => '4822',
    install_tomcat    => true
  }
  # Create an user in Guacamole with available connections as $hashes
  guacamole::user { 'bohdan':
    password    => 'passw0rd',
    connections => $hashes
  }

Reference

For all usage you just need ::guacamole and ::guacamole::user.

guacamole

The base class sets defaults used by other defined types, such as guacamole::install.

guacd_listen_ip

Specifies an IP for guacd to bind for. Basically, should be localhost, so you could omit this option.

guacd_listen_port

Same as above.

server_version

Specifies the version of Guacamole to build & install. Default to '0.9.13' but you could always change it to newer version from here

install_tomcat

Boolean. Specifies should this module install Tomcat 8 for you. Defaults to true. If you want to use your own installation of Tomcat you have to add something like this one to your modules:

$closest_mirror = get_mirrors('https://www.apache.org/dyn/closer.cgi?as_json=1')
tomcat::war { 'guacamole.war':
  catalina_base => '/opt/tomcat',
  war_source    => "${closest_mirror}incubator/guacamole/${server_version}-incubating/binary/guacamole-${server_version}-incubating.war",
}

guacamole::user

Defined class that being used for creation of users and connections for them. Might be initiated as more as you need it.

Title

Title of the resource applies to username for new/exist user.

guacamole::user { 'username'
  ...
}
password

Plain text password for user (might also be md5 encrypted with md5_encrypted variable)

md5_encrypted

Boolean. Sets password format as md5. Feel free to use this

Limitations

By now this module applies only for CentOS7 (and probably 6 version too).

Development

Feel free to fork, pull requests and so on.

Release Notes/Contributors/Etc.

0.2.0:
  - Added install_tomcat variable to use your own instances.
  - Added determining of closest mirror to download tomcat / guacamole.
  - Few small fixes.
0.1.0:
  - First version of this cute module.
  - Cake is a Lie.

TODO

- Add Debian/Ubuntu support
- Implement md5 encryption from plain text.