Displaying 20 results from an estimated 30000 matches similar to: "Inheritance syntax question"
2010 Jan 21
5
Inheritance versus inclusion
Does anyone have a good resource for describing the differences
between including and inheriting classes?
VR
-pjh
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more
2010 Jun 28
7
Bind Module
Anyone know where I can find a good chrooted named module for centos?
Named as chroot is ugly... soft and hard links everywhere...
Doug
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
2009 Dec 13
13
Inherited Client and Server Apps
So, I''ve been doing something like this for applications that have a
client and server component...
node base_node {
include syslog_ng::client
}}
node app_node inherits base_node {
}
node syslog_server inherits base_node {
include syslog_ng::server
}
... because I want the client portion, syslog-ng in this case to be
installed on everything. However, the server node also has a
2013 Nov 15
3
Upgrade from Puppet 2.7.20 to latest !!!
Dear All,
I have my puppet servers and clients on puppet 2.7.20 and I am planning to
upgrade to the latest version.
But the problem is that I have a lot of modules (downloaded from forge and
few of my own) which used by hundreds of puppet clients.
I need to know
1) Will the functionality of these modules get affected after this upgrade ?
2) Other than ritual of being on the latest verison, are
2008 Sep 30
6
something wrong with puppet client or Server
Hi All,
I have running puppet client and server on solaris 10 x86.
Now days some of puppet client behaviors is something weird !!! or May
be i am missing something...
for ex.
I created class to add one line in /etc/vfstab . but puppet client
did it successfully 1st time ...But .. After few days , i saw there
are same line has been added more than 250 times.. [ see same line is
added so many
2010 Apr 30
5
Using classes from extnode to define config files?
Hi all,
I''m using cobbler as our external node manager and it''s working really
well (including deployment of ActiveMQ from RI''s RPMS and Mcollective -
blog post coming soon!) however I''ve run into a problem with exim
configuration files.
We use exim in a number of different configurations depending on the
role of the server (webserver/antivirus/outbound
2011 Jul 22
9
Random error in the recovery catalog
Hello,
I randomly errors like this:
Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (err): Could not
retrieve catalog from remote server: end of file reached
Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (notice): Using
cached catalog
Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (err): Could not
retrieve catalog; skipping run
Here are the versions:
puppetmaster
2010 Mar 20
4
select ip-address for sshd_config
We''re using the ListenAddress directive in our sshd_config to tell
which interface sshd is supposed to listen on. Normally it''s the
address for eth1, but it might be the address for eth0 if there is
none for eth1, and it might be both..
So, could someone help me with the erb template for my sshd_config:
ListenAddress <%= sshd_listen_address %>
The priority should
2010 Apr 12
10
Cron question
Hello,
Why the following lines doesn''t work?
cron { "app" :
command => ""nice -n -10 /usr/bin/php
/var/www/public_html/rotinas/rotinas.php 2>&1>> /var/log/app.log",
environment => "PATH=$PATH",
user => root,
hour => ''*'',
minute =>
2010 Jun 24
7
Yet more variable scoping pain.
Some days I wonder why I even bother with puppet.
---
classes:
- datacentre::new_york
- role::appserver
- elements::tfel0
environment: production:
parameters:
< set key/value pairs here >
class ldap {
< do some stuff that behaves slightly differently between different
data centers >
}
class role::appserver {
include ldap
}
So, I wanted to set some variables in the
2008 Jul 14
4
Execute some steps if a file isn't present
Hi all,
I''ve come quite far with my puppet setup, but a few times I got this
problem:
I want to execute a few things if a file isn''t present on the puppet
client.
For example: I want puppet to check if the mod_passenger apache module
exists. If not: installl passenger from gem. Execute the installer,
copy the config file and enable the module with a2enmod.
What would be the
2008 Apr 18
2
facter confine boolean logic decisions
Hi
while writing facts I heavily use confines to avoid that facts get
loaded where they shouldn''t. However I didn''t yet find out how I can add
a multiple decision to a confine.
so normally I have
confine :kernel => :linux
but what when kernel can be linux or sunos? just add 2 confines? or can
I nest them?
something like
confine :kernel => :linux||:sunos
would be nice.
2010 Feb 23
2
Feature Request: Settable 'nice' value.
So, some of us would like to be able to set the nice value on puppetd.
However, we don''t want all of our services (and some of our execs)
re-niced.
Would it be feasible/practical to have the ability to set the nice
value explicitly on Service and Exec calls?
Thanks,
Trevor
--
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvaughan@onyxpoint.com
-- This account not
2008 Feb 13
7
dependency to storeconfig
Hi all,
I''ve noticed, that once using storeconfig, if the db (in my case mysql) is
down than puppet wont start...
is there a real reason for making puppet depend on the db?
Thanks,
Ohad
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2010 Jun 15
2
httpd automatically enabled
Hi I have puppet fully functional, but I have one issue that I can''t
seem to be able to solve.
default HTTPD is enabled by default, even though none of my classes
are doing it. I setup another class to disable this by default, but
seems me that there should be better way to do this.
Here is what I am seeing in /var/log/messages:
(//Service[httpd]/enable) enable changed
2008 Dec 12
2
Puppet keeps trying to install packages
Hi all,
I''m trying to setup a puppet installation on FreeBSD. So far I have
only one puppetmaster and one puppetclient, both with 0.24.4 from
FreeBSD ports. On the master I''ve defined a couple of classes
including this:
class apache22 {
package { apache22:
ensure => installed,
source => "http://x.x.x.x/packages/apache-2.2.9_5.tbz",
provider =>
2008 Apr 11
2
YASP on puppetrun
YASP... Yet Another SSL Problem, this time on puppetrun.
$ sudo puppetrun -p 10 --host anotherhost -t aze
Failed to load ruby LDAP library. LDAP functionality will not be available
Triggering anotherhost
Host anotherhost failed: Certificates were not trusted: tlsv1 alert unknown ca
anotherhost finished with exit code 2
Failed: anotherhost
Running with "strace -f" shows that
2010 Jan 28
3
Problem in Setting User Password
hi, all
Its a very common use-case to set common password for user/s on all
nodes, i like to know if there is any Type or Function or Recipe
available in puppet which support this case?
I have tried following approach but it didn''t worked;
I am reading the password (md5 hash) stored in a file called
"/myuserpwd.file"
Approach 1:
-----------------
$password =
2008 Mar 22
6
pass Resources to a define or unsetting notify
Hi
i''m trying to pass Resources (single or in an array) to a resource, so I
can pass this to a notify or require. However I have some problems, when
no resource should be passed. Maybe somebody can help me? thanks
define gentoo::etcconfd (
$require = '''',
$notify = ''''
){
file { "/etc/conf.d/${name}":
owner =>
2011 Aug 07
3
Workaround to "Provider groupadd does not support features manages_members" ?
Hello,
I wanted to manage a couple of groups membership, under RedHat,
without managing the users (as they are LDAP users) but found out it
is not supported.... Is there a workaround to this?
I tried:
group { "jbossd":
gid => 520,
members => ["user1","user2"],
}
Thanks a lot.
Mohamed.
--
You received this message because you are