# Configuration management tool

**URL:** <https://www.ruby-forum.com/t/configuration-management-tool/193842>\
**Category:** Ruby\
**Created:** [August 25, 2010, 1:10pm UTC](https://www.ruby-forum.com/t/configuration-management-tool/193842 "2010-08-25T13:10:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f04885/32.png) [@beer](https://www.ruby-forum.com/u/beer)\
**Post date:** [August 25, 2010, 1:10pm UTC](https://www.ruby-forum.com/t/configuration-management-tool/193842/1 "2010-08-25T13:10:26Z")

</div>

Hello all.

I wanted to use Puppy to maintain configuration for some Windows  
servers,  
but apparently the port is not mature yet for Win32.

So, I’m thinking of implementing it myself. My needs are simple:

- copy files over
- restart IIS/services
- edit XML files (add/remove keys)
- register assemblies in the GAC

So, it’s kinda like Windows’ System Restore functionality, in spirit.

My question is: does someone know of something that can do this for  
Windows? And if not, is there a way to register assemblies in the GAC  
with  
IronRuby, or do I have to encapsulate gacutil in a system call? (same  
for  
services, too).

Thanks for any feedback in advance!

---

<div class="post-metadata">

**Author:** ![beer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f04885/32.png) [@beer](https://www.ruby-forum.com/u/beer)\
**Post date:** [August 25, 2010, 9:00pm UTC](https://www.ruby-forum.com/t/configuration-management-tool/193842/2 "2010-08-25T21:00:39Z")

</div>

On Wed, 25 Aug 2010 13:04:32 +0200, Bruno A [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote in [1gdpv81v6wm0c$.16njt4o30mdzd$removed\_email\_address@domain.invalid](mailto:1gdpv81v6wm0c$.16njt4o30mdzd$removed_email_address@domain.invalid):

[snip configuration management util for Windows hosts]

> My question is: does someone know of something that can do this for  
> Windows?

Not off the top of my head, but that doesn’t mean that it doesn’t  
exist.

> And if not, is there a way to register assemblies in the GAC with  
> IronRuby,

This thread on Stackoverflow shows how to do it programmatically using  
the IComSoapPublisher.GacInstall method: [http://bit.ly/dcF6lf](http://bit.ly/dcF6lf). You  
should be able to call that from IronRuby.
