+ All Categories
Home > Technology > Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

Date post: 16-Jan-2017
Category:
Upload: puppet
View: 1,023 times
Download: 1 times
Share this document with a friend
18
Windows Configuration Management Managing Packages, Services & PowerShell Ethan Brown Senior Software Engineer Grace Andrews Technical Solutions Engineer
Transcript
Page 1: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

Windows Configuration ManagementManaging Packages, Services & PowerShell

Ethan BrownSenior Software Engineer

Grace AndrewsTechnical Solutions Engineer

Page 2: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

Agenda• How Puppet Enterprise works• Installing Packages (Chocolatey)• Managing Services (WSUS)• Using PowerShell with Puppet• Puppet for Windows• Q&A

Page 3: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

Our software automates the provisioning,

configuration & ongoing management

of your machines & the applications, services & software running on them.

Page 4: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

PUPPET DEPLOYMENT

Ubuntu Server

PUPPET MASTER

Windows Server

Cisco Switch

Page 5: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

HOW PUPPET ENTERPRISE WORKS

1. Define

3. Enforce

PUPPET

ENTERPRISE

2. Simulate 4. Report

1. Define the desired state

2. Simulate configuration changes

3. Enforce desired state automatically

4. Report on differences & changes made

Page 6: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

INSTALLING PACKAGES

• Methods for installing packages• Chocolatey

• Benefits• Ensure that correct packages are installed• Remediating drift• Reporting (you can see what packages are

installed on each machine)

Page 7: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

Chocolatey Workflow Package Source• Here is the Chocolatey

workflow. It’s worth noting that there is no Puppet in this workflow (yet)

• 1: User or system requests an installation of package X. Package X isn’t on the system.

• Chocolatey goes to its source repositories (by default it’s chocolatey.org) and requests the package.

• If Source has the package it says here you go and hands package URL over

• OS downloads package and package install proceeds.

Windows Desktop

choco install x

do you have x

yes here is x

performs silent install of x

1

2

3

4

Page 8: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

CODE

Page 9: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

DEMO

Page 10: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

MANAGING SERVICES

• Service Resources with Puppet • Windows Server Update Services (WSUS)

Page 11: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

Patch Set Test

Patch Set Development

Windows Server

Patch Set Production

Dev Release Test Release

Promotion Process

Working with Puppet Enterprise

Page 12: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

CODE

Page 13: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

USING POWERSHELL

• Puppet Supported PowerShell Module: https://forge.puppetlabs.com/puppetlabs/powershell

• Benefits of using PowerShell with Puppet• Get started quickly• Perform certain tasks that you can’t perform

with Puppet• Create a template

Page 14: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

PUPPET LABS WINDOWS SUPPORT

• 32- & 64-bit Support – Native MSI packages for x64 as of Puppet Enterprise 3.7

• Broad Platform Support - Windows 2008, 2012, 7, 8• Windows Provisioning - Provision Windows OSes with Razor• Puppet Supported & Approved Modules for Windows - including the

Windows Module Pack, Supported SQL Sever & DSC modules• 100s of Community Modules – Adding more each week• Azure Integration – Windows Azure extension handler for bootstrapping

Puppet installs. Supported Azure module.

Page 15: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

SUPPORTED & APPROVED MODULESPuppet Supported Modules• SQL Server – Installs & manages MS SQL Server 2012 & 2014 on Windows systems• WSUS Client – Configure clients to point to update servers; schedule updates• DSC – Manages PowerShell DSC resources• Azure – Provision and manage Azure VMs• ACL – manage permissions with Windows ACLs• Registry – manage Registry keys and values• PowerShell – execute PowerShell commands with Puppet• Reboot – Automatically reboot after install

Puppet Approved Modules• IIS – install and manage IIS• Chocolatey – package manager• windows_env – manage Windows environment variables• Windows Java – Install and manage Oracle Java on Windows• pget – PowerShell alternative to wget or curl

Page 16: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

RESOURCESPuppetConf 2015 Windows Track• Chocolatey and Puppet - Rob Reynolds• Azure for the Non-Microsoft Person - Rob Reynolds & Scott Hanselman, MSFT• Better Together: Managing Windows with Puppet and DSC - Ethan Brown &

Bruce Payette, MSFT• Beyond the Registry - Matthew Stone, T-Mobile• The Wild World of Windows: Developing for Puppet on Windows - Travis

Fields, Nike• IT Leader Breakout Q&A - Angel Calvo, MSFT

Blog• Chocolatey blog series• PowerShell DSC blog series

Education• Learning VM• Puppet Essentials for Windows – Instructor-led• Puppet Essentials for Windows - Virtual• Puppet Fundamentals

Page 17: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

WINDOWS WEBINAR SERIES

Register for upcoming webinars at: http://info.puppetlabs.com/1885-Windows-Series-Main_LP-Registration.html

• Deploying IIS and ASP.NET with Puppet• Package Management on Windows with Chocolatey• Managing PowerShell DSC with Puppet• Patch Management on Windows with Puppet• Setting up Windows for System and Application Monitoring• Getting Up and Running with the Windows Module Pack• Get Started on Azure with Puppet

Page 18: Windows Configuration Management: Managing Packages, Services, & Power Shell-02102016

Questions &Answers


Recommended