Displaying 20 results from an estimated 40000 matches similar to: "Quick help… GitHub & Puppet Environments..."
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"
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 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.
2010 Aug 22
3
extlookup in 2.6.1 defaults
Hmmm....
So I was just trying the extlookup function that comes with puppet
2.6.1. It now lets you do this:
$version = extlookup("rsyslog_version", "present", "packages")
which, according to the documentation:
# This will look for a version configured in packages.csv and then in
the rest as configured
# by $extlookup_precedence if it''s not found anywhere
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
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()
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
2011 Sep 23
3
ldap ENC extension to use environment parent node
Hi,
We currently use ldap ENC to set server role variables and extlookup
to set domain or environment variables.
I have a suggestion regarding ldap use as an ENC - if a node within
ldap has the environment attribute set then it should inherit/mixin
(if available) from a node named after it''s environment.
It could be populated with only puppetVar type attributes so that any
environment
2013 Mar 08
2
multiple pamameter values in puppet dashboard ENC
Is there a way to use send multiple parameter values using puppet dashboard
ENC?
For example,
nameserver = 10.0.0.1, 10.0.0.2
or perhaps
nameserver = [''10.0.0.1'',''10.0.0.2''}
then the template erb file can loop through each of the nameserver values
to set up mulitple nameservers in resolve.conf?
Thanks - Oli
--
You received this message because you are
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"
2011 Feb 24
1
Puppet 2.6 Environments
Oh boy. I''m a bit stuck here. I just moved our puppet config into
environments, and now puppet won''t serve up any files.
(/Stage[yum]/Yum::Client/File[/etc/yum.conf]) Could not evaluate: Error 400
on SERVER: Not authorized to call
find on /file_metadata/pax_prod/yum/client/etc/yum.conf Could not retrieve
file metadata for puppet:///pax_prod/yum/client/etc/yum.conf: Error 400 on
2013 Oct 16
2
different environments per puppet master
Hi,
Is there any possibility to do different environments(puppet classes)
per organization/location based on a smart proxy(puppet master)?
Or any plans to implement this?
Thank you,
Cristian Falcas
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
2013 Nov 01
1
Dynamic Environments, r10k, gitolite and Non-environment Puppet Config
Hi all,
Apologies if this has been dealt with before, but I haven''t managed to find
an answer yet.
I have a working "dynamic environments" setup:
* A gitolite repository (on a dedicated host) with multiple branches - one
for each environment.
* I use r10k ro deploy the environments on the master to
$confdir/environments/$::environment.
This all works *really* well, but I
2010 Jul 30
3
Puppet dashboard and environments
Hi puppet users,
We''ve got a puppet (0.24.8) implementation with two environments, called
production and testing. We''ve also got a Puppet Dashboard (1.0) instance
up and running, which is receiving and displaying reports from hosts in
both of the environments.
We would like to start using the dashboard as an external node
classification tool, so I''ve taken the example
2013 Jan 18
3
Puppet 2.6 - Custom functions - environments issue
Hello every one,
I have looked at a lots of threads in the Puppet User group but I did not
find a clear answer or explanation how custom functions work....
Here is my current setup :
* I have *2 "environments"*. working fine
/etc/puppet/environments/production/
/etc/puppet/environments/test/
* I have a version of my function already working in production
* According to the
2013 Aug 19
3
Puppet environments vs App environments
I''ve setup dynamic environments using git but I''m confused about how
environments are actually supposed to be used. We''re a small ISP and have
freeradius servers, VPN servers and web servers. I''ve been using
environments to enable me as the sysadmin to build and test new
manifests/modules before deploying them to our production servers. I have
dedicated
2011 Aug 19
0
R: "New" (i.e., posted last week) Learning Puppet chapters
Imho, should be intesting some idea on the integration of puppet in large corporation, the possible workflow, the separation of duty. For example using something as gitolite, the integration with quality control of some sort, the reporting. I have read something in pro puppet : i am sorry but most of that is discussed there in this area is very basic. Best regards
----Messaggio originale----
Da:
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
2013 May 09
7
Are multiple environments broken in puppet?
I started getting the following errors from my puppet master:
> Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid parameter provider at /some/module/manifests/foo.pp
The module would vary, but the error was always the same. I started
googling, searching lists, etc. And turned up a whole bucket load of issues
that all seem related and are all unresolved: