####Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with nssm
- 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
##Overview
Module to install and manage use of the nssm (http://nssm.cc/)
##Module Description
Installs nssm (the Non-Sucking Service Manager)
##Setup
###What nssm affects
- Installs into NSSM into program files (files only)
###Beginning with nssm
Install with defaults:
include nssm
Install from custom url:
class { 'nssm':
install_url = 'http://nssm.cc/release/nssm-2.23.zip',
install_dir = 'C:\Program Files\nssm',
version = '2.23'
}
##Usage
###Classes and Defined Types
####Class: nssm
One of the primary classes of the nssm module. This class will install the nssm binaries
Parameters within nssm
:
#####install_url
The url to download the nssm package from
#####install_dir
The directory to install the package to
#####version
The version of nssm to install
###Creating a windows_service using puppet
windows_service { 'service name':
command => 'c:/dos/run',
start_in => 'c:/doc/run',
parameters => ['-are','optional']
}
##Reference
###Classes ####Pulic Classes
nssm
: Guides the install of the nssm files from zip file
###Types
windows_service
: Type to create windows services
##Limitations
This module is tested on the following platforms:
- Windows 2012 R2
It is tested with the OSS version of Puppet only.
##Development
###Contributing
Please read CONTRIBUTING.md for full details on contributing to this project.