> > if distid.match(/RedHatEnterprise|CentOS|Fedora/)
>
> sidenote: you can use confine for such things.
I'll look into confine. Incidentally this is my first fact and I stole
most of it from the puppet docs.
> right, that might be related to a known bug. but that shouldn't affect puppet
donavan writes:
> On Apr 19, 10:09 pm, Daniel Pittman wrote:
>> So, a simple "gateway" fact is essentially meaningless for our network; this
>> is probably true of at-least-some machines on at-least-some large networks.
>>
>> (So, while your fact is meaningful, it isn't a generic "gateway" fact :
Most people will use a "node" classification tool. In my specific case
I use a combination of a node classifier, and standardized DNS naming
conventions. For hardware related items, you have custom facts,
dmiedecode etc etc. Really you will always hit the "one-off" bug of a
system when it c
Hi,
Just a survey how you guys model different aspects of your systems. I
mean: in my world every node is determined by 3 factors:
-> role in the datacenter (like www-server, workernode, db-server,
etc.)
-> website membership (I run several different websites with different
webserver configs, db,
I can't see one. 'tmpwatch' is probably your friend (or the tidy
puppet resource). However ...
It might be more suitable to delete on a policy. ie. delete everything
but the last backup ... Not sure how important that might be to most
people.
I'd say at least a timed cleanup is a worthy feature r
> But I don't see that exec being called. Nor do I see any attempts at
> calling it. (I've even been testing with the command set to "false")
> Anyone know what's up with this, or have another suggestion for
> generating such a list?
Actually - this smells like a scope thing.
What scope did you d
On Tue, Apr 20, 2010 at 9:48 PM, Andrew Heagle wrote:
>
> When you are using LDAP and puppetrun, you do not do puppetrun --host
> ..., instead you use puppetrun --class ... This
> will find all the hosts in your LDAP directory with "puppetClass:
> myclass", and contact all those. This won't work
On Wed, Apr 21, 2010 at 1:39 AM, Jamaludin Ahmad wrote:
> On Tue, Apr 20, 2010 at 9:48 PM, Andrew Heagle wrote:
>>
>> When you are using LDAP and puppetrun, you do not do puppetrun --host
>> ..., instead you use puppetrun --class ... This
>> will find all the hosts in your LDAP directory with "
Is there a mechanism in puppet to clean up data in the filebucket after
a period of time or do I need to create my own cleanup cron?
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@googlegroups
Hey Guys,
I am also happy to announce the availability of our Cassandra module:
http://github.com/plathrop/libpuppet-cassandra
This is a pretty simple module, and won't get you 100% of the way to
building a Cassandra cluster, but it should take care of the low-level
stuff so you can focus on buil
If you're using passenger, you won't get a masterhttp.log; that's from webrick.
I've noticed the logging to a '--logdest=file' is buffered with a pretty giant
buffer, which can be extremely annoying/confusing because it looks like nothing
is happening.
You can either set 'autoflush=true' (but
+1 on solution Marc.
> The nuisance with this solution is that you cannot have more than 1 ssh
> key ...
my::user {"...":
...
key => "...",
key2 => "...",
key3 => "...",
key4 => "...",
...
}
Yuck :-).
ken.
--
You received this message because you are subscribed to the Google Group
Perhaps something like?
@user {"bob": ensure => present }
User<| title == bob |> { gid => "users" }
A mention of the <| foo |> syntax is here:
http://projects.puppetlabs.com/projects/puppet/wiki/Virtual_Resources
The doc doesn't show the {} parameter block ... I believe this was
mentioned in er
My Debian packager just corrected me; we didn't package supervisor, we
just back-ported it for Lenny.
On Tue, Apr 20, 2010 at 3:41 PM, Paul Lathrop wrote:
> Hey all,
>
> I am happy to announce the release of the supervisor module
> (http://github.com/plathrop/libpuppet-supervisor); used to config
Hey all,
I am happy to announce the release of the supervisor module
(http://github.com/plathrop/libpuppet-supervisor); used to configure
the excellent daemon control tool supervisor
(http://supervisord.org/). Digg has packaged supervisor for Debian and
made the package available at http://mirrors
You shouldn't need the 'before' in the 'iptables' resource. Not quite
sure why its not executing, but how about this ...
http://github.com/kbarber/puppet-iptables
Its a mod to the camptocamp code. It persists iptables with iptables-
save without requiring an external exec notify. It also stores t
> The way I did it was to realize the user, then realize the sshkey and
> then realize something else. I just want a nice package where I can
> say:
>
> class user::ops inherits user::virtual {
> realize(
> User["bill"],
> User["richard"],
> )
> }
On Apr 19, 10:09 pm, Daniel Pittman wrote:
> So, a simple "gateway" fact is essentially meaningless for our network; this
> is probably true of at-least-some machines on at-least-some large networks.
>
> (So, while your fact is meaningful, it isn't a generic "gateway" fact :)
> This can return mu
Hi all
Word of warning. Puppet newbie.
I have tried something similar to this for trying out user management.
http://serverfault.com/questions/58790/how-can-i-have-puppet-deploy-ssh-keys-for-virtual-users
This works, but not the way I really wanted. I would like to realize a
user and the have a t
I want to be able to add users to machines and have those users add to
the correct groups for each machine type.
I want to have a single file with the users and their key and then
call that file and pass in the correct primary group and any other
group membership of that particular server.
What I
On Apr 19, 8:19 am, Jamaludin Ahmad wrote:
> Hi All,
>
> I'm new to puppet, I just recently setup it on my servers, using puppet
> 0.25.4 with ldap external node and mongrel+nginx as frontend. Pretty much
> happy about it, except by the fact that I can't get puppetrun to work as
> expected.
>
>
On Apr 19, 8:05 am, Dan Carley wrote:
>
> It's possible with inline_template():
>
> dan.car...@jim ~ $ puppet
> $a = 1
> $x = "a"
> notice("Bad:", inline_template("<%= x %>"))
> notice("Good:", inline_template("<%= $x %>"))
> ^D
> notice: Scope(Class[main]): Bad: a
> notice: Scope(Class[main]): Go
Hi all,
I am trying to install dashboard 1.0.0rc1. Independantly if have
manually installed authlogic - gem or not it is throwing the following
trace. The problem is the same when I am resetting (rake db:reset) or
dropping the database.
any ideas?
best regards
Lutz
bash-3.00# rake install
(in
Sukh Khehra wrote:
I have a need to audit user accounts on all of my puppet clients.
Essentially, I need to collect the password and shadow file from all of
my clients to one central location and analyze them. How would someone
do this using puppet. Is there any mechanism to ship files to the
...found it by myself. Anyway it may be helpful to others.
A 64 Bit mysql-server accessed by 32bit libmysqlclient.so did not work
in my case at least when both reside on the same machine.
Have build now mysql 5.1 latest stable as a 32bit executable and all
is doing fine .
By the way - the shipped o
its http://projects.reductivelabs.com/issues/3008 and fixed in
http://github.com/reductivelabs/facter/commit/356cf15a72027773d38db5ef74e6861345e32b56
Ohad
On Tue, Apr 20, 2010 at 3:38 PM, Peter Meier wrote:
> You saved my day. Actually there was a lot of white space :-) Now my
>> module looks l
You saved my day. Actually there was a lot of white space :-) Now my
module looks like:
imho this shouldn't be, can you file a bug?
cheers pete
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@
Hi
You saved my day. Actually there was a lot of white space :-) Now my
module looks like:
...
if ($manufacturer == 'Xen') or ($manufacturer == "Sun Microsystems
"){
...
Thanks a lot for the great Tip!
BR, Rene
On Apr 20, 8:54 am, Ohad Levy wrote:
> I've seen cases where there were white space
28 matches
Mail list logo