On Jan 7, 2011, at 3:35 PM, Jeff McCune wrote:
> OK, so what if declaring* a class always added it to the top scope?
> This seems like a relatively straight forward solution to a great many
> concerns. The language doesn't change, existing manifests continue to
> work and only the convention of
Hi all,
I've got two classes. One installs and configures the web server lighttpd,
and the other installs and configures Mailman.
Both these classes need to copy configuration files into the same directory,
but I can only get lighttpd's files copied in, Mailman's seem to be ignored.
In my
Hi all,
I'm using the class below to set the timezone on a Debian system, however
there are two things I'm unhappy with.
1) Why do I have to specify a trailing colon after the exec command and when
calling timezone::set? If I leave it off I get the very helpful error "Syntax
error at '}'; e
On Fri, 7 Jan 2011, Patrick wrote:
On Jan 7, 2011, at 6:33 AM, Sébastien Barthélémy wrote:
$ sudo time puppet -l /tmp/puppet.log ~/puppet/respeer.pp
38779.74 real 38230.77 user 153.85 sys
$ sudo time puppet -l /tmp/puppet.log ~/puppet/respeer.pp
388.47 real 380.06 user
On Jan 8, 2011, at 3:52 AM, Adam Nielsen wrote:
> 2) Because of the exec command, /etc/timezone gets overwritten without a
> backup being made like with other functions. Is there a way to get the file
> included in the file bucket? I imagine I'd have to add an "onlyif" directive
> to make sur
On Sat, Jan 8, 2011 at 2:58 AM, Adam Nielsen wrote:
> Hi all,
>
> I've got two classes. One installs and configures the web server lighttpd,
> and the other installs and configures Mailman.
>
> Both these classes need to copy configuration files into the same directory,
> but I can only get light
On Sat, Jan 8, 2011 at 3:52 AM, Adam Nielsen wrote:
> Hi all,
>
> I'm using the class below to set the timezone on a Debian system, however
> there are two things I'm unhappy with.
>
> 1) Why do I have to specify a trailing colon after the exec command and
> when calling timezone::set? If I leav
Is between "" exactly what you're printing out?
=
--- YAML
---
classes:
- geodns::production::backend
environment: production
name: z01-06-02
parameters:
puppet_server: z01-06-02
==
You shouldn't have the first line there, and testing shows it's not
In data 08 gennaio 2011 alle ore 20:07:20, Nigel Kersten
ha scritto:
Is between "" exactly what you're printing out?
=
--- YAML
---
classes:
- geodns::production::backend
environment: production
name: z01-06-02
parameters:
puppet_server: z01-06-02
On Sat, Jan 8, 2011 at 12:17, Cosimo Streppone wrote:
> In data 08 gennaio 2011 alle ore 20:07:20, Nigel Kersten
> ha scritto:
>
>> Is between "" exactly what you're printing out?
>>
>> =
>> --- YAML
>> ---
>> classes:
>> - geodns::production::backend
>> environment: pro
I'm trying to get an idea of what kind of backend setup I would need
to run puppet to manage roughly 6000 hosts.
I see puppet by iteself is limited to 10-20; but with mongrel/apache
that number shoots up but I am not sure by how much?
Im still new to puppet and running it in a lab but want to ta
My suggestions for big scenarios is: mod_passenger/apache22 (+
ruby-enterprise), subversion (or another scm you like), puppet2.6.4 +
stored_configs_async, some stomp server (like activemq), and a couple of
mysql servers.
You don't need to sync the ssl keys (pem, etc) between backend servers,
since
Thanks for the reply, is there any documentation available on this
type of setup? Where would the sql servers come into play?
On Jan 8, 4:06 pm, "Eduardo S. Scarpellini"
wrote:
> My suggestions for big scenarios is: mod_passenger/apache22 (+
> ruby-enterprise), subversion (or another scm you l
You'll need one or more mysql servers if you use storedconfigs. Storedconfigs
can be useful, but will drastically increase the server CPU usage and will
require a mysql backend. You can always turn it on later.
There are two (working) ways to setup SSL which is used for authentication and
sec
No, I have not, maybe try to play with passanger worker time to live?
Leonid S. Batizhevsky
On Fri, Dec 17, 2010 at 19:39, Ashley Penney wrote:
> As a datapoint, I experience this problem on RHEL6:
> ruby-1.8.7.299-4.el6.x86_64
> Gems:
> passenger (3.0.0)
> rack (1.2.1)
> rack-mount (0.6.13)
>
Hi,
First of all, this is my very first message to this list, so please bear
with me while I'm getting used to it.
Sorry for any non-standard way to ask a question here which I can be using
without prior knowledgment.
I would like to be able to set up some config parameters on a given node
whi
I believe you're looking for templates.
http://docs.puppetlabs.com/guides/templating.html
As an example:
file { "/etc/hosts":
content => template("hosts.erb")
}
And the template would contain this:
127.0.0.1 localhost
192.168.99.99 <%= hostname %> <%= fqdn %>
-Ben
--
You received this
Both these classes need to copy configuration files into the same directory,
but I can only get lighttpd's files copied in, Mailman's seem to be ignored.
What am I doing wrong?
It looks to me that you're going to end up with:
source => ["puppet:///files/lighttpd/$hostname/",
Thanks for all the replies, looks like a have a lot more reading to
do.
Appreciate all the info!
Thanks
On Jan 8, 4:18 pm, Patrick wrote:
> You'll need one or more mysql servers if you use storedconfigs.
> Storedconfigs can be useful, but will drastically increase the server CPU
> usage and
It's the minimum required syntax for declaring a resource. The : is required
to seperate the resource title and the list of attributes:
Thanks for the explanation. Shame the colon isn't optional when there are no
attributes ;-)
You can use puppet filebucket command to backup the files befor
On Sun, Jan 09, 2011 at 09:58:01AM +1000, Adam Nielsen wrote:
> >> Both these classes need to copy configuration files into the same
> >> directory,
> >> but I can only get lighttpd's files copied in, Mailman's seem to be
> >> ignored.
> >>
> >> What am I doing wrong?
> >
> > It looks to me that
On Sat, Jan 8, 2011 at 12:17 PM, Cosimo Streppone wrote:
> In data 08 gennaio 2011 alle ore 20:07:20, Nigel Kersten
> ha scritto:
>
>> Is between "" exactly what you're printing out?
>>
>> =
>> --- YAML
>> ---
>> classes:
>> - geodns::production::backend
>> environment:
On Sat, Jan 8, 2011 at 14:12, Andr? Lu?s Lopes wrote:
> First of all, this is my very first message to this list, so please bear
> with me while I'm getting used to it.
> Sorry for any non-standard way to ask a question here which I can be using
> without prior knowledgment.
Hey, thanks for join
On Sat, Jan 8, 2011 at 14:18, Patrick wrote:
> You'll need one or more mysql servers if you use storedconfigs.
> Storedconfigs can be useful, but will drastically increase the server CPU
> usage and will require a mysql backend. You can always turn it on later.
One or more *SQL* servers: we
No, I want the 'source' line to be as you suggest - the contents of *both*
paths should be copied into the same folder, as it's a "conf.d" style
directory. For example, the first path contains 10-main.conf and the second
path contains 20-mailman.conf. Both these should be copied into the
destina
25 matches
Mail list logo