[Puppet Users] Puppet Agent on Windows and file paths 32 or 64 Bit

2012-11-21 Thread r0k5t4r
Hi, I just started using puppet agent on windows 32Bit and my manfiests are working good so far. Now when using the same manifests on a 64Bit Windows machine I get trouble about the very special Program Files path. :( Is there a way of using a variable in puppet manifests and the puppet agent

Re: [Puppet Users] Puppet Agent on Windows and file paths 32 or 64 Bit

2012-11-26 Thread Josh Cooper
Hi Oliver, On Wed, Nov 21, 2012 at 8:08 AM, r0k5t4r wrote: > I just started using puppet agent on windows 32Bit and my manfiests are > working good so far. Now when using the same manifests on a 64Bit Windows > machine I get trouble about the very special Program Files path. :( Facter 1.6.10 wil

Re: [Puppet Users] Puppet Agent on Windows and file paths 32 or 64 Bit

2012-11-27 Thread r0k5t4r
Hi Josh, thanks a lot for pointing this out. I will update the install on all windows machines to the latest puppet 2.7.x release. This updates facter and the architecture is correctly display unless it's running 32Bit on 64Bit hardware. Regards, Oliver On Monday, November 26, 2012 6:36:20 PM

Re: [Puppet Users] Puppet Agent on Windows and file paths 32 or 64 Bit

2012-11-27 Thread ad
Hey Oliver, You can use my winfacts module, or just strip out the os_archtecture fact from it: https://github.com/adenning/winfacts/blob/master/lib/facter/os_architecture.rb That will correctly handle 32-bit OS on 64-bit hardware. Adam On Tuesday, November 27, 2012 5:04:47 AM UTC-6, r0k5t4r w

Re: [Puppet Users] Puppet Agent on Windows and file paths 32 or 64 Bit

2012-11-30 Thread r0k5t4r
Hi Adam, thanks a lot. I have successfully implemented your or_architecture fact on our machines. But it looks like it is not workung under Windows 2003 32Bit.I have to check this... Regards, Oli -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou

Re: [Puppet Users] Puppet Agent on Windows and file paths 32 or 64 Bit

2012-11-30 Thread r0k5t4r
Hi Adam, The class Win32_OperatingSystemexists on Vista and above. For older systems you can use Win32_ComputerSystem. I found this information here: http://www

Re: [Puppet Users] Puppet Agent on Windows and file paths 32 or 64 Bit

2012-11-30 Thread ad
Hi Oliver, Nice catch! Thanks for posting your patch. Cheers, Adam On Friday, November 30, 2012 9:27:05 AM UTC-6, r0k5t4r wrote: > > Hi Adam, > > The class > Win32_OperatingSystemexists > on Vista and above. For older systems y

Re: [Puppet Users] Puppet Agent on Windows and file paths 32 or 64 Bit

2012-12-06 Thread ad
Hey Oliver, I finally got around to working on this today, and discovered I fixed it long ago and completely forgot to push the change to github. oops :) Looks like I took a different approach. https://github.com/adenning/winfacts/blob/master/lib/facter/os_architecture.rb I only run Puppet on