Forge Home

windows_services

This module allows you to manage windows services.

15,259 downloads

14,745 latest version

3.0 quality score

Version information

  • 0.0.4 (latest)
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Oct 6th 2014
This version is compatible with:
  • Windows

Start using this module

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

Add this module to your Puppetfile:

mod 'jriviere-windows_services', '0.0.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jriviere-windows_services
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jriviere-windows_services --version 0.0.4

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

jriviere/windows_services — version 0.0.4 Oct 6th 2014

windows_services

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with windows_services
  4. Usage - Configuration options and additional functionality
  5. Limitations - OS compatibility, etc.
  6. Support - How contribute

Overview

Module allow us to change the username and password for a service.

Module Description

Module allow us for now to change the username and password for a service.

Delayed resource can't be applied without a server restart.

##Last Fix/Update V 0.0.4 :

  • Add Carbon.dll assembly. Permit to give privilege : SeServiceLogonRight to the specify account (useful for managing server without DC features)

Setup

Setup Requirements

Depends on the following modules: 'puppetlabs/powershell', '>=1.0.2', 'puppetlabs/stdlib', '>= 4.2.1'

Usage

Resource: windows_services::delayedstart

    windows_services::delayedstart{'puppetdelayed':
      servicename => "puppet",
    }

Parameters

    $delayed   # Default True for put delayed start on service, set to false to let to automatic start

Resource: windows_services:credentials

    windows_services::credentials{'puppet':
      username    => "DOMAIN\\User",
      password    => "P@ssw0rd",
      servicename => "puppet",
      delayed     => true,
    }

Parameters

    $delayed   # Default False, set to true to set delayed start on servicename. (Restart needed)

Limitations

Works only with windows. Tested on Windows Server 2012 R2

The delayed resource is only applied when server reboot.

License

Apache License, Version 2.0

Contact

Jerome RIVIERE

Support

Please log tickets and issues at GitHub site