[Puppet Users] Use of regular expressions

2012-03-14 Thread Antonio Xanxess
Hello everyone! I have a problem and would like to help me. I have to control the configuration of an application that has special features. The application itself is an educational portal. These sites are hosted on a single machine and serve different schools. The file where you see that school

[Puppet Users] Re: Explanation of the resource package, little information in reference type

2012-01-17 Thread Antonio Xanxess
Hi Felix, You've finally found the problem. Indeed you were right, it was no problem of the resource package, had a problem with DNS name resolution prevented our local repository. Currently we solve this, so thank you very much for the help offered. A new greeting and apologies for the inconvenie

[Puppet Users] Re: Explanation of the resource package, little information in reference type

2012-01-13 Thread Antonio Xanxess
01/13/2012 09:31 AM, Antonio Xanxess wrote: > > > Hi Frank, > > Actually it's Felix :) > > > Thanks for the reply, but in principle I think that there is no need > > for this procedure because the resource itself package can do, besides > > not a good pract

[Puppet Users] Re: Explanation of the resource package, little information in reference type

2012-01-13 Thread Antonio Xanxess
/2012 12:19 PM, Antonio Xanxess wrote: > > > What I want is to add the option --force-yes to the command to force > > the installation of the parcel. > > when truly in this kind of pinch, I have used exec {} rather than > package {} in the past to supply this parameter. > >

[Puppet Users] Explanation of the resource package, little information in reference type

2012-01-11 Thread Antonio Xanxess
Hi everyone!! I have a problem with the package resource. Currently all my nodes use the same operating system, Debian. The problem is that the documentation of Puppet are many variables that are not explained in detail and have not found detailed information on the Internet. My problem comes in t

[Puppet Users] Re: Puppet capacity with apache+passenger, server saturated

2012-01-11 Thread Antonio Xanxess
7;t have much CPU I limit the total > number of Rack processes to six. > > In any case what we should look at is the passenger.conf and any > Passenger settings in the Puppet master vhost. > > Ramin > > On Dec 21, 5:01 am, Antonio Xanxess > > > > > > > > wrote

[Puppet Users] Re: Puppet capacity with apache+passenger, server saturated

2011-12-21 Thread Antonio Xanxess
g your server at > > once. > > > If you're not using the ip_to_cron function from the Cron Patterns > > page, you might want to take a look at it. > > >http://projects.puppetlabs.com/projects/1/wiki/Cron_Patterns > > > Some people are also using MCollective

[Puppet Users] Re: Puppet capacity with apache+passenger, server saturated

2011-12-20 Thread Antonio Xanxess
n 16 dic, 15:36, Brice Figureau wrote: > On Fri, 2011-12-16 at 04:56 -0800, Antonio Xanxess wrote: > > I have a problem with my Puppet server, the server is overloaded and > > processes need to add half of my farm nodes yet! > > The server is hosted on a blade with the following char

[Puppet Users] Re: How to change the time interval in dashboard for a node is considered unresponsive

2011-12-19 Thread Antonio Xanxess
ig/settings.yml: > > # Amount of time in seconds since last report before a node is > considered no longer reporting > no_longer_reporting_cutoff: 144000 > > restart dashboard > > Regards, > > Martin > > 2011/12/16 Antonio Xanxess : > > > > > > >

[Puppet Users] How to change the time interval in dashboard for a node is considered unresponsive

2011-12-16 Thread Antonio Xanxess
Hi everyone, I have a problem with puppet-dashboard because I appear unresponsive when many nodes are running correctly. In my current configuration nodes do not run the daemon, but I have created a cron task that runs once the command puppetd at hourly intervals. The point is that when I look int

[Puppet Users] Puppet capacity with apache+passenger, server saturated

2011-12-16 Thread Antonio Xanxess
Hi everyone, I have a problem with my Puppet server, the server is overloaded and processes need to add half of my farm nodes yet! The server is hosted on a blade with the following characteristics: Processors: 8 cores Memory Ram: 12 Gb Operating System: Debian Squeeze Version of parcel: 2.7.1-1 ~

[Puppet Users] Re: Problems with service resource

2010-03-12 Thread Antonio Xanxess
Christian, thanks for the clarification. After analyzing the problem I have clear that the configuration I had in mind no sense either : D I've solved the problem, so the subject of debate for me is settled. Thank you very much! Greetings! -- You received this message because you are subscribed

[Puppet Users] Re: Problems with service resource

2010-03-12 Thread Antonio Xanxess
Sorry, i put ONLY the code here: custom_functions.pp: ... define superservice ( $initscript, $filecontrol ) { $modelo = modelo_suscribe("$filecontrol") package { $title: ensure => installed } service { $initscript: ensure => true, enable => true, sub

[Puppet Users] Re: Problems with service resource

2010-03-12 Thread Antonio Xanxess
Sorry, to copy the code has emerged a small error: custom_functions.pp: define superservice ($initscript, $filecontrol) { On 12 mar, 09:51, Antonio Xanxess wrote: > Hi Christian, thanks for the comment. I will explain more carefully > the case so all of the data. > My goal is to

[Puppet Users] Re: Problems with service resource

2010-03-12 Thread Antonio Xanxess
eference which > means that you need something like File["myfile"]. > > What is it exactly that you want to do? > You want to start a service after 2 files being created/changed? > Then you should try something like subscribe => [File["file1"], > File["fil

[Puppet Users] Problems with service resource

2010-03-11 Thread Antonio Xanxess
Hello! I'm trying to create a resource of type service in which there is a clause subscribe. In this clause need to put a variable, and when I run the client gives me this error: warning: Configuration could not be instantiated: Parameter subscribe failed: Relationships must be resource references