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

2012-11-30 Thread r0k5t4r
result else query = wmi.ExecQuery('select OSArchitecture from Win32_OperatingSystem') query.each do |os| result = os.OSArchitecture break end result end

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-27 Thread r0k5t4r
36:20 PM UTC+1, Josh Cooper wrote: > > 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 > Window

[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

[Puppet Users] slow file transfer using puppet client on solaris

2012-04-13 Thread r0k5t4r
Hi, I just wrote a new module and noticed the the file transfer under solaris is extremely slow. The file is just about 50mbyte and it transfers ok under Linux but not under Solaris. The Solaris box is really old (Ulta10) and is running puppet 2.7.9. Is this a limitation of the puppet client unde

[Puppet Users] Re: Custom Function to generate random password

2012-04-03 Thread r0k5t4r
Hi, thanks a lot. Just what I was looking for. Works like a charm. :) Best Regards On 3 Apr., 13:36, Krzysztof Wilczynski wrote: > Hi, > > On Tuesday, 3 April 2012 07:36:06 UTC+1, r0k5t4r wrote: > > > Hi, > > > I'm currently trying to write a simple function t

[Puppet Users] Custom Function to generate random password

2012-04-02 Thread r0k5t4r
Hi, I'm currently trying to write a simple function to generate a random password. I have looked at the fqdn_rand.rb script to get things going but unfortunately my ruby skills are very bad. I found the following code snippet that does what I need: begin def random_password(size = 8) chars = (

Re: [Puppet Users] Puppet on OpenSuSE & SLES

2012-03-29 Thread r0k5t4r
Hi, never mind I found a package on opensuse build: https://build.opensuse.org/package/binary?arch=i586&filename=ruby-shadow-1.4.1-10.1.i586.rpm&package=ruby-shadow&project=home%3Amcadet&repository=SLE_11_SP1 Am Donnerstag, 29. März 2012 11:03:42 UTC+2 schrieb r0k5t4r: >

Re: [Puppet Users] Puppet on OpenSuSE & SLES

2012-03-29 Thread r0k5t4r
Hi, would you mind sharing the specfile you have used to build ruby-shadow? Regards, Oliver Am Montag, 12. März 2012 17:46:17 UTC+1 schrieb Jeffrey Watts: > > I took the RHEL/EPEL RPMs for ruby-shadow and puppet and rebuilt them for > SLES. There are very few things that need changing. The RH