Displaying 20 results from an estimated 10000 matches similar to: "Running ENC alongside site.pp (node defn)"
2013 Aug 21
1
Trouble with ENC and static.pp : enabling ENC fails to find node even with default node in site.pp
I''m having some trouble with getting an ENC to work alongside site.pp:
Even with a ''default'' node definition, and an ENC that only returns 0,
regardless of input, consistently results in a ''cannot find node'' error.
I''m wondering what I''ve missed here.
I''ve tried to reduce everything to a ''base case'': and
2012 Jun 02
5
error trying ENC.
Hello, I''m trying to use External Node classification and I have not
idea what is my mistake.
I getting the following error :
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: undefined method `downcase'' for ["hola",
{"mens"=>"HOLA"}]:Array on node casa
I have a very simple parameter class :
class hola( $mens =
2012 Apr 27
6
trouble w/ Foreman as ENC, agents and environments
Hi,
I have a Puppet Enterprise (2.0) puppetmaster running with Foreman,
and having trouble getting it working as an External Node Classifier.
In short, if I manually add a test client into site.pp, it will
retrieve the proper catalog / classes, but I would like to avoid
having to do that. I''m also using environments (production/testing/
development) as well, but think I have most of
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
Hi,
When I run puppet agent --test --environment 42A, I have the following
warning :
Warning: Local environment: "42A" doesn''t match server specified node
environment "production", switching agent to "production".
...
The puppet manifest for the environment "42A" isn''t applied.
The puppet version is 3.3.1-1puppetlabs1 on agent and
2012 Mar 19
1
dashboard as enc not working
I''m trying to setup dashboard as a node classifier w/puppet 2.6.14.
Not sure why this is not working...
In puppet.conf on the master I have:
node_terminus = exec
external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://
localhost /usr/share/puppet-dashboard/bin/external_node
The agent''s return:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER:
2013 Jul 02
1
How to: In nodes.pp - point "node" to hostnames in a file
I am working on a project that involves host names with now sequence to
them.
I would like my "node" hostnames in nodes.pp to point to a file with a list
of these hostnames.
Example: node {path/filename} {
instead of the usual:
node ''www1.example.com'' {
or
node /^www\d+$/ {
Can this be done?
Can anyone show my an example of how this was achieved?
Thanks
2013 Jun 10
1
cannot using LDAP nodes with site.pp together?
*FROM:*
http://projects.puppetlabs.com/projects/puppet/wiki/LDAP_Nodes
"""*
NOTE: You can use node entries in your manifests together with LDAP nodes.
External or LDAP nodes will be used before node entries. You cannot however
use LDAP nodes and external nodes together. You must use one of these two
types.*
"""
But,
in *PRO PUPPET* page 127:
"""
*Note
2011 Feb 28
7
Where to put External Nodes in Multiple Environments?
All,
For those that are using external nodes (as local files) and multiple
environments, where do you put the external node files?
Ie, do you put them down in the environment itself
/etc/puppet/env/env1/manifests/extdata/nodes
/etc/puppet/env/env.../manifests/extdata/nodes
/etc/puppet/env/envN/manifests/extdata/nodes
OR, up above the environments?
/etc/puppet/manifests/extdata/nodes
Which
2010 Apr 05
5
Problem syncing custom fact
I am trying to get a custom fact to sync. The fact is in a module. It
will sync if I run puppet with "--pluginsync" but not otherwise. I
have "pluginsync=true" in my puppet.conf. Shouldn''t the command line
option and puppet.conf option have the same results?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
Hello All,
So I finally got around to start to cut over node definitions
from standard flat files to external nodes (foreman), and getting
error message: "Error 400 on SERVER: Could not find node ''nodename'';
cannot compile" - So basically it can''t pick up the node from the
external node config.
When I test the fetching of the yaml file it seems to work
2013 Oct 30
4
moving to ENC - how to get all current classes and params
I''m looking to use an external node classifier (ENC) in our environment.
What''s the easiest way to programmatically get currently applied classes
(and class parameters) for all hosts, with the goal of dumping it into a
database for later retrieval by the ENC script? Nodes are currently
classified via site.pp.
thanks
--
You received this message because you are subscribed
2011 Jun 01
3
puppet and environments ... need help
I''m trying to use environments and seem to be failing. Right now I
have 4 defined environments: production, cat, development, beta
They are defined as follows on my puppetmaster:
cat /etc/puppet/puppet.conf
[main]
pluginsync = true
vardir = /var/lib/puppet
manifest = /etc/puppet/environments/production/site.pp
modulepath = /etc/puppet/environments/production/modules
[master]
reports =
2012 Sep 26
6
Puppet 2.7, hiera 1.0 and hiera as an ENC
This is the situation I have:
All my hosts are the* same OS.*
All my host are in the* same puppet environment,* so I cannot use
%{environment}
I have a module that sets all the *basic* functionality for the OS,
resolution, authentication, security, packages, etc
I have a module for each application hosted.
At the moment all the ''data'' is in Puppet, mostly in parametrised
2010 Jun 17
6
Foreman / external_node.rb
Hello All,
I''m trying to start using external nodes under foreman, and I''m
running into some issues. I have the entries in puppet.conf:
[main]
external_nodes = /etc/puppet/external_node.rb
node_terminus = exec
The enternal_node.rb script is the one that came with foreman:
#!/usr/bin/ruby
# a simple script which fetches external nodes from Foreman
# you
2013 Mar 11
1
using parameter with puppet dashboard and site.pp
I have just set up my puppet dashboard to be used as a ENC. This is for the
time being the easiest way to get support guys to add nodes to classes. I
have to use global parameters in my modules if I would like to declare
parameters using dashboard as the ENC.
So I have a module which does this:
class resolver ($domain_name=$::domainname,
$search_path=$::searchpath,
2013 Dec 02
1
Class parameter flexibility with ENC, hiera or both
Dear puppetteers,
I am having a philosophical question about parametrized classes.
When building modules, one wants to be as flexible as possible, to try
to target as many puppet flavors as possible. This is our target:
- Foreman users, using foreman as an ENC with smart variables (or
potentially any other ENC, but I would say this is the most widespread one).
- Pure Puppet''s site.pp
2011 Mar 31
5
puppetca and /etc/puppet/ssl
All,
I have --confdir=/etc/puppet/common in my /etc/init.d/puppetmaster and
/etc/init.d/puppet files, vardir set to /var/lib/puppet in
/etc/puppet/common/puppet.conf, and yet, every time I run puppetca it
creates /etc/puppet/ssl. Anyone know why?
Doug.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email
2011 Jul 13
2
nodes.pp in different environments
Hi guys
I have a small question, I have 3 environments in puppet.conf file:
[development]
modulepath=/etc/puppet/development/modules
manifests=/etc/puppet/development/manifests/site.pp
I have defined the site.pp path, my question is do I need to make a
nodes.pp for every environment??????
Thanks
--
You received this message because you are subscribed to the Google Groups "Puppet
2013 Oct 13
24
exporting custom facts to puppet agents
Dear all,
I have a custom fact, that reads a file and then generate the values
dynamically based on the file content. It''s something like this:
inFile = "/home/admin/OSs.txt"
> gos = {}
>
> if File.exist?(inFile)
> open(inFile, ''r'').each do |line|
> next if line =~ /^\s*(#|$)/
> parts =
2011 Apr 05
6
Node classifier not loading any defined classes
All,
I am sure this is just something I am doing wrong, but I am trying to
implement a node classifier (shell script) to have my nodes inherit
the proper classes. However, when I run it I am not getting any
classes except those that are defined in default.
Rather than going into detail showing all of my configurations right
off the bat, I have a question:
I just stood up a