Re: [Puppet Users] ReportEvent() failed: The parameter is incorrect. Error

2013-10-08 Thread Josh Cooper
Hi Bill, On Thu, Oct 3, 2013 at 1:40 PM, Bill Stephens wrote: > I'm getting this error on a windows server when it's trying to compare 2 > files using gnuwin32 diff.exe. > > Debug: Executing 'C:\GnuWin32\bin\diff -u > d:/AICS.CLAIMS.new/ASPX/App.config C:/ > Users/BSTEPH~1/AppData/Local/Temp/2/p

[Puppet Users] Re: FW: parameters to a defined type from the puppet console

2013-10-08 Thread Paul Tötterman
> > I can't use the same class with different parameters for the same node Classes can only be declared once per node. If you want multiple somethings per node, you need defined types. Would something like this work? define foo($param) { notice { $param: } } node example { foo { 'test1':

[Puppet Users] FW: parameters to a defined type from the puppet console

2013-10-08 Thread AMARASINGHAM, Chandra
Hi, Sorry I just saw my email and saw a typoit should be re-written to include I can't use the same class with different parameters for the same node Any ideasor a way around this? Chandra From: puppet-users@googlegroups.com [puppet-users@google

[Puppet Users] Installing ActiveRecord fails

2013-10-08 Thread ytmp123
Hello guys, When I try to execute this: "gem install activerecord" Then I get the error message: "Error installing activerecord. ERROR: Failed to build gem native extension" I'm using: Ubuntu 12.10 Ruby 1.9.3p194 Puppet 2.7.18 Can you give me some hint how to solve this problem? -- You rece

Re: [Puppet Users] Force Fact within manifest

2013-10-08 Thread Paul Oyston
I'm really only wanting an up to date set of facts once the puppet agent has finished making changes to the system, I'm not wanting to modify the catalog run process by modifying facter values during the run process. I'm aware that the facts are evaluated and the manifests compiled at the begin

[Puppet Users] Facter incorrectly detecting Virtual status on Windows VM

2013-10-08 Thread Jason Harmon
Ran into a problem with Facter on a Windows 2008 R2 system running on a proxmox server. Facter reports the machine as being physical. This is due to the WMI query used in the virtual.rb file is being return "Bochs" as the Manufacturer and Model. Adding an additional "When" statement to the R

Re: [Puppet Users] Re: [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-10-08 Thread Jason Harmon
I have the same type of setup with MSCS running in a virtual environment. The change to the windows.rb file fixed my facter problem as well. puppet agent --test now completes on the machines now. On Friday, 4 October 2013 06:13:23 UTC-6, Ethan Brown wrote: > > Christian - > > Thanks a bunch for t

[Puppet Users] SSL Certificate expiration on Load Balancer

2013-10-08 Thread Zane Williamson
Greetings, I am not sure what the best steps are to replace an SSL ceritificate that has expired on the load balancer that the puppet agents use. setup: agent ---> loadbalancer w/ SSL Cert port 8140 ---> 2 master systems with shared SSL directory on nfs. Here is what the puppet.conf looks l

Re: [Puppet Users] Trying to get an mcollective module that works with ssl and doesn't use guest users

2013-10-08 Thread Ramin K
On 10/8/2013 1:22 PM, David Griffith wrote: For several months I've been tearing my hair out trying to get Puppet to install mcollective such that it talks with rabbitmq over SSL. No modules have worked. A couple days ago I noticed a new module from Puppetlabs. I tried this and it doesn't work

[Puppet Users] Trying to get an mcollective module that works with ssl and doesn't use guest users

2013-10-08 Thread David Griffith
For several months I've been tearing my hair out trying to get Puppet to install mcollective such that it talks with rabbitmq over SSL. No modules have worked. A couple days ago I noticed a new module from Puppetlabs. I tried this and it doesn't work either. Just starting out with this: nod

[Puppet Users] seperating current puppet dashboard from puppet master

2013-10-08 Thread rmarque
I am a puppet newb Looking for a how to on seperating the dashboard from the puppet master. I currently have the latest dashboard installed on second server but using the same certs as the master. I am using apache virtualserver with port 80 on the master to send the reports to the dashboard

Re: [Puppet Users] Force Fact within manifest

2013-10-08 Thread jcbollinger
On Tuesday, October 8, 2013 4:31:17 AM UTC-5, Paul Oyston wrote: > > Hi Wolf, > > Thanks for that diagram, that's incredibly helpful. > > It seems a bit of an oversight not to allow facts to be updated during the > manifest phase since manifests are making changes to the system and > therefore

[Puppet Users] puppet module

2013-10-08 Thread John
I need to write a puppet SSHD module that does the following: First I have 5 different operating systems to install to: Red Hat, Free BSD, AIX, Ubuntu, and SuSE. The second requirements: If the host file contains an entry of host-A.domain.com (for example) then I need ssh-config1 installed. I

[Puppet Users] 'puppet storeconfigs export' killed

2013-10-08 Thread Roger Torrentsgenerós
Hi, I currently have a MySQL database containing all Puppet storeconfigs. My intention is to migrate to PuppetDB on a PostgreSQL server, so the first step is to use the 'storeconfigs' face to export all the DB to a file PuppetDB can later consume. But the 'puppet storeconfigs export' command

Re: [Puppet Users] Puppet.3.3.0.msi Package Failed to Install

2013-10-08 Thread chengkai liang
The error I post was related to MSI package installation, and I haven't even been able to successfully execute msiexec /qn /i ... to install PE 3.0 On Oct 6, 2013, at 3:28 PM, chengkai liang wrote: > I will see if that version fix the problem. > > On Oct 6, 2013, at 11:16 AM, Rob Reynolds wro

Re: [Puppet Users] Puppet Dynamic Environments Setup

2013-10-08 Thread chengkai liang
It seems that instead of add the following line in [master], they have to be in [agent] for dynamic environment to work. So the document does not reflect what PE 3.x is. On Oct 8, 2013, at 7:52 AM, wilddog64 wrote: > So I follow this document to setup the puppet dynamic environment, and my >

[Puppet Users] parameters to a defined type from the puppet console

2013-10-08 Thread AMARASINGHAM, Chandra
Hi, I would like to use a defined type and enter parameters from the puppet console. So far I can only use defined types in a class because the puppet console only seems to allow assigning configuration via classes. This means that I can use the same class with different parameters for the

[Puppet Users] Puppet Dynamic Environments Setup

2013-10-08 Thread wilddog64
So I follow this documentto setup the puppet dynamic environment, and my puppet.conf for dynamic environment settings looks like this, # Setup dynamic environments with R10k environment = production manifest= $con

Re: [Puppet Users] LogStash Book released

2013-10-08 Thread Worker Bee
I have the logstash book, it is excellent! Thank you! Do you have any in-depth Kibana documentation ? Thanks! On Mon, Feb 4, 2013 at 10:56 AM, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all > > I've just released 'The LogStash Book' (http://www.logstashbook.

Re: [Puppet Users] Force Fact within manifest

2013-10-08 Thread Paul Oyston
For anyone else wanting to do something similar: For now I've just used the postrun_command on the puppet agents so that the facts will be uploaded to the server once modifications have been made. e.g. postrun_command "puppet facts upload" This will then re-upload the facts once the puppet agen

Re: [Puppet Users] Re: Still no nagios joy

2013-10-08 Thread David Thompson
On 10/4/13 1:39 PM, Deepak Giridharagopal wrote: So, "puppet agent --test --environment production" fails to create resources findable via REST (and in fact removes them if they're present), but "puppet apply foo.pp" (with foo.pp containing the statements above) makes them findab

[Puppet Users] Re: user management define once an add if required on server

2013-10-08 Thread Andreas Dvorak
Hi, there is a problem If I want to add a second user with the same group to the same server I get this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Group[baader] is already declared in file /etc/puppet/git/modules/accounts/manifests

Re: [Puppet Users] user management define once an add if required on server

2013-10-08 Thread Andreas Dvorak
Hi Johan, thank you for the hint with virtual resources. Here is my solution cat init.pp class accounts { @accounts::virtual {'test1': comment => "test1", uid => "1056", gid => "880", group => "baader", shell => "/bin/bash", password => '$1$6hsRON8i7w5JncJ

Re: [Puppet Users] user management define once an add if required on server

2013-10-08 Thread Johan De Wit
Have a look at virtual resources. When needed, you can realize them. The puppet cookbook has a chapter explaining this On 10/08/2013 01:15 PM, Andreas Dvorak wrote: Dear all I am looking for a solution for a module to define alle possible user and then install the one or more user from that m

[Puppet Users] user management define once an add if required on server

2013-10-08 Thread Andreas Dvorak
Dear all I am looking for a solution for a module to define alle possible user and then install the one or more user from that module if needed on a server, but not all of them. My idea is something like this. Can I define a user in the nodes.pp at a special Server to install that user? init.p

Re: [Puppet Users] Force Fact within manifest

2013-10-08 Thread Paul Oyston
Hi Wolf, Thanks for that diagram, that's incredibly helpful. It seems a bit of an oversight not to allow facts to be updated during the manifest phase since manifests are making changes to the system and therefore potentially modifying facts during their run. I might look into modifying the ag

Re: [Puppet Users] rspec and overriding :facts per context

2013-10-08 Thread Johan De Wit
Hi Dan, Thx for the tip ! Just what i was looking for. I will delve into the spec files here, i can learn a lot of them grts jo On 10/08/2013 01:25 AM, Dan Bode wrote: I do this with params.merge! in a before block: here is an example: https://github.com/stackforge/puppet-openstack/blob/m

[Puppet Users] Re: Puppet controling Network Interfaces OS:CentOS 5.x

2013-10-08 Thread Rahul Khengare
Hi James, You can take a look on network modules present on puppet forge, 1. https://forge.puppetlabs.com/adrien/network 2. https://forge.puppetlabs.com/razorsedge/network hope this will help. Thanks and Regards, Rahul Khengare, NTTDATA OSS Center, Pune, India. -- You received this message