windows powershell desired state configuration (dsc) for veteran chefs - chefconf 2015

Download Windows PowerShell Desired State Configuration (DSC) for Veteran Chefs - ChefConf 2015

Post on 16-Aug-2015

58 views

Category:

Technology

2 download

Embed Size (px)

TRANSCRIPT

  1. 1. S T E V E N M U R A W S K I - @ S t e v e n M u r a w s k i D A M I E N C A R O - @ d c a r o A p r i l 2 , 2 0 1 5
  2. 2. D SC C onfigur ation Syntax
  3. 3. PS DSC Extension point DSC is the built-in configuration platform for Microsoft
  4. 4. Feature DSC Chef Configuration as Code Yes Yes Domain Specific Language (DSL) Yes Yes DSL embedded within Script Language Yes - PowerShell Yes Ruby Resource Concept Yes Yes Configurable resource attributes Yes Property Yes Attribute Idempotence of operations Yes Yes Convergence Yes Yes Client agent / tool Yes LCM / Start- DSCConfiguration Yes chef-client / chef- client
  5. 5. Feature DSC Chef Configuration as Code Yes Yes Domain Specific Language (DSL) Yes Yes DSL embedded within Script Language Yes - PowerShell Yes Ruby Resource Concept Yes Yes Configurable resource attributes Yes Property Yes Attribute Idempotence of operations Yes Yes Convergence Yes Yes Client agent / tool Yes LCM / Start- DSCConfiguration Yes chef-client / chef- client
  6. 6. # Chef env 'editor' do key_name "EDITOR" value "emacs" end # DSC environment editor { Name = "EDITOR" Value = "emacs" }
  7. 7. dsc_script 'myexample1' do code

Recommended

View more >