RFC: Extract DSC from Existing Environments
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- powershell
- Ambito
- cloud, devops, infrastructure
Direzione di ricerca
Inizia con la sezione Specifications dell'RFC e analizza il modulo ReverseDSC Core e il progetto SharePointDSC.Reverse referenziati. Traccia il modo in cui Get-TargetResource recupera attualmente le istanze delle risorse e il modo in cui il Export-TargetResource proposto si coordinerebbe con il modulo di utilità globale. Il lavoro è completato quando viene prodotto un design revisionato per estrarre gli ambienti esistenti in script DSC riutilizzabili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
--
RFC: RFC00xx
Author: Nik Charlebois
Reverse Engineering Existing Environment into DSC
Users have been complaining about the learning curve to get started with DSC and about the amount of work it takes for them to re-write their existing technology investment onto DSC for monitoring purposes. There have been various community projects to solve this issue by extracting DSC configurations out of existing environments, such as ReverseDSC, which had incredible success with clients wanting to adopt Configuration as Code practices within their organizations.
The purpose of this RFC is to propose that a fourth method that would retrieve all instances of a resource against an existing environment be included in DSC resources for them to be identified as HQRM.
Motivation
- Reduce amount of work required to on-board existing environments onto DSC
- Reduce learning curve to get started with DSC
- Provide an automated path to migrate on-premises environments onto Azure
- Allow users to easily document their environment’s configuration as code
- Quickly compare configuration deltas between two environments
Specifications
There are three components to the requested solution:
- Component 1 needs to iterate through all instances of the current resource and provide the Get-TargetResource function the key parameters for it to be able to retrieve all other parameters associated with this resource instance.
- Component 2 needs to retrieve the Hash tables received back from the Get-TargetResource and convert them into a DSC string. This is already automated and handled by the existing ReverseDSC Core module https://github.com/microsoft/reversedsc
- Component 3 needs to orchestrate the calls to the resources’ Component 1 and 2 and collect the results into a resulting file, which will be a DSC script that can be used to replicate the environment.
The vision is as follow:
Component 1 and 2 would be combined into a new fourth function required by every HQRM, call it Export-TargetResource. Component 3 would be a global utility module, contained within the DSC module, which would orchestrate all the calls to the module’s Export-TargetResource methods (see SharePointDSC.Reverse at https://github.com/microsoft/sharepointdsc.reverse for a reference)
- Lingua principale
- PowerShell
- Stelle
- 471
- Fork
- 144
- Merge medio
- 17h 10m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PowerShell/PowerShell-RFC
-
Update template Plan to implement to allow additional optionForse già presa @kilasuit l’ha presa 344 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
PowerShell/PowerShell-RFC#404 · 1 commento ·
-
PowerShell Community Dashboard: No Data After October 2024Forse di nuovo libera @theJasonHelmick l’ha presa 276 giorni fa e non c’è nessuna pull request aperta. Aperta
PowerShell/PowerShell-RFC#407 · 1 commento · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
PowerShell/PowerShell-RFC#396 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
PowerShell/PowerShell-RFC#334 · 2 reazioni ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
PowerShell/PowerShell-RFC#327 · 28 commenti · 31 reazioni ·
Tutte le issue di PowerShell/PowerShell-RFC
Issue simili
-
CI
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 73/100
earth-mover/icechunk#2560 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
floci-io/floci#8666 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
gke-labs/kube-agents#6094 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
googlecodelabs/feedback#2397 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
aws/aws-emulator#479 ·