SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
Managing Windows
with
Puppet and Chocolatey
Seth McBean
School Aide | FLAGS High School
NYC DIIT School Technology Summit –
2014/07/30
Who am I?
School Aide at FLAGS High School (07X520)
serving as Tech Coordinator since 2008.
Seth McBean
Let’s start with “Why?”
Why manage?
Why automate?
Why care?
Why stay awake?
Why manage/automate?
Speed
Consistency
To get rid of those problems that nag me
What is management?
Management is simply the process of getting
the good stuff that we want into computers and
removing the bad stuff that we dont want.
How do we typically get stuff onto
computers?
Imaging – bake everything in and when it grows
stale and unwieldy, reimage (re-bake) it
It’s how we do it. It’s how we’ve done it
….but can we do it better?
How do we typically get stuff onto
computers?
Deploy packages:
→ Store installer packages somewhere
(external drive, file server, etc.)
→ Use some method to push the packages to
the computers and install them (scripts, AD
Group Policy, PDQ Deploy, etc.)
Better….but is there yet a better way?
Get Chocolatey
It’s way better… why?
Chocolatey is aware of what it installs
It’s also aware when there’s a new version
Get Chocolatey – The Install
from CMD.exe as Administrator:
@powershell -NoProfile -ExecutionPolicy unrestricted -
Command "iex ((new-object net.webclient).DownloadString
('https://chocolatey.org/install.ps1'))" && SET PATH=%
PATH%;%ALLUSERSPROFILE%chocolateybin
– OR –
via Powershell as Administrator:
iex ((new-object net.webclient).DownloadString('https:
//chocolatey.org/install.ps1'))
Reads like Dickens, doesnt it?!
Run Chocolatey
Install the current java vm
c:> cinst javaruntime
Uninstall an old version
c:> cuninst javaruntime -Version 6.0.31.1
Upgrade to the latest version
c:> cup javaruntime
It even does Windows Features
List all available Windows Features
c:> clist -source windowsfeatures
Install TFTP Client
c:> cinst -source windowsfeatures TFTP
(Generally more useful for Windows server)
Why Puppet?
Because we’re humans...
Humans are inventive and resourceful and...
Humans are HORRIBLE at repetitive tasks
Computers and software are way better at
repeated tasks… once they’re told what to do
What is Puppet?
A configuration management/reporting system
Ookay...what’s that?
Puppet provides a way of telling Windows how
it should run and what it should do
How does Puppet interact with
Windows?
Puppet uses a Master which is simply a linux
hosted program that interacts with an Agent
process running on the client machine.
The Master collects Facts from the client and
uses that information to compile a catalog of
instructions that declare the ultimate state of
how Resources should look on the client.
How does Puppet interact with
Windows?
The client runs the instructions and reports its
activity as well as any errors back to the Master
Client: “Hey Master, I did what you said and here’s how it went...”
Master: “Atta boy! That’s a good Puppet!”
What are Resources?
Resources are the things that Puppet
manages
Resources can be: Files, Services, Packages,
Users, Groups, Scheduled Tasks...
Puppet uses instructions contained in simple
text files called Manifests to declare the end
state of Resources
What is a Manifest?
A Manifest is a plain text file containing
instructions written in a declarative language
that Puppet uses to define how Resources
should be
package { 'javaruntime':
ensure => 'latest’,
provider => ‘chocolatey’,
}
“Tell Chocolatey, he
had better make
sure my java is fresh
in the morning!!”
So what’s this Provider thing?
...and what does Chocolatey have to do with all
this?
Chocolatey is a Provider for Puppet, which
means it’s a method used to install programs
which are represented as a type of resource
referred to as Packages
Okay… you’d better you show me
DEMO TIME!!!
Everybody needs somebody
Where to get help?
Docs: http://docs.puppetlabs.com/
Training: https://puppetlabs.com/learn
Youtube: http://j.mp/puppetlabs-youtube
Puppet Group: http://j.mp/puppet-users-group
Chocolatey Group: http://j.mp/chocolatey-group
PuppetNYC Meetup: http://j.mp/puppet-nyc-meetup
Podcast: http://j.mp/puppetlabs-podcast
IRC: #puppet and #chocolatey on Freenode
Useful things to watch
What is Puppet?
http://youtu.be/j8ImF23jZAg
Getting Started with the Learning Puppet VM
http://youtu.be/8wTiFUZDVfo
Getting Started with Puppet
http://youtu.be/TdAmAj3eaFI
Keep in touch
Google+: http://google.com/+SethMcBean
LinkedIn: http://www.linkedin.
com/SethMcBean
Email:
seth@sethmcbean.com
seth@flagshs.org

Contenu connexe

Tendances

Use Symfony2 components inside WordPress
Use Symfony2 components inside WordPress Use Symfony2 components inside WordPress
Use Symfony2 components inside WordPress Maurizio Pelizzone
 
node-webkit : Make a magic from your a desktop app to desktop app!
node-webkit : Make a magic from your a desktop app to desktop app!node-webkit : Make a magic from your a desktop app to desktop app!
node-webkit : Make a magic from your a desktop app to desktop app!욱진 양
 
Don't Over-React - just use Vue!
Don't Over-React - just use Vue!Don't Over-React - just use Vue!
Don't Over-React - just use Vue!Raymond Camden
 
PHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source ProjectPHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source Projectxsist10
 
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
Bruce Lawson, Web Development 2.0, SparkUp! Poznan PolandBruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Polandbrucelawson
 
Why Open Web Standards are cool and will save the world. Or the Web, at least.
Why Open Web Standards are cool and will save the world. Or the Web, at least.Why Open Web Standards are cool and will save the world. Or the Web, at least.
Why Open Web Standards are cool and will save the world. Or the Web, at least.brucelawson
 
Serving Moodle Presentation
Serving Moodle PresentationServing Moodle Presentation
Serving Moodle Presentationwebhostingguy
 
Bruce lawson-over-the-air
Bruce lawson-over-the-airBruce lawson-over-the-air
Bruce lawson-over-the-airbrucelawson
 
Write your first WordPress plugin
Write your first WordPress pluginWrite your first WordPress plugin
Write your first WordPress pluginAnthony Montalbano
 
Philipp Von Weitershausen Plone Age Mammoths, Sabers And Caveen Cant The...
Philipp Von Weitershausen   Plone Age  Mammoths, Sabers And Caveen   Cant The...Philipp Von Weitershausen   Plone Age  Mammoths, Sabers And Caveen   Cant The...
Philipp Von Weitershausen Plone Age Mammoths, Sabers And Caveen Cant The...Vincenzo Barone
 
Firefox OS - The platform you deserve - Firefox OS Budapest workshop - 2013-1...
Firefox OS - The platform you deserve - Firefox OS Budapest workshop - 2013-1...Firefox OS - The platform you deserve - Firefox OS Budapest workshop - 2013-1...
Firefox OS - The platform you deserve - Firefox OS Budapest workshop - 2013-1...Frédéric Harper
 
Developers, Be a Bada$$ with WP-CLI
Developers, Be a Bada$$ with WP-CLIDevelopers, Be a Bada$$ with WP-CLI
Developers, Be a Bada$$ with WP-CLIWP Engine
 
Max Voloshin - "Organization of frontend development for products with micros...
Max Voloshin - "Organization of frontend development for products with micros...Max Voloshin - "Organization of frontend development for products with micros...
Max Voloshin - "Organization of frontend development for products with micros...IT Event
 
Web Directions @media 2010
Web Directions @media 2010Web Directions @media 2010
Web Directions @media 2010Patrick Lauke
 
2015 TechSummit Web & Cloud - Gem, NPM, Bower, Nuget, Paket - Päckchen hier, ...
2015 TechSummit Web & Cloud - Gem, NPM, Bower, Nuget, Paket - Päckchen hier, ...2015 TechSummit Web & Cloud - Gem, NPM, Bower, Nuget, Paket - Päckchen hier, ...
2015 TechSummit Web & Cloud - Gem, NPM, Bower, Nuget, Paket - Päckchen hier, ...Daniel Fisher
 

Tendances (20)

Use Symfony2 components inside WordPress
Use Symfony2 components inside WordPress Use Symfony2 components inside WordPress
Use Symfony2 components inside WordPress
 
node-webkit : Make a magic from your a desktop app to desktop app!
node-webkit : Make a magic from your a desktop app to desktop app!node-webkit : Make a magic from your a desktop app to desktop app!
node-webkit : Make a magic from your a desktop app to desktop app!
 
Don't Over-React - just use Vue!
Don't Over-React - just use Vue!Don't Over-React - just use Vue!
Don't Over-React - just use Vue!
 
PHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source ProjectPHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source Project
 
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
Bruce Lawson, Web Development 2.0, SparkUp! Poznan PolandBruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
 
HP Enyo
HP EnyoHP Enyo
HP Enyo
 
Why Open Web Standards are cool and will save the world. Or the Web, at least.
Why Open Web Standards are cool and will save the world. Or the Web, at least.Why Open Web Standards are cool and will save the world. Or the Web, at least.
Why Open Web Standards are cool and will save the world. Or the Web, at least.
 
Serving Moodle Presentation
Serving Moodle PresentationServing Moodle Presentation
Serving Moodle Presentation
 
Bruce lawson-over-the-air
Bruce lawson-over-the-airBruce lawson-over-the-air
Bruce lawson-over-the-air
 
Write your first WordPress plugin
Write your first WordPress pluginWrite your first WordPress plugin
Write your first WordPress plugin
 
Philipp Von Weitershausen Plone Age Mammoths, Sabers And Caveen Cant The...
Philipp Von Weitershausen   Plone Age  Mammoths, Sabers And Caveen   Cant The...Philipp Von Weitershausen   Plone Age  Mammoths, Sabers And Caveen   Cant The...
Philipp Von Weitershausen Plone Age Mammoths, Sabers And Caveen Cant The...
 
Firefox OS - The platform you deserve - Firefox OS Budapest workshop - 2013-1...
Firefox OS - The platform you deserve - Firefox OS Budapest workshop - 2013-1...Firefox OS - The platform you deserve - Firefox OS Budapest workshop - 2013-1...
Firefox OS - The platform you deserve - Firefox OS Budapest workshop - 2013-1...
 
Installation of Openbiblio using Easyphp
Installation of Openbiblio using EasyphpInstallation of Openbiblio using Easyphp
Installation of Openbiblio using Easyphp
 
Developers, Be a Bada$$ with WP-CLI
Developers, Be a Bada$$ with WP-CLIDevelopers, Be a Bada$$ with WP-CLI
Developers, Be a Bada$$ with WP-CLI
 
Meet The Family
Meet The FamilyMeet The Family
Meet The Family
 
Max Voloshin - "Organization of frontend development for products with micros...
Max Voloshin - "Organization of frontend development for products with micros...Max Voloshin - "Organization of frontend development for products with micros...
Max Voloshin - "Organization of frontend development for products with micros...
 
Web Directions @media 2010
Web Directions @media 2010Web Directions @media 2010
Web Directions @media 2010
 
The wp config.php
The wp config.phpThe wp config.php
The wp config.php
 
2015 TechSummit Web & Cloud - Gem, NPM, Bower, Nuget, Paket - Päckchen hier, ...
2015 TechSummit Web & Cloud - Gem, NPM, Bower, Nuget, Paket - Päckchen hier, ...2015 TechSummit Web & Cloud - Gem, NPM, Bower, Nuget, Paket - Päckchen hier, ...
2015 TechSummit Web & Cloud - Gem, NPM, Bower, Nuget, Paket - Päckchen hier, ...
 
Banquet 08
Banquet 08Banquet 08
Banquet 08
 

En vedette

Getting Started with Puppet on Windows - PuppetConf 2014
Getting Started with Puppet on Windows - PuppetConf 2014Getting Started with Puppet on Windows - PuppetConf 2014
Getting Started with Puppet on Windows - PuppetConf 2014Puppet
 
Zen and the Art of Automated Acceptance Test Suite Maintenance
Zen and the Art of Automated Acceptance Test Suite MaintenanceZen and the Art of Automated Acceptance Test Suite Maintenance
Zen and the Art of Automated Acceptance Test Suite MaintenanceJohn Ferguson Smart Limited
 
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014Rob Reynolds
 
Test-Driven Puppet Development - PuppetConf 2014
Test-Driven Puppet Development - PuppetConf 2014Test-Driven Puppet Development - PuppetConf 2014
Test-Driven Puppet Development - PuppetConf 2014Puppet
 
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex Liviu Claudiu Cismaru
 
Web App Security Horror Stories
Web App Security Horror StoriesWeb App Security Horror Stories
Web App Security Horror StoriesSimon Willison
 
Package Management on Windows with Chocolatey
Package Management on Windows with ChocolateyPackage Management on Windows with Chocolatey
Package Management on Windows with ChocolateyPuppet
 
Producing An App - DigiLittleAcorns
Producing An App - DigiLittleAcornsProducing An App - DigiLittleAcorns
Producing An App - DigiLittleAcornsChristine Turner
 
Kts c1-he thong so
Kts c1-he thong soKts c1-he thong so
Kts c1-he thong soWang Ruan
 
Bxd 11 2014-tt-bxd-25082014
Bxd 11 2014-tt-bxd-25082014Bxd 11 2014-tt-bxd-25082014
Bxd 11 2014-tt-bxd-25082014Mèo Hoang
 
Towards a Digital Society English
Towards a Digital Society EnglishTowards a Digital Society English
Towards a Digital Society EnglishPlanetHatch
 
We are uncw track & field presentation
We are uncw track & field presentationWe are uncw track & field presentation
We are uncw track & field presentationLayne Schwier
 
資訊架構(Part 1)
資訊架構(Part 1)資訊架構(Part 1)
資訊架構(Part 1)Chris Chang
 
もしも私がカドカワの川上量生CEOならどのようにして会社を成長させるか? -ニコニコ動画を持つ企業の経営戦略-
もしも私がカドカワの川上量生CEOならどのようにして会社を成長させるか? -ニコニコ動画を持つ企業の経営戦略-もしも私がカドカワの川上量生CEOならどのようにして会社を成長させるか? -ニコニコ動画を持つ企業の経営戦略-
もしも私がカドカワの川上量生CEOならどのようにして会社を成長させるか? -ニコニコ動画を持つ企業の経営戦略-Takashi Okada
 

En vedette (16)

Getting Started with Puppet on Windows - PuppetConf 2014
Getting Started with Puppet on Windows - PuppetConf 2014Getting Started with Puppet on Windows - PuppetConf 2014
Getting Started with Puppet on Windows - PuppetConf 2014
 
Zen and the Art of Automated Acceptance Test Suite Maintenance
Zen and the Art of Automated Acceptance Test Suite MaintenanceZen and the Art of Automated Acceptance Test Suite Maintenance
Zen and the Art of Automated Acceptance Test Suite Maintenance
 
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
 
Test-Driven Puppet Development - PuppetConf 2014
Test-Driven Puppet Development - PuppetConf 2014Test-Driven Puppet Development - PuppetConf 2014
Test-Driven Puppet Development - PuppetConf 2014
 
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
 
Web App Security Horror Stories
Web App Security Horror StoriesWeb App Security Horror Stories
Web App Security Horror Stories
 
Package Management on Windows with Chocolatey
Package Management on Windows with ChocolateyPackage Management on Windows with Chocolatey
Package Management on Windows with Chocolatey
 
Producing An App - DigiLittleAcorns
Producing An App - DigiLittleAcornsProducing An App - DigiLittleAcorns
Producing An App - DigiLittleAcorns
 
Kts c1-he thong so
Kts c1-he thong soKts c1-he thong so
Kts c1-he thong so
 
Bxd 11 2014-tt-bxd-25082014
Bxd 11 2014-tt-bxd-25082014Bxd 11 2014-tt-bxd-25082014
Bxd 11 2014-tt-bxd-25082014
 
Towards a Digital Society English
Towards a Digital Society EnglishTowards a Digital Society English
Towards a Digital Society English
 
We are uncw track & field presentation
We are uncw track & field presentationWe are uncw track & field presentation
We are uncw track & field presentation
 
Rules and regs
Rules and regsRules and regs
Rules and regs
 
資訊架構(Part 1)
資訊架構(Part 1)資訊架構(Part 1)
資訊架構(Part 1)
 
もしも私がカドカワの川上量生CEOならどのようにして会社を成長させるか? -ニコニコ動画を持つ企業の経営戦略-
もしも私がカドカワの川上量生CEOならどのようにして会社を成長させるか? -ニコニコ動画を持つ企業の経営戦略-もしも私がカドカワの川上量生CEOならどのようにして会社を成長させるか? -ニコニコ動画を持つ企業の経営戦略-
もしも私がカドカワの川上量生CEOならどのようにして会社を成長させるか? -ニコニコ動画を持つ企業の経営戦略-
 
30 nd.signed
30 nd.signed30 nd.signed
30 nd.signed
 

Similaire à Managing Windows with Puppet and Chocolatey

Student Information & Result Processing Sytem
Student Information & Result Processing SytemStudent Information & Result Processing Sytem
Student Information & Result Processing SytemMuslim U. Sumon
 
Durgesh o level_2nd_part
Durgesh o level_2nd_partDurgesh o level_2nd_part
Durgesh o level_2nd_partDurgesh Singh
 
How to Build Tools for Data Scientists That Don't Suck
How to Build Tools for Data Scientists That Don't SuckHow to Build Tools for Data Scientists That Don't Suck
How to Build Tools for Data Scientists That Don't SuckDiana Tkachenko
 
CTTS CASE STUDY - Milestone 2 Problem AnalysisPage 2-7MILEST.docx
CTTS CASE STUDY - Milestone 2 Problem AnalysisPage 2-7MILEST.docxCTTS CASE STUDY - Milestone 2 Problem AnalysisPage 2-7MILEST.docx
CTTS CASE STUDY - Milestone 2 Problem AnalysisPage 2-7MILEST.docxannettsparrow
 
(Prog213) (introduction to programming)v1
(Prog213) (introduction to programming)v1(Prog213) (introduction to programming)v1
(Prog213) (introduction to programming)v1Aaron Angeles
 
Breakdown of fast-e
Breakdown of fast-eBreakdown of fast-e
Breakdown of fast-eNia Wearn
 
PuppetConf track overview: Puppet Applied
PuppetConf track overview: Puppet AppliedPuppetConf track overview: Puppet Applied
PuppetConf track overview: Puppet AppliedPuppet
 
Kallio Chipster Bosc2009
Kallio Chipster Bosc2009Kallio Chipster Bosc2009
Kallio Chipster Bosc2009bosc
 
Automation and machine learning in the enterprise
Automation and machine learning in the enterpriseAutomation and machine learning in the enterprise
Automation and machine learning in the enterprisealphydan
 
Usability Presentation - IIS Brownbag 2013
Usability Presentation - IIS Brownbag 2013Usability Presentation - IIS Brownbag 2013
Usability Presentation - IIS Brownbag 2013Patrick Hays
 
Be a SPOC but dont be a SPOF
Be a SPOC but dont be a SPOFBe a SPOC but dont be a SPOF
Be a SPOC but dont be a SPOFSethMcBean
 
Alphabet soup deployment
Alphabet soup deploymentAlphabet soup deployment
Alphabet soup deploymentStephen Rose
 
ch 01 ----class three----now your computer
ch 01 ----class three----now your computerch 01 ----class three----now your computer
ch 01 ----class three----now your computerInternational advisers
 
ITC 3001, Personal Computer Fundamentals 1 Course Lea.docx
 ITC 3001, Personal Computer Fundamentals 1 Course Lea.docx ITC 3001, Personal Computer Fundamentals 1 Course Lea.docx
ITC 3001, Personal Computer Fundamentals 1 Course Lea.docxMARRY7
 
Machine architecture 2
Machine architecture 2Machine architecture 2
Machine architecture 2TrudieK
 

Similaire à Managing Windows with Puppet and Chocolatey (20)

Student Information & Result Processing Sytem
Student Information & Result Processing SytemStudent Information & Result Processing Sytem
Student Information & Result Processing Sytem
 
Puppet
PuppetPuppet
Puppet
 
Bright copy
Bright   copyBright   copy
Bright copy
 
Durgesh o level_2nd_part
Durgesh o level_2nd_partDurgesh o level_2nd_part
Durgesh o level_2nd_part
 
Bright
BrightBright
Bright
 
How to Build Tools for Data Scientists That Don't Suck
How to Build Tools for Data Scientists That Don't SuckHow to Build Tools for Data Scientists That Don't Suck
How to Build Tools for Data Scientists That Don't Suck
 
CTTS CASE STUDY - Milestone 2 Problem AnalysisPage 2-7MILEST.docx
CTTS CASE STUDY - Milestone 2 Problem AnalysisPage 2-7MILEST.docxCTTS CASE STUDY - Milestone 2 Problem AnalysisPage 2-7MILEST.docx
CTTS CASE STUDY - Milestone 2 Problem AnalysisPage 2-7MILEST.docx
 
(Prog213) (introduction to programming)v1
(Prog213) (introduction to programming)v1(Prog213) (introduction to programming)v1
(Prog213) (introduction to programming)v1
 
Breakdown of fast-e
Breakdown of fast-eBreakdown of fast-e
Breakdown of fast-e
 
PuppetConf track overview: Puppet Applied
PuppetConf track overview: Puppet AppliedPuppetConf track overview: Puppet Applied
PuppetConf track overview: Puppet Applied
 
Dev ops
Dev opsDev ops
Dev ops
 
Kallio Chipster Bosc2009
Kallio Chipster Bosc2009Kallio Chipster Bosc2009
Kallio Chipster Bosc2009
 
Automation and machine learning in the enterprise
Automation and machine learning in the enterpriseAutomation and machine learning in the enterprise
Automation and machine learning in the enterprise
 
Usability Presentation - IIS Brownbag 2013
Usability Presentation - IIS Brownbag 2013Usability Presentation - IIS Brownbag 2013
Usability Presentation - IIS Brownbag 2013
 
Be a SPOC but dont be a SPOF
Be a SPOC but dont be a SPOFBe a SPOC but dont be a SPOF
Be a SPOC but dont be a SPOF
 
Alphabet soup deployment
Alphabet soup deploymentAlphabet soup deployment
Alphabet soup deployment
 
ch 01 ----class three----now your computer
ch 01 ----class three----now your computerch 01 ----class three----now your computer
ch 01 ----class three----now your computer
 
Philly TechFest Systems Center Essentials 2010
Philly TechFest Systems Center Essentials 2010Philly TechFest Systems Center Essentials 2010
Philly TechFest Systems Center Essentials 2010
 
ITC 3001, Personal Computer Fundamentals 1 Course Lea.docx
 ITC 3001, Personal Computer Fundamentals 1 Course Lea.docx ITC 3001, Personal Computer Fundamentals 1 Course Lea.docx
ITC 3001, Personal Computer Fundamentals 1 Course Lea.docx
 
Machine architecture 2
Machine architecture 2Machine architecture 2
Machine architecture 2
 

Dernier

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Dernier (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Managing Windows with Puppet and Chocolatey

  • 1. Managing Windows with Puppet and Chocolatey Seth McBean School Aide | FLAGS High School NYC DIIT School Technology Summit – 2014/07/30
  • 2. Who am I? School Aide at FLAGS High School (07X520) serving as Tech Coordinator since 2008. Seth McBean
  • 3. Let’s start with “Why?” Why manage? Why automate? Why care? Why stay awake?
  • 4. Why manage/automate? Speed Consistency To get rid of those problems that nag me
  • 5. What is management? Management is simply the process of getting the good stuff that we want into computers and removing the bad stuff that we dont want.
  • 6. How do we typically get stuff onto computers? Imaging – bake everything in and when it grows stale and unwieldy, reimage (re-bake) it It’s how we do it. It’s how we’ve done it ….but can we do it better?
  • 7. How do we typically get stuff onto computers? Deploy packages: → Store installer packages somewhere (external drive, file server, etc.) → Use some method to push the packages to the computers and install them (scripts, AD Group Policy, PDQ Deploy, etc.) Better….but is there yet a better way?
  • 8. Get Chocolatey It’s way better… why? Chocolatey is aware of what it installs It’s also aware when there’s a new version
  • 9. Get Chocolatey – The Install from CMD.exe as Administrator: @powershell -NoProfile -ExecutionPolicy unrestricted - Command "iex ((new-object net.webclient).DownloadString ('https://chocolatey.org/install.ps1'))" && SET PATH=% PATH%;%ALLUSERSPROFILE%chocolateybin – OR – via Powershell as Administrator: iex ((new-object net.webclient).DownloadString('https: //chocolatey.org/install.ps1')) Reads like Dickens, doesnt it?!
  • 10. Run Chocolatey Install the current java vm c:> cinst javaruntime Uninstall an old version c:> cuninst javaruntime -Version 6.0.31.1 Upgrade to the latest version c:> cup javaruntime
  • 11. It even does Windows Features List all available Windows Features c:> clist -source windowsfeatures Install TFTP Client c:> cinst -source windowsfeatures TFTP (Generally more useful for Windows server)
  • 12. Why Puppet? Because we’re humans... Humans are inventive and resourceful and... Humans are HORRIBLE at repetitive tasks Computers and software are way better at repeated tasks… once they’re told what to do
  • 13. What is Puppet? A configuration management/reporting system Ookay...what’s that? Puppet provides a way of telling Windows how it should run and what it should do
  • 14. How does Puppet interact with Windows? Puppet uses a Master which is simply a linux hosted program that interacts with an Agent process running on the client machine. The Master collects Facts from the client and uses that information to compile a catalog of instructions that declare the ultimate state of how Resources should look on the client.
  • 15. How does Puppet interact with Windows? The client runs the instructions and reports its activity as well as any errors back to the Master Client: “Hey Master, I did what you said and here’s how it went...” Master: “Atta boy! That’s a good Puppet!”
  • 16.
  • 17. What are Resources? Resources are the things that Puppet manages Resources can be: Files, Services, Packages, Users, Groups, Scheduled Tasks... Puppet uses instructions contained in simple text files called Manifests to declare the end state of Resources
  • 18. What is a Manifest? A Manifest is a plain text file containing instructions written in a declarative language that Puppet uses to define how Resources should be package { 'javaruntime': ensure => 'latest’, provider => ‘chocolatey’, } “Tell Chocolatey, he had better make sure my java is fresh in the morning!!”
  • 19. So what’s this Provider thing? ...and what does Chocolatey have to do with all this? Chocolatey is a Provider for Puppet, which means it’s a method used to install programs which are represented as a type of resource referred to as Packages
  • 20. Okay… you’d better you show me DEMO TIME!!!
  • 21. Everybody needs somebody Where to get help? Docs: http://docs.puppetlabs.com/ Training: https://puppetlabs.com/learn Youtube: http://j.mp/puppetlabs-youtube Puppet Group: http://j.mp/puppet-users-group Chocolatey Group: http://j.mp/chocolatey-group PuppetNYC Meetup: http://j.mp/puppet-nyc-meetup Podcast: http://j.mp/puppetlabs-podcast IRC: #puppet and #chocolatey on Freenode
  • 22. Useful things to watch What is Puppet? http://youtu.be/j8ImF23jZAg Getting Started with the Learning Puppet VM http://youtu.be/8wTiFUZDVfo Getting Started with Puppet http://youtu.be/TdAmAj3eaFI
  • 23. Keep in touch Google+: http://google.com/+SethMcBean LinkedIn: http://www.linkedin. com/SethMcBean Email: seth@sethmcbean.com seth@flagshs.org