[Puppet Users] How to trace an order of all execs ?

2013-05-23 Thread przemol
Hello, I have some class which has quite a lot of execs with notify etc. Since puppet is not required to run them in the order they are in a file is it possible to monitor an order of all execs including parameters/arguments for each exec ? Regards -- You received this message because you

Re: [Puppet Users] Announce: Puppet 3.2.1 Available

2013-05-23 Thread Andreas Ntaflos
On 2013-05-22 21:54, Matthaus Owens wrote: Puppet 3.2.1 is a bugfix release for the 3.x series of Puppet. Did something change in the way Puppet outputs messages? Until this morning we used the following to run Puppet from Cron on all our nodes: cron { 'puppet_agent': ensure = 'present',

Re: [Puppet Users] How to trace an order of all execs ?

2013-05-23 Thread Nikola Petrov
Well you can run echo with the parameters in a wrapper script. I am not sure if puppet has support for this. Of course you can watch the order with --trace --debug but it might not give you the whole command parameter but just the exec title. If you can make those to match you will be ok

Re: [Puppet Users] if word1 match so I replaced it with word2

2013-05-23 Thread Nikola Petrov
Hi On Wed, May 22, 2013 at 01:43:23PM -0700, Stan wrote: Hi I would like to replace a word with another in a config file if word1 match so I replaced it with word2 I looked augeas but it does not seem to. Can you please tell us the specific configuration format and maybe an example

[Puppet Users] Re: Announce: Puppet 3.2.1 Available

2013-05-23 Thread Martijn
Ah, that bit me too. Thanks for clarifying. That's why aptitude was unable to find a correct path to upgrade from Puppet 3.1. I'll add the dependencies repo on all nodes. Regards, Martijn Op donderdag 23 mei 2013 02:08:42 UTC+2 schreef Matthaus Litteken het volgende: I neglected to mention

[Puppet Users] Re: Announce: Puppet 3.2.1 Available

2013-05-23 Thread Thomas Eichberger
I like the new features in 3.2.1 very much. My suggestion for the lambda syntax is: *# Alternative 1: Parameters are inside the lambda block. [1,2,3].each { |$value| notice $value } * Then it's more like Ruby. -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] How to trace an order of all execs ?

2013-05-23 Thread przemol
Nikola, thanks for --trace --debug. It helped me a lot with fighting bug I had with execs. On Thursday, May 23, 2013 10:19:58 AM UTC+1, nikolavp wrote: Well you can run echo with the parameters in a wrapper script. I am not sure if puppet has support for this. Of course you can watch the

[Puppet Users] Re: Puppet - rbuf_fill timeout error periodically on puppet client runs

2013-05-23 Thread jcbollinger
On Wednesday, May 22, 2013 1:39:46 PM UTC-5, phundisk wrote: I am using passenger setup right now. I agree with your thought that it is either the addition of tons of exported resources or the puppet master server. I will run some experiments and see if this can be resolved. Don't

Re: [Puppet Users] How to trace an order of all execs ?

2013-05-23 Thread jcbollinger
On Thursday, May 23, 2013 5:50:33 AM UTC-5, przemol wrote: Nikola, thanks for --trace --debug. It helped me a lot with fighting bug I had with execs. It is best if the Execs are not sensitive to the relative order in which they run, but to the extent that they *are* sensitive to order,

[Puppet Users] Re: if word1 match so I replaced it with word2

2013-05-23 Thread Stan
hi in my origine file if puppet see word1: replace by word2: not more Le mercredi 22 mai 2013 22:43:23 UTC+2, Stan a écrit : Hi I would like to replace a word with another in a config file if word1 match so I replaced it with word2 I looked augeas but it does not seem to. you would

[Puppet Users] manifest for fusioninventory-agent

2013-05-23 Thread Stan
Hi I create a manifest for fusioninventory-agent on my puppet server On my puppet client if i modify file /etc/sysconfig/fusioninventory-agent the file fusioninventory-agent replace by puppet server configuration (this is OK) But if i stop fusioninventory-agent on my puppet client, puppet

[Puppet Users] Problems installing git for windows using Puppet

2013-05-23 Thread Louis
This might not be related to Puppet but it seems that the installation process hangs. I have tried this configuration on an empty w2008r2 VM. file { $pkg: ensure = present, name = 'C:\Temp\Git-1.8.1.2-preview20130201.exe', source = 'puppet:///puppetfs/Git-1.8.1.2-preview20130201.exe',

Re: [Puppet Users] puppet pull code from svn

2013-05-23 Thread Alessandro Franceschi
You may also find this useful: https://github.com/example42/puppet-svn/blob/master/manifests/reposync.pp it creates a command that can be used either via Puppet or via cron or directly via shell to pull code from a subversion repository. A similar alter-ego for git is:

[Puppet Users] Very slow puppet agent runs on empty/noop manifests (v3.2.1)

2013-05-23 Thread Martin Langhoff
This is a VM with 1GB RAM and almost nothing running on it. It takes 10s to read a manifest that defines one node, one class, and checks whether puppet package is installed... Where is all the time going? Is something wrong? Details - # cat /etc/redhat-release CentOS release 6.4 (Final)

Re: [Puppet Users] Very slow puppet agent runs on empty/noop manifests (v3.2.1)

2013-05-23 Thread Keith Burdis
Are you running into the Socket.gethostbyname(Socket.gethostname) issue pointed out by Wil Cooley a few days ago? https://groups.google.com/forum/?fromgroups#!topic/puppet-dev/z09Nkk18tREhttps://groups.google.com/forum/?fromgroups#!topic/puppet-dev/z09Nkk18tRE If so there is potential

Re: [Puppet Users] Very slow puppet agent runs on empty/noop manifests (v3.2.1)

2013-05-23 Thread Martin Langhoff
On Thu, May 23, 2013 at 12:25 PM, Keith Burdis ke...@burdis.org wrote: Are you running into the Socket.gethostbyname(Socket.gethostname) issue pointed out by Wil Cooley a few days ago? https://groups.google.com/forum/?fromgroups#!topic/puppet-dev/z09Nkk18tRE If so there is potential

[Puppet Users] Re: manifest for fusioninventory-agent

2013-05-23 Thread Ellison Marks
Could be that the status command isn't returning sane values. From the docs: http://docs.puppetlabs.com/references/latest/type.html#service hasstatusDeclare whether the service’s init script has a functional status command; defaults to true. This attribute’s default value changed in Puppet

[Puppet Users] Newbie Question: How to push/pull from other servers

2013-05-23 Thread Dan Hyatt
Hi all, How from the master server do I push a file to a client server (server group of 3-4 servers)? I know I saw it in the documentation, but now all I can find is the templates which is in next steps, unless it is easier to setup a templete to push out to a small set of servers. Been

Re: [Puppet Users] Re: Announce: Puppet 3.2.1 Available

2013-05-23 Thread Chris Prior
I am having the same issue... Running on Ubuntu as below: Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise Managed using Vagrant, puppet master being installed via the puppetlabs puppet module from puppet forge: err:

[Puppet Users] accessing one master via multiple hostnames (internal external)

2013-05-23 Thread Ernest Beinrohr
Hi, I currently use one puppetmaster for my external and internal servers. For the externals however I have to modify my /etc/hosts for puppet to work. Is it possible to use a different hostname for my master without the agents complaining? -- You received this message because you are

[Puppet Users] Re: apt repository appears to have dependency issue with latest release (3.2.1)

2013-05-23 Thread Chris Prior
I am having the same issue... Running on Ubuntu as below: Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise Managed using Vagrant, puppet master being installed via the puppetlabs puppet module from puppet forge: err:

[Puppet Users] Execution order of classes in a node

2013-05-23 Thread Bikram Agarwal
Hi. I have three modules in my puppet/modules - 1. jdk_installer 2. weblogic_installer 3. wldomain_create Each of them have one class (same names as modules). I have a node in site.pp which calls these 3 classes. And these classes need to be executed in a particular order. This

Re: [Puppet Users] Re: Announce: Puppet 3.2.1 Available

2013-05-23 Thread Chris Prior
I am having the same issue... Running on Ubuntu as below: Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise Managed using Vagrant, puppet master being installed via the puppetlabs puppet module from puppet forge: err:

[Puppet Users] Re: apt repository appears to have dependency issue with latest release (3.2.1)

2013-05-23 Thread mail
i can confirm this ruby-rgen is not found. greets --- Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut Statusinformationen werden eingelesen... Fertig Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass Sie eine unmögliche Situation angefordert

Re: [Puppet Users] Re: apt repository appears to have dependency issue with latest release (3.2.1)

2013-05-23 Thread Matthew Kennedy
I resolved this by adding the 'dependency' repo. I do wonder what the purpose of having a separate repo? On May 23, 2013 12:46 PM, Chris Prior chris.m.pr...@gmail.com wrote: I am having the same issue... Running on Ubuntu as below: Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS

Re: [Puppet Users] Re: apt repository appears to have dependency issue with latest release (3.2.1)

2013-05-23 Thread Eric Sorenson
Quick question for those of you affected by this -- what did you to do to add the puppetlabs apt repo? Did you do it through the method described here: http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu .. or some other way? I'm trying to suss out

[Puppet Users] Suppress deprecation warnings because of Referencing Variables

2013-05-23 Thread Nam Nguyen
Hey guys, after upgrading Puppet to version 3.2.1 I got lots of warning like this: Warning: Variable access via 'logroot' is deprecated. Use '@logroot' instead. template[/etc/puppet/modules/apache/templates/vhost-default.conf.erb]:24 I used puppet many modules which don't use @ or $ in front