Re: [Puppet Users] Puppetmaster performance optimization/best practices?

2013-07-02 Thread Nikola Petrov
Start by setting up passenger. I am always amazed why people even start with mongrel for anything but debugging. The packages from puppetlabs are there and are stable. They will setup the whole thing for you - you just apt-get install or yum install them. Also I am not sure if you will get better

[Puppet Users] Puppetmaster performance optimization/best practices?

2013-07-02 Thread Jeff Zellner
I've recently started to have a problem with my puppetmaster using more and more memory over a few days, and eventually hitting swap. Restarting the puppetmaster services puts things back to normal for a bit. (see: http://i.imgur.com/E8xPYqn.png) I'm running 2.7.11 on distro-standard ruby 1.8.7, w

[Puppet Users] Announce: Puppet 3.2.3-rc1 Available

2013-07-02 Thread Moses Mendoza
**Release candidate:** This version entered RC on July 2, 2013. It has not yet been officially released. 3.2.3 is a bugfix release of the Puppet 3.2 series. It fixes some Windows bugs introduced in 3.2.0, as well as a few performance problems and miscellaneous bugs. = ## P

[Puppet Users] variables inside variable names

2013-07-02 Thread Schofield
Given class java::jdk_1_7_u10{ home=/usr/java/jdk-1.7.0-10 } $java = jdk_1_7_u10 $java_home = ${java::$java::home} I would like $java_home to be equal to /usr/java/jdk-1.7.0-10. Is there an elegant way to make this work? We currently use an inline template to make it work. java_home => in

Re: [Puppet Users] Console: Live Management Supported Platforms.

2013-07-02 Thread Ruth Linehan
Yes, Live Management on PE 3.0 will work with all platforms listed in http://docs.puppetlabs.com/pe/latest/install_system_requirements.html, including Windows and Solaris 10. On Tue, Jul 2, 2013 at 10:45 AM, Sai_Emc wrote: > Puppet agent live management from puppet dashboard supported on all > pl

Re: [Puppet Users] Puppet for Cassandra cluster automation

2013-07-02 Thread Peter Bukowinski
Besides MCollective, which is the ideal choice, any tool that allows you to run a shell command -- in this case, 'puppet agent -t' -- on remote systems will work. Even -- perish the thought! -- an ssh for loop. :) -- Peter On Jul 2, 2013, at 7:56 PM, Jingyan Wang wrote: > Hi, > > I am using

[Puppet Users] Puppet for Cassandra cluster automation

2013-07-02 Thread Jingyan Wang
Hi, I am using Puppet to set up (and later resize) a Cassandra cluster, where I would like to have the configuration changes applied immediately instead of after a certain time interval. Is MCollective the only method to push configuration changes from master to clients (since puppet kick is d

Re: [Puppet Users] Re: Are multiple environments broken in puppet?

2013-07-02 Thread Jakov Sosic
On 05/09/2013 03:33 PM, jcbollinger wrote: Principally, trouble with environments revolves around modules that provide native components (types, providers, or functions) that are not uniform across all defined environments. So, if I have prod and dev environments, how can this problem manifest

Re: [Puppet Users] Copy script from source -> run it -> delete it again

2013-07-02 Thread Jakov Sosic
On 05/20/2013 07:19 AM, Denmat wrote: Hmm, this? exec { "/root/get_phantomjs.sh && rm -f /root/get_phantomjs.sh": Yeah but the puppet resource 'file' will bring it back next run. Assuming script is not containing anything of a security issue, you can put it on a web server and do an exec

Re: [Puppet Users] Purge puppet's reports

2013-07-02 Thread Jakov Sosic
On 02/02/2013 06:17 PM, Ken Barber wrote: tmpwatch is also a good approach: http://linux.about.com/library/cmd/blcmdl8_tmpwatch.htm. Probably requires less scripting, and its already on most distros, probably cleaning your /tmp directories already. What about 'tidy' resource? We use that, with

Re: [Puppet Users] Running multile MySQL Instances on the same server

2013-07-02 Thread Jakov Sosic
On 05/17/2013 04:41 PM, Dan White wrote: Agreed. This is a much cleaner approach to the problem. Yeah, but what about HA clusters? None of the modules are suited for managing HA services, because it's really hard to implement it right and to suit it for all the corner cases in already a corn

Re: [Puppet Users] Re: Practices: what _not_ to manage with Puppet?

2013-07-02 Thread Jakov Sosic
On 05/04/2013 02:25 PM, Luke Bigum wrote: On Saturday, May 4, 2013 12:43:57 PM UTC+1, Martin Langhoff wrote: On Fri, May 3, 2013 at 4:43 PM, Schofield > wrote: > Everything else is managed by puppet. Do you manage complex network setups (bonding, routing) via puppet? There is a

Re: [Puppet Users] Re: Practices: what _not_ to manage with Puppet?

2013-07-02 Thread Jakov Sosic
On 05/04/2013 01:43 PM, Martin Langhoff wrote: On Fri, May 3, 2013 at 4:43 PM, Schofield wrote: Everything else is managed by puppet. Do you manage complex network setups (bonding, routing) via puppet? There is a certain degree of chicken-and-egg in that; how do you handle managing configurat

[Puppet Users] Puppet Enterprise no longer catching "Press Enter to Continue" at end of Exec

2013-07-02 Thread Scott Crowe
I have been working on automating our deployment process which includes a call to an application that expects the user to press Enter when it is complete. Under Puppet Enterprise 2.8.2 it works fine and automatically catches that the process is completed but with Puppet Enterprise 3.0.0 instal

[Puppet Users] How to: In nodes.pp - point "node" to hostnames in a file

2013-07-02 Thread Dax Jack
I am working on a project that involves host names with now sequence to them. I would like my "node" hostnames in nodes.pp to point to a file with a list of these hostnames. Example: node {path/filename} { instead of the usual: node 'www1.example.com' { or node /^www\d+$/ { Can this be d

[Puppet Users] Console: Live Management Supported Platforms.

2013-07-02 Thread Sai_Emc
Puppet agent live management from puppet dashboard supported on all platforms in PE 3.0? Solaris, Windows, etc. Regards Sai. EMC Corporation -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emai

[Puppet Users] Re: Cisco SAN switch support?

2013-07-02 Thread Sai_Emc
Cisco is going to come up with puppet modules for configuration management . Heard this recently @Boston Puppet Conf. On Tuesday, July 2, 2013 9:33:02 AM UTC-4, cncook001 wrote: > > Has anyone tried to make puppet control Cisco SAN switches? > > Craig > -- You received this message because you

[Puppet Users] Re: Weird encoding error: "0xF3" to UTF-8 in conversion from ASCII...

2013-07-02 Thread Álvaro Acción - CiTIUS
A little update. I don't know the real reason behind the problem, but it seems that after changing the network address of the server the problem has suddenly dissapeared. The trace I pasted is the only clue I've got. Now I get a error when calling fork(), but it's a known bug and has already a

[Puppet Users] PostgreSQL module and createlang

2013-07-02 Thread Daniel Londero
Hi! Is there a way to run createlang when creating a database using PostgreSQL module? Or should I use an exec? Thanks in advance Daniel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails f

[Puppet Users] Puppet Dashboard View Production Reports

2013-07-02 Thread GregC
I have an issue where I have one Puppet Dashboard in Development. I am not allowed to install a dashboard in my Production environment, but I would like to : * Pull reports. I currently can do this through an elaborate rsync through some host and then import the reports into Dashboard. * Also gr

[Puppet Users] incompatible character encodings: UTF-8 and ASCII-8BIT

2013-07-02 Thread Rachel Andrew
Hi as part of our setup we have erb templates that are SQL files, we parse then to add in some user details to the SQL (these come from a hiera json file created from PHP) before using that file to create the database. If that data includes UTF-8 characters (for example an e with an acute accen

[Puppet Users] Cisco SAN switch support?

2013-07-02 Thread Craig Cook
Has anyone tried to make puppet control Cisco SAN switches? Craig -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To

Re: [Puppet Users] Password policy for creating users manifest for puppet windows

2013-07-02 Thread Rich Siegel
I probably wouldn't use registry, since it feels hackish. If it is a domain joined pc I would use group policy and can support fine grain pw policies. No puppet required. If its a workgroup pc or you want to manage it locally instead of gpo: On reference computer--1.

[Puppet Users] Re-create my.cnf when using Puppet MySQL module

2013-07-02 Thread dusan . dordevic
Hi, I am using Puppet MySQL module from forge and everything works as expected. It downloaded and installed mysql, created database, set pass, etc. I wanted to make few configuration changes, so I changed mysql/templates/my.cnf.erb but it seems Puppet did not detected that change. What be the

[Puppet Users] Re: PSON and JSON

2013-07-02 Thread bjoern pohl
> Found that pson ist just the pure json ruby gem, rebundled to aviod > conflicts, > but it seems that while normal json code gives me some kind of this {key:value, key2:value2}, puppet returns something like this: Puppet.find("johndoe.local") => #"4294965248", "blockdevices"=>"fd0,hda,sda",

[Puppet Users] Re: Puppi parameters in command line

2013-07-02 Thread Alessandro Franceschi
Hi Il giorno mercoledì 26 giugno 2013 00:29:26 UTC+2, NewUser5 ha scritto: > > Hi , > I am a new puppet user. As i am not used yet to ruby and puppet I've > decided to use the puppi module to deploy web applications in my company. > I ve created some specific define , scripts etc and I saw r

[Puppet Users] PSON and JSON

2013-07-02 Thread bjoern pohl
HI, i'm currently trying to connect a rails app using the "her" gem/library (since active ressource is gone since rails 4) to Puppet's REST API. Now, "her" or activeressource both speak json, while Puppet speaks pson, which should be nearly the same according to some posts here. Communication alr

[Puppet Users] Re: Weird encoding error: "0xF3" to UTF-8 in conversion from ASCII...

2013-07-02 Thread Álvaro Acción - CiTIUS
The output I get is this one: C:\Program Files (x86)\Puppet Labs\Puppet\bin>puppet.bat agent --server=pupbuntu .inv.usc.es --no-daemonize --verbose --debug --trace Could not retrieve domain: undefined method `gsub' for nil:NilClass Could not retrieve domain: undefined method `gsub' for nil:NilCla