- Description
- Setup - The basics of getting started with irssi
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
- Contributors - List of those who've helped to make the module better
This module provides simple classes and types for installing the irssi chat client on a system, and setting up user configuration and scripts.
This module installs the irssi package and may optionally be used to manage one or more user configuration directories.
Currently, this module only supports Ubuntu (tested on Ubuntu 14.04), but will likely work on otehr Debian-based distributions.
To install this modual, call:
puppet module install brwyatt-irssi
To install irssi on agent, simply include it into your manifests.
include ::irssi
Installs and realizes user configuration for irssi by including irssi::install
and irssi::configure
.
Realizes user configuration for irssi.
Realizes all irssi::user_config
and irssi::user_script
resources.
Installs the irssi package with the default system package provider.
Default values for class parameters are derived from Hiera data files in irssi/data/
Parameters:
package_ensure
: Package ensure value (defaults to "latest")package_name
: Name of the package (defaults to "irssi" on Debian)
Manages an irssi config directory and config file.
Parameters:
owner
: (required) System owner of the files and directoriesconfig_dir
: (namevar) Path of the config directory to managenetworks
: Hash of networks and their configurations TODO: Describe structurereal_name
: Default real name of the useruser_name
: Default user name of the usernick_name
: Default nick name of the userwindows
: Array of pre-defined windows and their settings TODO: Describe structurepurge_scripts
: Whether the scripts directory should have unmanaged scripts purged (default: false)
Manages scripts installed in a config directory.
Parameters:
config_dir
: (required) Config directory this script should be installed toowner
: (required) System owner of the scriptsource
: Source for the file (required unlesscontent
defined)content
: Content of the file (required unlesssource
defined)user_config
: (optional) Name of theirssi::user_config
if named differently than the defaultconfig_dir
autorun
: Controls whether the script should be enabled to auto-load on irssi start. (default: false)script_name
: (namevar) The filename for the script file
Currently, this module is only tested against Ubuntu 16.04. It will likely work on other Debian-based distributions, and may or may not work on RedHat-based distributions, but makes no claims regarding such.
Feel free to file issues in the GitHub issue tracker for the repository, or submit Pull Requests.
I may not have much time to work on (or test) this myself, so help to expand current functionality (especially to make it work for more people) is greatly appreciated and encouraged.
The list of contributors can be found at: https://github.com/brwyatt/puppet-irssi/graphs/contributors.