Displaying 20 results from an estimated 500 matches similar to: "extlookup in 2.6.1 defaults"
2011 Oct 24
3
extlookup not working correctly in 2.7.6
I''m trying to upgrade from 2.6.7 to to 2.7.6 and I''m running into an
issue in my extlookup() calls. A lot of the variables which should be
defined aren''t defined within extlookup.rb. I''ve tested 2.6.7 agent
and 2.7.5 agent against the 2.6.7 master and 2.7.6 master. I adjusted
extlookup.rb slightly to provide some debug output.
2011 Apr 19
4
Puppet environment can't be used in extlookup (precedence)
Anyone able to explain why "$fqdn" works and "$environment" doesn''t in:
$extlookup_precedence=["%{fqdn}","%{environment}","common"]
How to reproduce it:
-----------------------------
- In "/etc/puppet/manifests/site.pp" :
$extlookup_datadir = "/etc/puppet/manifests/extdata"
2011 May 13
18
Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/
Hi,
I have been trying to improve the coding of some of
my puppet recipes and had some trouble so wrote this:
http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/
Comments on the web seem to indicate that extlookup() solves "all
problems" but I don''t really see that and hence have proposed a possible
way to keep the data closer together and make the extlookup()
2012 Oct 26
2
Using regex to match hostnames in hiera
Hi, I''m having a problem with extlookup not respecting the ''certname'' parameter[1]. When executing a puppet run with either the --certname or --fqdn parameters, it ends up using the specified SSL certificate and gets the correct node definition applied from the puppetmaster. However, it still retrieves extlookup data using the node''s actual FQDN, not the one
2011 Sep 07
1
undefined method `function_extlookup'
Trying to use extlookup from within template i use
<%= scope.function_extlookup("blah") %>
but get the undefined method `function_extlookup'' error
According to http://docs.puppetlabs.com/guides/templating.html#access-to-variables-and-puppet-functions-with-the-scope-object
this should work.
Thanks
Alex
--
You received this message because you are subscribed to the
2011 Nov 30
1
Using facts from stored configs based on class
Hi,
Is it possible to use facts from external nodes via stored configs, based
on a filter such as class? To illustrate, I provide the following use case ;
class nagios::nrpe {
# No such resource "ip". I''d like to use "ip" fact of any node that is
assigned to class "nagios::server"
$nagios_servers = Ip <<| class="nagios::server"
2010 Feb 18
7
Augeas pam.d argument checking
I''m trying to change the password complexity requirements in
pam.d/system-auth using augeas. I can append the values (lcredit=-1,
ucredit=-1, etc) onto the correct place, but if another value is
already present (i.e. lcredit=-2), the onlyif match statement doesn''t
seem to support checking regular expressions inside of strings. How do
I check that any numeric value exists in the
2011 Dec 22
8
Managing sensitive strings with puppet
I''m new to Puppet, and I''m a software developer, not a sysadmin, so be
gentle. I have puppet managing some files via templates, and one of
the template variables that needs to be plugged in is a password of
sorts that shouldn''t be generally available. In particular, it can''t
be stored in the manifest, as that''s stored in version control, and
the
2013 Feb 14
0
Really need some help:: Weird Issue with external data look up in puppet 2.6.11
Running puppet 2.6.11 opensource on Red Hat 5.6 client.
I cannot explain this logically but I have a directory structure like so:
/etc/puppet/manifests/hiera/hostgroups/
with directories for each of my application areas like so:
*clickz core devel dns icross iswap itch puppet test ubuntu*
*What is weird is that if I put anything under the directory named "core",
the ext
2010 Oct 04
6
Facter ignores interfaces with non eth names
Does facter support NICs that are not named ethX? I happen to use custom
names on my systems. Just a quick look at the code I don''t see why it
wouldn''t but the behavior I am seeing is very different.
--
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
2011 May 31
0
Extlookup++
On Fri, May 27, 2011 at 1:08 PM, R.I.Pienaar <rip@devco.net> wrote:
> And for what its worth this afternoon just to see how hard it is
> and to again ask to myself ''wtf has no-one done this yet?'' and also
> ''wtf are people at Puppet Labs reinventing this wheel?'' I wrote
> a new extlookup that has pluggable backends.
>
The bit about
2006 Apr 06
1
interpreting anova summary tables - newbie
Hello,
Apologies if this is the wrong list, I am a first-time poster here. I
have an experiment in which an output is measured in response to 42
different categories.
I am only interested which of the categories is significantly different
from a reference category.
Here is the summary of the results:
summary(simple.fit)
Call:
lm(formula = as.numeric(as.vector(TNFa)) ~ Mutant.ID, data =
2011 Jun 07
0
Split Manifest Across Multiple Lines?
Is there a way I can split a line in a manifest across multiple lines, ala
shell style?
ie:
$include_postfix_module = extlookup("IncludePostfixModule", \
extlookup("IncludePostfixModule", \
extlookup("IncludePostfixModule", \
"",
2011 Sep 14
1
Quick help… GitHub & Puppet Environments...
I''m looking for a bit of best-practices here. Our puppet environment up-until-today has been owned and operated by IT Operations only. We''ve had a single ''production'' environment and our code has been managed in a local GitHub::FI install. We have ~14,000 lines of code in our PP files. We''re trying to make two changes to our environment... that may need
2011 Aug 08
12
Hash Interpolation inside double quotes?
I''ve got this:
file {
''/opt/sugarsync/tomcat/tomcat-home/current'':
ensure => "tomcat-$config[''tomcat_version_server'']";
where $config[''tomcat_version_server''] was set with extlookup (the yaml
one), by loading:
---
tomcat_config:
tomcat_version_server: 6.0.20-1
tomcat_version_libs: 1.0-1
2012 Aug 29
9
puppetlabs-stdlib
I''m confused about this...
https://github.com/puppetlabs/puppetlabs-stdlib/
I see a lot of functions there that are the same as the ones that come
standard with puppet. If I create a module and dump this stuff in
there, what happens to the existing stuff? How does puppet know which
one to use?
Doug
--
You received this message because you are subscribed to the Google Groups
2011 Sep 22
8
Export variables into other classes
Hi all
I have been pondering this for a while, but not yet seen a clean way
to do it
I have a few puppet classes (apache/ntp/mysql/bacula/nagios/etc)
I would like to generate part of my bacula and nagios configs for each
host based on which other classes that host belongs to (or to put it
another way, I would like to export variables from classes which would
be used by my bacula and nagios
2010 Aug 13
7
Push changes to clients
I was wondering how to configure the puppet clients to only listen,
not to periodically pull configs down from the puppetmaster.
I''d rather push the configs out from the puppetmaster with
puppetrun...
At a guess I need to set runinterval to 0 in /etc/puppet/puppet.conf?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post
2010 Jun 06
19
Collecting _all_ ssh keys
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
I read and find a way (well, there seems to be several equal
implementations) to collect the ssh keys of machines. However they all
give only the choice to choose between the key formats.
But is there a way to collect both keys of a machine, the rsa _and_ the
dss key (and maybe the rsa1 too)? I didn''t find a way to solve this as
2011 Jan 07
18
Exactly how do people replace include with parametrised classes?
Hi list,
Reading the thread "can a class require an other class?" it''s been
mentioned that perhaps one way forward for the Puppet language is to
phase out the include keyword in favour of parametrised classes. I''m
thinking of my Puppet and the several levels of include chaining I use
and I''m wondering how on earth that''d be possible. Maybe