Giter VIP home page Giter VIP logo

puppetie's Introduction

windowstasks

Table of Contents

  1. Description
  2. Setup - The basics of getting started with windowstasks
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Description

This Task will allow you to pull Computers from AD and install the puppet agent on them from your Puppet Master

Setup

What windowstasks affects

  • Gets a list of Computers based on serach criteria set, if no criteria is set it will take all nodes from AD, then check for puppet agent and install if not install already. This installs directly from the puppet master which is set in the puppet.conf or by manualy setting this value against any Puppet Master.

Setup Requirements

  • Active Directory User and Computers
  • Powershell V3 or later

Beginning with windowstasks

You can include this Task by first forking the module and then installing with your Puppetfile

mod 'puppetie'
  git : 'https://github.com/jasy125/puppetie' ( Update path to your fork )

Usage

To use this task by default will run against then entire Domain unless you set the OU or filters.

Required

Username : The Domain User who will have access to install and make changes to systems.

username = puppetlocal\Administrator

Password : The Domain User Account

Optional

pemaster : The Pe Master is optional if the System going to be running the command on a server which has a puppet.conf with the server value set as this pulls the value using - puppet config print server

adhost : Will be used in a later revision possibly.

dc : Domain Name such as puppet.local, this should be written as puppet,local. This should be used with an OU

puppet.local

dc = puppet,local

ou : Organisational Unit such as in your tree puppet -> workstations. This should be used with DC

puppet.local 
      - Puppet
          - Workstations
          - Servers

ou = workstations,puppet
ou = servers,puppet

filter : If you want to apply a filter to the search in the ou, this can be used with dc and ou but not required.

puppet.local 
      - Puppet
          - Workstations
             - Win10-1
             - Win10-2
             - WinXp-1
          - Servers


filter = (Name -like "Win10*")
   Returns Win10-1 Win10-2
       

throttle : Number of jobs to run in parallel, by default this limit is two, increase this value to as many as you want, but make sure you have the performance to cope with these connections.

logging : This is the location of the log file, by default it is created on the C Drive of the system running the task. This can be any location as long as the system running the task can access it.

dryrun : If you want to test the settings before running for real. Default is false.

Limitations

This needs to be run on an System that has AD Tools or directly on a Domain Controller Also you will need to set the pemaster value if the host you are going to run this on does not have a puppet.conf file with the server value set or if you are using server_list. You can also point this at any master by using this field.

Development

Still in Testing Phase - but feel free to reach out with ideas or improvements.

Release Notes/Contributors/Etc

Contributers

  • Jasy125
  • MartyEwings

puppetie's People

Contributors

jasy125 avatar martyewings avatar

Stargazers

 avatar

Watchers

James Cloos avatar Selvakumar avatar

Forkers

martyewings

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.