OK, new error. Regardless of which ruby i use, i get the following if
i do a puppetca --generate puppetsun... and then transfer the files.
(also this doesn't seem to care too much about permissions, but the
last time i did it, i was very careful to replicate the permissions
from the master).
r...
Here's how we generate access.conf. We define a type that adds and removes
access.conf entries and use this type in the node that we need a
particular group to be able to login to.
class pam {
$access = "/etc/security/access.conf"
exec {"prep access.conf":
command => "echo - : ALL :
I have the following set up:
schedule {nightly:
period => daily,
range => "18 - 23",
repeat => 1
}
define deadlypkg {
tag("package")
$pkgrepo="/staging/PRODUCTION/deadly"
package{"$name":
source => "$pkgrepo/$name.pkg",
ensure =
Thanks a bunch, this has helped immensely. I can see that a lot of
this is very basic and simple config, but when you're first starting
out it's not entirely obvious how to set this up to run for OS X
server. Now I've got the daemon running and successfully doing some
basic manipulation
I do a lot of this and usually use regular expression to handle it
A couple examples:
<% if hostname =~ /server[135]/ %>
<% if hostname =~ /dns1001|mail2002|web1003/ %>
Steven
-Original Message-
From: puppet-users@googlegroups.com
[mailto:puppet-us...@googlegroups.com] On Behalf Of Mic
On Wed, 11 Feb 2009 13:40:56 -0800
Paul Lathrop wrote:
>
> Arnau,
Hi Paul,
> Please don't be offended by my response, as you requested we not be
> offended by your post.
I won't, don't worry. I hope you or other developers are not angry
with me... I'm just explaining my experience with this
On Wed, Feb 11, 2009 at 5:12 PM, chakkerz wrote:
> This is after clearing /var/lib/puppet , restarting the daemon and re-
> signing the cert.
>
> the server has:
> [r...@puppetbeta /]# puppetca --list --all
> + puppetsun.its.uq.edu.au
> + puppetbeta.its.uq.edu.au
>
I had some similar trouble on
Hello there
So,
-> what files did you change in puppet, and the OS itself,
-> what's the output of sestatus?
Easiest way to start is probably to do a `setenforce 0` (which will
put you into permissive) and see if that fixes things.
Also ensure auditd and setroubleshoot are running and check the
Darned thing is suddenly failing. We had a reboot last night, and I
changed a couple of files today too, so either one could somehow be
responsible. But I can't figure out how from this crash. First I noticed
that my changes weren't updating. Then I noticed that puppet wasn't
running. Then I
Michael Conigliaro wrote:
> Hello,
>
> Sorry if this ends up getting posted twice. I originally sent this
> about 3 hours ago, and I never saw it get posted, so I'm trying again.
The list is moderated to new posters to stop spam. I release emails 2-3
times a day as does Luke and Andrew.
Regard
Michael,
Templates are ERB, which uses pure ruby. I think what you are doing
should work in concept, thought I think your syntax is a bit off.
--Paul
On Wed, Feb 11, 2009 at 10:36 AM, Michael Conigliaro
wrote:
>
> Hello,
>
> Sorry if this ends up getting posted twice. I originally sent this
>
Arnau,
Please don't be offended by my response, as you requested we not be
offended by your post.
I've watched a lot of your posts to the list, and the behavior I'm
observing is when you run into errors, you don't seem to step back and
try to take the time to understand them. Instead, it appears
Hello,
I want to use Puppet to manage /etc/access.conf on our managed Linux
servers. The problem is that the servers on our network will be
accessed by different groups of users, so I will need slightly different
configurations for each server. My first impression is that I probably
don't want
Hello,
Sorry if this ends up getting posted twice. I originally sent this
about 3 hours ago, and I never saw it get posted, so I'm trying again.
I want to use Puppet to manage /etc/access.conf on our managed Linux
servers. The problem is that the servers on our network will be
accessed by diff
On Wed, Feb 11, 2009 at 07:25:54PM +0100, Arnau Bria wrote:
> I started with a simple scenario, a couple of nodes with a server, and
> few classes, all worked fine... But one day I faced first problem:
>
> err: Could not retrieve catalog: Could not parse for environment
> production
>
> after re
Hi all,
I'm facing many problems for last days with my puppet server/client.
Those who read mail list may know that.
I'm not sure if it's just my and my poor knowledge on puppet (I must
say in my defense that I have read many wiki docs and I have bough the
book, ok, it's not enough, if I'm a ba
Benoit,
This doesn't seem like a hack to me. I think this is the correct way
to approach the problem you describe.
--Paul
On Wed, Feb 11, 2009 at 5:05 AM, Benoit Decherf wrote:
> Thanks for that very good explication !
>
> I still have a doubt : How to manage property "per instance".
> In a li
On Feb 11, 2009, at 4:42 AM, Benoit Decherf wrote:
>
> Hi,
>
> I create a module call "MyModule".
>
> Then if I try to include a class in that module :
> include MyModule::myClass
> This doesn't works if I don't import the module first.
>
> BUT If my module is called my_module (in lower case), th
On Feb 11, 2009, at 4:42 AM, Benoit Decherf wrote:
>
> Hi,
>
> I create a module call "MyModule".
>
> Then if I try to include a class in that module :
> include MyModule::myClass
> This doesn't works if I don't import the module first.
>
> BUT If my module is called my_module (in lower case), th
On Feb 6, 2009, at 4:23 AM, Mark Drayton wrote:
> This is a bit nasty -- I'd need to figure out a way to make the exec
> only run once or each Puppet run will clobber my overridden files and
> then replace them again. If I do work out how to make it only run once
> Puppet won't update the instanc
Use a default acl that gives nagios user and nagios group access to the
whole nagios tree.
Peter Meier wrote:
> Hi
>
>
>> I'd really appreciate some help with this, I've tried to find the
>> answer in the source code but I haven't had much luck finding an
>> answer. Is there really no one th
Thanks for that very good explication !
I still have a doubt : How to manage property "per instance".
In a little more complicated case, an instance of a webapp have to
connect to a given database.
node node1 {
$countries=["fr", "uk"]
include webserver
}
and my webserver class:
class
Hi,
I create a module call "MyModule".
Then if I try to include a class in that module :
include MyModule::myClass
This doesn't works if I don't import the module first.
BUT If my module is called my_module (in lower case), that works. I
don't see anywhere in the puppet documentation where the
Hi
> I'd really appreciate some help with this, I've tried to find the
> answer in the source code but I haven't had much luck finding an
> answer. Is there really no one that uses the built in nagios
> resources?
I do and as mentioned before, use a wrapper define which takes care of
the file
Hi all,
puppet server is not able to find signed certificates:
]# puppetca --clean td011.pic.es
Could not find client certificate or request for td011.pic.es
But the cert is installed:
# locate td011.pic.es|grep pem
/var/lib/puppet/ssl/ca/signed/td011.pic.es.pem
And, If I go to the node, I rein
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Geoff Crompton wrote:
> Hi,
>
> While at LCA this year I was talking to James Turnbull, and I think he
> said it was possible to
> a) pull files off a puppet client to the puppet master
> b) push those files out to other puppet clients
>
Not fi
On Feb 10, 2009, at 9:17 PM, Geoff Crompton wrote:
>
> Hi,
>
> While at LCA this year I was talking to James Turnbull, and I think he
> said it was possible to
> a) pull files off a puppet client to the puppet master
> b) push those files out to other puppet clients
>
> I've been reading up on
27 matches
Mail list logo