Thanks Eric,
This has worked for me... cheers
On Jul 31, 10:29 am, Eric Heydrick wrote:
> Just override the parent parameters. undef unsets values.
>
> class samba::cluster inherits samba {
>
> Service["smb"]:
> enable => false,
> ensure => undef,
> }
>
> }
>
> -Eric
>
> On Thu, 30
The connection timeouts probably come from the number of hosts hitting
the server at the same time.
You can up the timeout in both Apache and Puppet if you want to wait for longer.
The general solution is to forgo the 'file' type and use an 'exec'
instead in the case of deep directories or lots
Just override the parent parameters. undef unsets values.
class samba::cluster inherits samba {
Service["smb"]:
enable => false,
ensure => undef,
}
}
-Eric
On Thu, 30 Jul 2009, josbal wrote:
>
> Hi,
>
> I am trying to work out a way of configuring a service in a parent
> class
Hi,
I am trying to work out a way of configuring a service in a parent
class, and then not having it used by a class that inherits it?
For example if I have a class for Samba which among other things
defines the service samba and has standard parameters of ensure =>
running, hasstatus => true, h
yeah we do have a quite a few static files wit subdirectories, however
they are mounted nfs on the client and been copied, but i guess it
needs to do a checksum every run. whats the solution. and i can't
understand why i get connection timeouts. we have puppetserver with
apache/mongrel setup.
On
On Thu, Jul 30, 2009 at 1:05 PM, seph wrote:
> I am aware of the whole declarative vs. procedural thing. I do still
> have some trouble with it, though I think fewer problems than my first
> email implied.
>
> In my case, I declare a keystore. It has parameters like owner, group,
> and mode. I'd l
Do you have a lot of static files that you're copying over using the
puppet:// protocol?
If so, this is probably what is taking up most of your time.
If not, are you recursively managing any folders with lots of
subdirectories and/or files?
If so, this is probably the other problem.
Trevor
On
Thank for the information, yeah looks like the client spend lot of
time in the file operations. Do you know anyway i can troubleshoot
there whats its doing. turning on debug just show me
fileserver.describe and couple of freeze.
# puppetd -vt
info: Loading fact hosttype
info: Loading fact subdom
Hi Paul, thank you for replying.
I am aware of the whole declarative vs. procedural thing. I do still
have some trouble with it, though I think fewer problems than my first
email implied.
In my case, I declare a keystore. It has parameters like owner, group,
and mode. I'd like to declare which
On Wed, Jul 29, 2009 at 1:57 AM, David Schmitt wrote:
>
> Asif Iqbal wrote:
>> So I think I should start small and simple and it may grow to a
>> solution that will be really useful to others.
>>
>> Lets start w/ real basic.
>>
>> I have 300 hosts. I like a push a user to about 100 hosts (dns
>> r
Thanks for all the feedback everyone. I'll be working on a second
draft and getting it up on the wiki soon!
--Paul
On Thu, Jul 23, 2009 at 1:06 AM, David Schmitt wrote:
>
> Paul Lathrop wrote:
>> Hi Puppeteers,
>>
>> I spent some time tonight making a first pass at what I hope will
>> eventually
seph,
You are making a couple of classic mistakes here. For one, thinking of
definitions as "functions" can only end in tears. Definitions are just
ways of abstracting a collection of resources into a single resource.
The second mistake you make is in thinking procedurally. Puppet's
model is decl
Inspired by the recent thread titled "Array input of dirs, ensuring
their existence" I thought I'd write up the problem I'm running into. I
was chatting on irc about it, I don't think puppet has a clean solution.
Like the other poster, I'm defining an object that takes an array. In
my case, I'm d
I am setting up some machines with SELinux in enforcing mode and have
the following class set up.
class symphony-selinux inherits selinux-enforcing
{
exec {"semanage-sec_ego":
command => "semanage fcontext -a -t textrel_shlib_t
'/opt/ego/1.2/linux2.6-glibc2.3-x86/l
paul matthews wrote:
> I've had a trawl through the archives and on the wiki and could not see
> any reference to this but has any one done any work on provisioning of
> xenserver vm's via puppet? If not, I'll look to create something and
> report back
You mean defining Xen guests (domU) on a
I've had a trawl through the archives and on the wiki and could not see any
reference to this but has any one done any work on provisioning of xenserver
vm's via puppet? If not, I'll look to create something and report back
Cheers
Paul
--~--~-~--~~~---~--~~
You rece
16 matches
Mail list logo