Ask Your Question
1

Using the Windows dism module on 64/bit Windows?

asked 2013-03-24 13:56:27 -0500

Yooakim gravatar image

I'm evalutating Puppet for a client and we are writing manifests for both Linux and Windows. Since a majort part of managing Windows is adding/removing features using the puppetlabs/dism module from PuppetForge is tempting.

But looking at the code it looks as if this module only works for 32-bit Windows. At least my experience is that you can not use the dism tool to service a running 64-bit system with the 32-bit version of dism.

Any toughts on this?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-04-05 15:30:14 -0500

nanliu gravatar image

It works with 64bit Windows. See: https://github.com/puppetlabs/puppetlabs-dism/blob/master/lib/puppet/provider/dism/dism.rb#L7-L13

edit flag offensive delete link more
1

answered 2013-04-13 14:44:19 -0500

Make sure you grab https://github.com/vrutsky/puppetlabs-dism changes since they are not yet merged, and will resolve a number of issues with exit codes.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-03-24 13:56:27 -0500

Seen: 800 times

Last updated: Apr 13 '13