Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Pushing One-off configurations, and, Configuration layers.

$
0
0

I've used DSC to push a simple configuration for installing an MSI using the Package resource. It worked perfectly and so I want to use this method to perform 'one off' package installations in the future. I have a couple of questions for you guys:

- If I push another configuration for a different package, will any prior configurations for installing packages ( or any other configurations in general ) still be in-force? Or will only the latest configuration be effective? At this point I am looking at doing a separate configuration for each package, since they are one-offs. ( I will likely move to a pull model in the very near future ).

- Is there a way to 'clear' any history of configurations that have been applied? For example, If I want to use a configuration to, say, install some services and create some directories, can I then 'blank' the configuration history, but keep the settings that were applied by these previously applied configurations? 

- Is it possible to use one set of configurations to set up a base, or 'layer 1' setting, and another set of configurations to modify another subsequent, 'layer 2' set of configurations? For example, I'd like to use configurations to apply a base set of services and settings, and then, for specific subset of these servers, apply another different set of configurations as an add-on layer, and for this subset of servers, both layer 1 and layer 2 are in force, but, I will only be actively changing layer 2. Changes to layer 2 will be ongoing, but I dont want to have to re-specify the config settings from layer 1. Additionally, can layer 1 and layer 2 both be applied in a pull modality, or a mix of both push and pull?

Thanks for your help in understanding!


Viewing all articles
Browse latest Browse all 6937

Trending Articles