Displaying 20 results from an estimated 9000 matches similar to: "template context question"
2007 Nov 28
6
SSL certificate state of the union
Hello there,
Since the update with ruby all my puppet function is dead (well known
issue with the cert) . There has been some discutions on the dev list on
how to patch this for future versions. I have read the list and wondered
how we can solve the issue while waiting for the .24. I am in beta test
of the .23.x version but on my production system i wanted to find a way
to solve this now
2007 Dec 26
3
fileserver RE bug in 0.24.1
I tried to open a Trac ticket on this, but the menus are not working for
some reason right now. I''ve noticed this in our puppetmasterd logs
since upgrading:
puppetmasterd[7943]: Could not call: nested *?+ in regexp:
/^\/var\/www\/html\/download\/NSClient++-0.2.7.zip/
Seems like the data passed should have RE characters quoted (ala \Q...\E
in Perl) prior to this test.
Regards,
Mark
2007 Feb 04
5
package provider multiple defaults
I am working on some initial testing of puppet and noticed that when
using the package type, I see this in my client logs (from different runs):
warning: Found multiple default providers for package: up2date, yum;
using up2date
warning: Found multiple default providers for package: yum, up2date;
using yum
This is on a CentOS 4.4 client with puppet-0.22.0-1.el4 (from dlutter
repo). After
2007 Mar 27
8
using $name in default assignment within define?
I thought this made sense, but apparently I am mistaken:
define copyfile($owner = root, $group = root, $repo = "config",
$mode, $source = $name, $purge = false, $backup = false,
$recurse = false, $server = $servername) {
file { $name:
mode => $mode,
owner => $owner,
group => $group,
backup => $backup,
2008 Jan 01
1
trac@reductivelabs.com broken?
I''ve tried replying twice in the past few days to a request for more
information on a bug I filed. When I do, I get:
----- The following addresses had permanent fatal errors -----
<trac@reductivelabs.com>
(reason: 550 5.1.1 <trac@reductivelabs.com>: Recipient address rejected: User unknown in local recipient table)
Regards,
Mark
--
Mark D. Nagel, CCIE #3177
2007 Nov 30
1
memory leak?
I have a client I''m testing where the puppetd process grows slowly (over
a few days) to the point where it exceeds 100MB. This triggers an alert
and we restart the daemon, but I''m curious whether anyone has noticed
similar behavior. Details are:
Server: CentOS 4.5 x86 (on VMWare Server guest)
RPM install from dlutter repo (puppet-0.23.2-1.el4)
The only thing I can
2007 May 07
3
Deploying file from server only initially
Is it possible to have a file copied from the fileserver but only when
it doesn''t exist? I want to prevent changes on the client from being
wiped out if it is different. We have a couple of config files that
the DBAs are resistant to managing through puppet. They currently
manually deploy changes and I don''t want those changes wiped out if
the server isn''t updated. I
2007 Mar 30
3
still unable to add new nodes?
I updated to 0.22.3-1 from the dlutter repo (CentOS 4.4) and I''m still
having trouble adding new nodes as others saw from the previous version,
though I believe the error is different now. The procedure I used was:
<client> /etc/init.d/puppet once -v
<server> /usr/sbin/puppetca --sign nodename
<client> /etc/init.d/puppet once -v
This used to work for new nodes, now I
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
I have very strange problem. I set up puppet client on serveral
servers but have problem with one of them.
When I invoke:
root@www ~ # puppet agent --server puppetmaster.domain.ltd --test
notice: Ignoring --listen on onetime run
info: Caching catalog for puppetclient.domain.ltd
info: Applying configuration version ''1326444431''
notice: Finished catalog run in
2007 May 08
13
Override to unspecify
In the normal override method, you can change the value of a parameter, but
can you unset a parameter?
file { "/etc/somefile":
mode => 644,
owner => "dude"
}
File ["/etc/somefile"] { mode => unset } ??
2010 Apr 09
2
Custom facts for a puppetmasterless environment
I see the instructions for creating custom facter recipes here:
http://projects.reductivelabs.com/projects/puppet/wiki/Adding_Facts
and in this thread, James Turnbull suggests that Facter might some day
support other languages besides ruby:
http://groups.google.com/group/puppet-users/browse_thread/thread/8c127ae8898d3bcf/c5ca551b77c4eb67?lnk=gst&q=facter+perl#c5ca551b77c4eb67
He writes:
2009 Oct 27
14
ANNOUNCE: Puppet 0.25.1 released!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Puppet 0.25.1 - code name "zoot" - is now available. The 0.25.1 release
is a maintenance release in the 0.25.x branch.
The release is available at:
http://reductivelabs.com/downloads/puppet/puppet-0.25.1.tar.gz
http://reductivelabs.com/downloads/gems/puppet-0.25.1.gem
Please report issues and feedback via the Reductive Labs Redmine site:
2007 May 26
2
OT: Installing munin-node cleanly in spite of RPM
Hi,
This is totally off-topic (it''s an rpm/rpmbuild problem), but I want to
get to a point where I''m installing and configuring munin-node with
puppet. To do that, I need a clean, standardized way of installing
munin-mode on CentOS (RHELish) boxes.
I could install munin-node from source via puppet and probably make
enough edits that all the files end up in reasonable locations
2008 Apr 27
4
Template variable "hostname" not working with certname= parameter?
I recently upgraded my Puppetmaster to 0.24.4 and it looks like my templates
are not working properly. All of my clients use the same certificate, built
by my original client "xx". I do this using the certname=blah parameter in
the puppet.conf on each client. Up until I upgraded each client would use
the "xx" certificate (which I had renamed to "blah") and
2012 Mar 06
2
Long config retrieval on nodes
Hi all, hoping someone may have encountered a problem similar to this
before:
On my customer''s EC2 based infrastructure, we have implemented the
nodeless, truth driven module outlined by Jordan Sissel here
http://www.semicomplete.com/blog/geekery/puppet-nodeless-configuration.
It''s quite an effective model, especially in the realm of EC2... we still
have a puppetmaster
2008 Jan 17
5
A function can always run when a client connect to the pupetmaster?
hello,all
I write a function. this function will write the client fqdn to a
file. But this function only run one time when the puppetmaster
recompile the configuration.
How can let this function run every time when a client connect to
the puppetmaster ? please help me.
--
Huang Mingyou
2010 Aug 02
1
wrong facts going into storeconfigs, 0.25+2.6
I''m re-posting this because I''m not sure that it got through the first
time. If someone could at least echo back that this is reaching the
list, I''d appreciate it. (I''m new to the list.)
Sometimes (with variable frequency) storeconfigs stores the wrong data
in the fact_values table. This has the end result that exported
resources, when collected, have
2007 Oct 04
5
use client''s server variable instead of $servername?
Our puppetmaster runs on a host with multiple interfaces connected to
various private networks, with different hostnames for each IP. I''m
trying to use $servername in modules to copy files over a private
network, but this is always set to the public hostname of the server.
That route is blocked by a firewall. Is there a way to use the server
variable in puppet.conf in manifests?
2012 Dec 14
2
Duplicate declaration for invoking a class
Hi everyone,
Here are the manifest I am using:
In file ''*modules/test/manifest/init.pp*'':
class test (
$test = undef,
) {
notice("Here is the message: ${test}")
}
Now in ''*modules/saas/manifests/client/sudo.pp*'':
class saas::client::sudo {
class { ''test'': }
}
Now in ''*manifests/sites.pp*'':
import
2012 Apr 25
2
Unable to import a manifest file from a different directory to the one where site.pp is located using environments
Hi List,
Puppet Version: v2.7.13
Question - If I correctly setup multiple manifestdir''s in the puppet.conf
file how can I import a node pp file located in a different directory tree
to site.pp?
My configuration information is below.
In my puppet.conf file I have setup an environment called "stable", within
this environment I have setup the manifestdir, modulepath and