>> Also note that under the puppet paradigm, a "service" is not something
>> reachable via network (as in "services provided through xinetd"), but
>> can be any process that is maintained by use of an init-script.
>>
>> Regards,
>> Felix
>
> Hi Felix
> Any service must surely have an access point
>> What semantics are you gunning for? "Only install X on boxes where Y is
>> getting installed" is a tough call.
>> You could use custom facts to find out about your Y.
>> Otherwise, the require is a nice choice, because your catalog should
>> fail where Y is not in the catalog.
>
> I'll give req
> However, I also tried this (I posted this before in this thread abut
> can't see that anymore):
>
> package {
> 'httpd': notify => Exec[ 'remove-httpd' ];
> }
>
> exec { 'remove-httpd':
> command => '/usr/bin/yum remove -y httpd',
> refreshonly => true,
> }
>
On 2011-04-21 09:18, Felix Frank wrote:
> So obviously, there is no xinetd provider. I concur that such a thing
> would probably be worthwile. If your Ruby is good (or if you like doing
> new things ;-), you may want to cobble one together yourself as a
> plugin, it's not rocket science.
Well, on
On 04/21/2011 09:35 AM, Thomas Bellman wrote:
> On 2011-04-21 09:18, Felix Frank wrote:
>
>> So obviously, there is no xinetd provider. I concur that such a thing
>> would probably be worthwile. If your Ruby is good (or if you like doing
>> new things ;-), you may want to cobble one together yours
Hi all,
does somebody know if default parameters in classes with parameters work? I
tried it with puppet v2.6.7 i.e.:
class app::mysql(
$mysql_data_dir = '/data/mysql/data',
$mysql_log_dir = '/data/mysql/log',
$mysql_binlog_dir = '/data/mysql/bi
On 2011-04-21 10:19, Felix Frank wrote:
> I don't think ralsh packs much intelligence in that regard, but relies
> on the redhat provider instead.
Yes, I was thinking "ralsh" as in "ralsh and all the subroutines from
the rest of Puppet that it uses".
> Peaking at the provider, it doesn't appear
Hi
On Apr 21, 2011, at 10:58 AM, Oliver Schad wrote:
> Hi all,
>
> does somebody know if default parameters in classes with parameters work? I
> tried it with puppet v2.6.7 i.e.:
this is possible according to documentation:
http://docs.puppetlabs.com/guides/parameterized_classes.html#using-para
On 04/20/2011 02:45 PM, Nigel Kersten wrote:
> On Fri, Apr 15, 2011 at 3:26 PM, fafaforza wrote:
>> New user trying to get a port to compile: I tried searching but all I
>> get are links to the FreeBSD port of puppet. Easier to find a needle
>> in a haystack.
>>
>> A class has:
>>
>> exec { "por
On Thu, Apr 21, 2011 at 11:03 AM, Russell Jackson wrote:
> The ports provider doesn't work due to bugs in portupgrade when run
> without a controlling tty. I opened a problem report about this sometime
> ago and recommended removing the provider entirely.
I'll chase this up now Russell.
> The p
On Thu, Apr 21, 2011 at 10:56 AM, Jeff Falgout wrote:
> Greetings -
> I'm trying to get multiple includes to work within a class within a module
> and it looks as if the just the first "include" is included ...
> client: Scientific Linux 6 with puppet-2.6.6-1.el6.noarch (from
> EPEL-testing)
> s
On 04/21/2011 11:05 AM, Nigel Kersten wrote:
> On Thu, Apr 21, 2011 at 11:03 AM, Russell Jackson wrote:
>
>> The ports provider doesn't work due to bugs in portupgrade when run
>> without a controlling tty. I opened a problem report about this sometime
>> ago and recommended removing the provider
That only removes the management element, as I understand.
I can think of a couple of scenarios where I've had issues with this:
* ssh_authorized_keys - there is a bug where if a comment exists it
just keeps dumping more copies of the keys. When a key is no longer
managed, might be nice to have
On Thu, Apr 21, 2011 at 11:21 AM, Forrie wrote:
> That only removes the management element, as I understand.
>
> I can think of a couple of scenarios where I've had issues with this:
>
> * ssh_authorized_keys - there is a bug where if a comment exists it
> just keeps dumping more copies of the key
On Thu, Apr 21, 2011 at 12:13 PM, Nigel Kersten wrote:
>
> >
> > The class:
> > from rpm_gpg/manifests/init.pp
> > class rpm_gpg {
> > include
> > "rpm_gpg::keys::spacewalk2010",
> > "rpm_gpg::keys::jpackage"
> > }
>
>
>
> root@devlucid:/home/nigel/src/puppe
On Thu, Apr 21, 2011 at 11:45 AM, Jeff Falgout wrote:
>
>
>
> On Thu, Apr 21, 2011 at 12:13 PM, Nigel Kersten
> wrote:
>>
>> >
>> > The class:
>> > from rpm_gpg/manifests/init.pp
>> > class rpm_gpg {
>> > include
>> > "rpm_gpg::keys::spacewalk2010",
>> > "r
On Thu, Apr 21, 2011 at 1:10 PM, Nan Liu wrote:
>
> >
> > I suspect I'm doing something incorrect or misunderstanding something.
>
> Puppet classes are singletons, even if you include a class multiple
> times it only realize the resources defined in the class once.
>
Ahhh - ok, makes sense.
>
On Thu, Apr 21, 2011 at 12:40 PM, Jeff Falgout wrote:
>
>
> On Thu, Apr 21, 2011 at 1:10 PM, Nan Liu wrote:
>>
>> >
>> > I suspect I'm doing something incorrect or misunderstanding something.
>>
>> Puppet classes are singletons, even if you include a class multiple
>> times it only realize the re
This type seems like it could have unwanted side effects. I'd prefer
there be a way to specify the resource I want purged, instead of just
all or nothing.
On Apr 21, 2:36 pm, Nigel Kersten wrote:
> On Thu, Apr 21, 2011 at 11:21 AM, Forrie wrote:
> > That only removes the management element,
On Thu, Apr 21, 2011 at 1:24 PM, Forrie wrote:
> This type seems like it could have unwanted side effects. I'd prefer
> there be a way to specify the resource I want purged, instead of just
> all or nothing.
>
You can do that, but you did ask about handling "unmanaged resources" :)
A resou
Fair enough :-) In my case, we have NFS mounts that rotate out --
and I dread having to manually prune the many systems we use. Puppet
will handle /etc/fstab, but I want to remove the mountpoint as well.
On Apr 21, 4:29 pm, Nigel Kersten wrote:
> On Thu, Apr 21, 2011 at 1:24 PM, Forrie wrot
Thanks Felix, for the explaining this to me. I'm still learning Puppet
and making mistakes. Although I used "ensure => purged" for httpd, I
wanted to know why this wasn't working. Thanks again. Cheers!!
--
You received this message because you are subscribed to the Google Groups
"Puppet Users"
On Tue, Apr 19, 2011 at 4:57 AM, Thomas Mueller wrote:
>>
>> Client version: 0.24.8
>> Server version: 2.6.6
>
> IMHO client 0.24.x is too old and does not work with puppetmaster 2.6.x?
Puppet 0.24.8 works just fine with Puppet Master 2.6.x.
To resolve this issue, have you tried cleaning out the
On Tue, Apr 19, 2011 at 3:45 AM, Oliver wrote:
> I'm probably doing something wrong, but please sanity check this. I'm
> trying to use "puppet apply" locally on my Puppetmasters. They have
> storeconfigs configured in the [main] section, as well as the ENC
> config set up in [main].
>
> When puppe
Here is my situation:
1. We use Active directory (LDAP) to store all user info which is retrieved
from linux
2. A home directory is not created until the first time the user logs into the
linux system
I am using the ssh_authorized_key type to push out my ssh keys to every system.
However,
On Thu, Apr 21, 2011 at 3:41 PM, Corey Osman wrote:
> Here is my situation:
>
> 1. We use Active directory (LDAP) to store all user info which is retrieved
> from linux
> 2. A home directory is not created until the first time the user logs into
> the linux system
>
>
> I am using the ssh_autho
We use a dashboard -- in our case Foreman -- and watch for hosts
returning anything other than complete success. Any diagnostic
messages at all drop the host into "hosts that made modifications"
category, and errors drop the host into "hosts in error state." I
have my team watching the dashboard
I have the same issue (using Likewise Open) and even remember
discussing this briefly with Jeff (Puppetcamp in Belgium). I still
could not find a perfect solution.
Likewise open takes care of k5login kerberos file when creating the
homedir. If the folder already exists because puppet created it,
L
Btw, you can probably let puppet manage the .k5login as well... It's
just an extra small hassle.
On Fri, Apr 22, 2011 at 2:10 AM, Marcello de Sousa wrote:
> I have the same issue (using Likewise Open) and even remember
> discussing this briefly with Jeff (Puppetcamp in Belgium). I still
> could n
29 matches
Mail list logo