Displaying 20 results from an estimated 5000 matches similar to: "error trying ENC."
2013 Mar 26
5
Running ENC alongside site.pp (node defn)
Hello,
Is it possible to configure an ENC to provide class definition to a number
of nodes at the same time where a few other nodes are controlled in the
site.pp by node ''FQDN'' {blah} for the same puppetmaster ?
I am wondering once parameters are set for the master to look for an ENC
based definitions, will it conflict with the site.pp node definitions ?
For example these
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 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
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 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
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 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
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
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.
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
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 =
2013 Feb 20
0
Help needed in setting up a simple ENC
puppet maser conf:
[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
[master]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
user = root
group = root
fileserverconfig = /etc/puppet/fileserver.conf
reportdir = /home/logs/puppet/reports
masterhttplog = /home/logs/puppet/masterhttp.log
masterlog =
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
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 Feb 08
12
multiple puppetmasters (w/ Passenger) behind load balancer
Hello Gang,
I''m working on scaling my puppet solution, and I''m deploying multiple
masters w/ passenger that are going sit behind a load balancer. If anyone
is using these type of setup, would you share how you deal with the SSL
certs? I''ve been following Bode''s Blog (http://bodepd.com/wordpress/?p=7),
and it''s not working to good for me.
2012 Mar 19
3
Use netgroups as classes
Hi,
In my puppet configuration, to deploy certain files to group of nodes,
everytime either a new class of node is being used or the node class has to
typically extended to many other machines and is likely more typing. The
more typing can generally result in anomalies/errors in hosts.
For example:
node x1.y.z x2.y.z x3.y.z x4.y.z{
...
...
}
What I am trying to formulate this into is use
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
2006 Jul 15
4
updating multiple records with form
I have an app that has two models -- products and details. I''m building
a form that allows a user to create a new product and specify a
description, etc.
The form needs to allow for creation of multiple items in the details
model/table. for example, I have a block of form items that collect
info for the men''s version of the product -- inventory count for each
size, etc. And
2013 Sep 18
1
ENC paramater interpolation in ENC, and inline templates
I''m in the process of rolling out a new homegrown ENC (we''ve decided on
using an ENC over hiera; I know it''s not the way a lot of you are going,
but it''s right for us) and am running into some issues with variable
interpolation in ENC data.
To give a concrete example, I''m using modules to configure puppetdb,
puppet master, and puppet clients. So,
2011 Jun 22
2
environment ENC vs cmdline
Hi all,
I am using puppet with an ENC script. In this scripts YAML output the
environment (generally "production") is set.
For testing purposes I would like to start puppet runs from the
cmdline of a managed host like:
$ puppet agent --onetime --no-daemonize --verbose --no-splay
--environment development
The problem is the --environment Parameter is not being used if an
environment