windows_services

This module allows you to manage windows services.
Jerome

Jerome

jriviere

14,400 downloads

13,935 latest version

3.0 quality score

Version information

  • 0.0.4 (latest)
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Jul 3rd 2019
This version is compatible with:
  • Windows

Start using this module

Documentation

jriviere/windows_services — version 0.0.4 Jul 3rd 2019

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