Forge Home

vnc

Manage vnc

6,308 downloads

5,811 latest version

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

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

  • 2.0.0 (latest)
  • 1.0.0
released Aug 7th 2017
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 'kiran-vnc', '2.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add kiran-vnc
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install kiran-vnc --version 2.0.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

kiran/vnc — version 2.0.0 Aug 7th 2017

VNC module for Puppet

Module to manage the vnc server.

It will install vncserver, fluxbox and also browser, default browser is "google-chrome", and also configure the user and fluxbox and start the vncserver service

Puppet Server Version <5

usage: Install and configure vnc server

    class { 'vnc': 
      vncusername       => 'vncuser',
      userpassword      => '$1$qCmU0a$a9Q6W/fDzU6zQI42/Z2s',
      vncpassword       => 'password',
      vncport           =>  5900,
    }

Hiera Usage:

 -'vnc'
    vnc::vncusername:   'test1'
    vnc::userpassword:  '$1$qCmU0a$a9Q6W/fDzU6zQI42/Z2s'
    vnc::vncpassword:   'password'
    vnc::vncport:       '5901'

NOTE: You have to pass the plaintext password for vncpassword param.

Recommended : change the vncserver password manually, instead of passing plaintext to vncpassword. cmd : '$vncpasswd /home/vncuser/.vnc/passwd'

you can pass hash to the userpassword param, use this command "$openssl passwd -1" to generate md5 hash.

To change default browser to firefox , just change the following param

     #usage in manifest
     browser1    =>  firefox    #for ubuntu
     browser2    =>  firefox    #for centos
     #usage in hiera
     vnc::browser1: firefox     #for ubuntu
     vnc::browser2: firefox     #for centos

Module is successfully tested on Ubuntu14-64b and CentOS7-64b.

NOTE: You can not use multiple vncdisplay.

NOTE: please reboot the server after finished the catalog.

Thank you , Have a great day!