hbuckle / windows_services

Puppet Module for changing the username and password for windows service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Puppet Module for changing the username and password for windows service.

License:Apache License 2.0


Languages

Language:Puppet 65.5%Language:HTML 18.2%Language:Ruby 16.3%