Displaying 20 results from an estimated 40000 matches similar to: "how to keep persistent ldap connection"
2010 Dec 20
2
foreman issue
Hello!
I try to use foreman. It''s successfuly import current nodes from
puppet storeconfig. Nodes hostname stored in short form, without
domain.
After that, i run puppet on newly created additional 5 nodes. They
shows in foreman with full fqdn. Os, environment, architecture for
this nodes not shown.
How can i fix this issue?
--
You received this message because you are subscribed to
2010 Nov 19
6
augeas / sudoers
Hello everybody!
How can i create with puppet following sudoers file:
User_Alias CENTREON=apache,nagios
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* reload
CENTREON ALL = NOPASSWD: /usr/bin/nagios* -v *
The problem that augeas create only last line, replacing previous one.
--
You received this message because you are subscribed to
2010 Apr 28
2
storeconfigs seems to disable external nodes
I have a working configuration using external nodes, but when I enable
storeconfigs using either Sqlite or MySQL, nodes no longer get
assigned their classes from the external nodes script. I''m currently
using the 0.25.4-2ubuntu6 packages from Ubuntu 10.4. Disabling
storeconfigs and restarting puppetmaster causes nodes to be assigned
classes from the external nodes script. I''ve
2012 Mar 13
2
vhost creation with and without ssl
Hello,
I have this defined resource type which is working perfectly until I
want an ssl an http vhost pointing to the same directory in which case
the unique $servername variable became a singleton
Do you have any idea how to get around this? I am pretty tired at the
moment and cant think of any good solution.
define vhost ($servername = "${hostname}.${domain}", $serveralias = [
2007 Apr 18
20
dependency and communication between defined classes
Hi,
i wanted to know how you handle case when classes or define need to
communicate between them. For exemple i got an ftpd define and a
apachevhost define. Both need to know the path where the vhost is set
and this path is defined by the ftpuser home''s directory. How can i ask
information from other define or other classes ? we allready seen that
tag are not reliable as they
2007 Jun 09
12
Example module for central git repository via http (sort of like a subversion repo) [a bit RFC]
Hi all,
I''ve been looking for a good example for how one would build a module,
but I couldn''t really find something that I liked, so I went ahead and
tried to do it myself.
The result is this: a git module (see attachment).
Please have a look and comment on it, before I add it to the wiki. I
especially want comments on the setup of the module itself, not so
much on the git
2007 Apr 30
17
Managing packages which require a reboot
Hi,
I''m working on a method to manage packages which require a reboot after
being installed. I''m curious how other people are handling this problem.
Consider the resource:
pkg_deploy { "MacOSXUpdCombo10.4.9Intel.dmg": alias => macosx1049 }
I''d like to only install the package under if the following conditions
are met:
- No user is logged into the
2007 Nov 23
7
Modules design patterns ?
Hi,
I''m writing puppet modules since a couple of weeks now, so I''m still
considering myself as a new comer in this field.
It seems that modules I can find on the web or the recipe page on the
wiki almost all use a design pattern where the module is shipped in one
or several class(es) whose configuration are determined by "global" or
nodes variables ala:
module:
class
2013 Oct 24
1
Puppet components and configuration / Hiera patterns
We have embraced Hiera; we use the YAML configuration system currently and
on the whole everyone finds it easy to use and intuitive.
However, as our manifests have grown more complex, we have a need to
"compile" multiple narrowly-focused classes together into different types
of high-level roles. For example, we might have a "webmail" class that
pulls together classes for
2007 Jan 23
20
"Found a bug" message when purging services
I attempted the following:
resources { service: purge => true, noop => true }
service {
sshd: ensure => running;
iptables ensure => running;
}
And got the following message:
notice: Starting configuration run
err: Found a bug: uninitialized constant Parse
notice: Finished configuration run in 0.47 seconds
When I remove the ''resources'' line, everything works
2007 Apr 26
5
class parameters
Hello there,
Just wanted to know if class will be able to have parameters ?
Right now i use:
define resolver( $options =''rotate'', $nameserver,
$search='''',$domain='''',$sortlist=''''){
file{ ''/etc/resolv.conf'':
content =>
2007 Oct 16
30
Template Nodes considered harmful
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Russ, Digant, *!
Several times on the IRC channel I noticed people having problems getting to
grips with the interaction of scopes when using template nodes[1]. Typically
this looks thus:
| node genericwebserver { stuff }
|
| node ''web01.example.com'' inherits genericwebserver {
| $influence_genericwebserver =
2007 May 18
5
package installations on schedule or manual run
I would like to have packages installed either in the early morning or
whenever I manually choose to do so on a particular machine. I am
trying to convert my existing configuration from cfengine so in that
tool I had something like:
packages:
Hr03|ManualRun::
<package installation commands>
This basically says to install packages if it''s either 3:00-3:59am or if
2007 Nov 12
2
How to keep several puppetd in sync at the same time ?
Hi,
I''m still writing my djbdns module, I came to the following design issue
with master and slave tinydns.
Normally there is no such master and slave distinction in djbdns: all
tinydns instance are equal. Usually one instance on one host is
considered the master on, which the RR are changed, and when you need to
propagate them, you rsync the datas to the other hosts, where they will
be
2007 Jun 07
3
can i access module "files" w/o using client-server?
Hi,
I''m new to puppet and trying to get started using it just in local mode.
My basic question is: how can i reference a static file within the module
(eg in the module''s files/ subdirectory, as described in
http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation). I suppose i
could try using a full.absolute path to the file, but that seems to
completely defeat the purpose
2008 Nov 24
2
Understanding the docs
Ok, I''ve been reading and I have some questions about best practices:
I understand that modules are to be self contained blocks that i can
just drop in. Using best practices, how does this fit into the naming
scheme?
Classes are singletons. I think i understand this. I''ve been
defining classes in /etc/puppet/classes, but then how does this relate
to any modules i might want
2007 Nov 25
4
sharing modules scalably
Hi,
[First, a quick introduction... I''m one of the sysadmins at Koumbit.org,
and we''re evaluating puppet for managing our modest server farm. I''ve
already started writing recipes and manifests and intend to share those
with this community. Part of my time worked on this will be directly
paid by Koumbit.]
So we''ve got a few half-finished puppet modules here:
2011 Jan 31
8
Puppet delegation / teams
I would like to delegate access to puppet to other teams in our company.
It has to be possible for them to:
- create new recipes
- doing some sort of check if their recipes / templates work.
How should I do this without giving other teams the ability to create havoc?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this
2011 Nov 15
4
Reopening sqlite3 db
Hello,
I am not sure if I trigger a bug and if so it could also be in ruby
sqlite3 backend. However, maybe I do something totally wrong.
I have the following part in puppet.conf:
[master]
storeconfigs = true
dblocation = /var/lib/puppet/state/clientconfigs.sqlite3
dbadapter = sqlite3
Now every time a client (agent in puppet speak) is run I get one more
connection to the
2009 Jun 25
2
Puppet + HAProxy
Hello,
The Puppet footprint within my company is steadily growing, We took
the basic steps to make it more robust (passenger + apache) but in
order to meet the needs of a 24x7 shop I need redundancy. I''ve read
the Reductive Labs WIKI about redundancy (http://reductivelabs.com/
trac/puppet/wiki/Recipes/HighAvailability) but I was wondering if
anyone has experiences (good or bad) using