Displaying 20 results from an estimated 61 matches for "external_nod".
Did you mean:
external_node
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 can basically use anything that knows how to get http data, e.g.
wget/curl etc.
# Forema...
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: Could not find node ''myhost''; cannot compile
I can run the external node s...
2007 Jul 19
2
yaml representation of manifests
I''m using the external_nodes functionality to read in a flat file of a
node''s configuration. Currently said file is a straight yaml file (just to
keep things simple). The place I''m currently stuck is in doing some more
advance node configurations and placing that data in the yaml file. For
example:
node...
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
...nts/modules/install/42A
manifest = /etc/puppet/environments/manifests/install/site.pp
[agent]
server = puppet
report = true
[master]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
storeconfigs = true
storeconfigs_backend = puppetdb
reports=log,puppetdb,foreman
external_nodes = /etc/puppet/node.rb
node_terminus = exec*
-----------------------------------------------------------
If i comment the last two lines (external_nodes and node_terminus) on the
puppetmaster puppet.conf node, The puppet manifest is applied correctly.
Anybody has an idea ?
Thanks
--
You re...
2007 Oct 19
3
client update to 0.23.2: "Could not find value for"
hi all,
we maintain about 30 puppet managed nodes. the version of the clients
is 0.23.0 and 0.23.1. the master is 0.23.0.
today we installed a new CentOS 5 node with David Lutterkort''s puppet
0.23.2 rpm. this host is a reinstall of an old FC4 on new hardware.
we are getting this error on 0.23.2, never happened before:
| Could not retrieve configuration:
| Failed to parse template
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
...###################################################################
This is my puppet.conf:
[main]
vardir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
reports= log,foreman,rrdgraph,store
clientyamldir = /var/lib/puppet/yaml/node
pluginsync = true
external_nodes = /etc/puppet/external_node.rb
node_terminus = exec
[puppetmasterd]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
modulepath = $confdir/modules
templatedir = /etc/puppet/manifests/templates
#clientyamldir = /var/lib/puppet/yaml/node...
2012 Jun 02
5
error trying ENC.
...{"mens"=>"HOLA"}]:Array on node casa
I have a very simple parameter class :
class hola( $mens = "HELLO" ) {
notify{"puppet": message => "$mens"}
}
I''m setting puppet.conf in master section :
node_terminus = exec
external_nodes = /etc/puppet/tools/dummycp.sh
My script dummycp.sh is :
#!/bin/sh
cat <<"END"
---
classes:
hola:
mens: HOLA
parameters:
manager: Jane Doe
END
exit 0
I appreciate any help,
thanks in advance,
eduardo.
--
You received this message because you are subscribed to...
2012 Jul 13
0
about puppet dashboard
Hi:
I have a problem, on the same puppetmaster host, how to through the
puppet dashboard management three environment: production, development and
testing.
Because in the puppet.conf file , ENC can only 1 configuration, like:
External_nodes = / data/puppet-dashboard/bin/external_node
External_node file configuration of the dashboard listen port.
If I start the production on port 3000, the development on port 3001,testing
on port 3002 。
How should I configuration and make the three environments also can be
used。
Thank you...
2008 Nov 14
11
External_nodes definition not working. Client states "could not find node"
Hello folks,
Im trying to migrate from static nodes-definition to external nodes
definition.
My script looks like this stolen from
http://reductivelabs.com/trac/puppet/wiki/ExternalNodes:
{{{
#!/usr/bin/perl -w
use warnings;
use YAML qw( Dump );
use Switch;
#initialize vars
our @classes;
our %parameters;
Function to fill @classes and %parameters with correct values
....
print Dump( {
2012 Apr 27
6
trouble w/ Foreman as ENC, agents and environments
...l
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 this configured
correctly -
on the puppetmaster''s puppet.conf - I do have:
node_terminus = exec
external_nodes = /etc/puppetlabs/puppet/node.rb
node.rb does exist and is owned by pe-puppet, executable, etc. I''ve
verified I can view
the yaml for a test client using the script.
and I have stanzas for each environment in the master''s puppet.conf -
[production]
modulepath=/etc/puppetlabs/p...
2007 Jun 20
5
0.23 question
...r my puppetmaster I get:
puppetmasterd[19397]: Could not find aa0-006-4.foo.com with names
aa0-006-4.foo.com, aa0-006-4
I''ve not changed puppetd.conf which contains:
ldapnodes = true
ldapserver = my.ldap.foo.com
ldapbase = ou=hosts,dc=foo,dc=com
I''ve not explicitly set external_nodes (so it stays false).
What else needs to be done?
Cheers,
Ryan
2013 Mar 26
5
Running ENC alongside site.pp (node defn)
...e
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 two basic parameters for ENC :
node_terminus = exec
external_nodes = /usr/local/bin/enclassifier
Thanks for any suggestion.
------
--
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 puppet-users+unsubscribe@googlegroups...
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
2013 May 13
1
puppet does not see changes in /etc/puppet/puppet.conf
...ostrun_command=/etc/puppet/etckeeper-commit-post
[master]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
storeconfigs = true
storeconfigs_backend = puppetdb
reports = store,puppetdb
reporturl = http://dashboard/reports/upload
node_terminus = exec
external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://dashboard
/usr/share/puppet-dashboard/bin/external_node
I have restarted/rebooted/reinstalled but still hit the same issue for
puppet-dashboard.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" g...
2011 Jun 01
3
puppet and environments ... need help
...[main]
pluginsync = true
vardir = /var/lib/puppet
manifest = /etc/puppet/environments/production/site.pp
modulepath = /etc/puppet/environments/production/modules
[master]
reports = foreman
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
logdir = /var/lib/puppet/log
external_nodes = /etc/puppet/external_node.rb
node_terminus = exec
[agent]
environment = production
report = true
[cat]
manifest = /etc/puppet/environments/cat/site.pp
modulepath = /etc/puppet/environments/cat/modules
[development]
manifest = /etc/puppet/environments/development/site.pp
modulepath = /etc/pup...
2011 Apr 05
6
Node classifier not loading any defined classes
...onments
as my base.
In my puppet.conf on puppetmaster I have
cat /etc/puppet.conf
[main]
<snip>
manifest = /etc/puppet/manifests/site.pp
modulepath = /etc/puppet/modules
[development]
manifest = /etc/puppet_devel/manifests/site.pp
modulepath = /etc/puppet_devel/modules
node_terminus = exec
external_nodes = /.foo/bin/puppet_node_classifier.sh
In my head that tells the development area to use /etc/puppet_devel
and to use the node classifier, whereas the main area uses /etc/
puppet/ and does NOT use the node classifier.
My testing shows that if I run ''puppetd --test'' it loads the...
2011 Jul 22
3
ANNOUNCE: Puppet Dashboard 1.2rc3 available
...d to new version of Tipsy plugin
9cb5e55 (Maint) More generalized tabbed interface
fbe11aa (#8196) Adjust content width based on body classes.
e756c25 (#8196) Add a body class describing sidebar state.
23cbef1 (#8196) Clean up body class manipulation.
3670e2b (#8146) Change default DASHBOARD_URL in external_node to localhost
81ec3c0 (#8090) Update .gitignore to ignore plugin files
6f117fc (#8022) Don''t fail when installing plugin without `public` directory
07a9407 (#8022) Create a hook for plugins to add items to <head> in layout
64be352 (#7967) Add default value for read column of delayed_...
2013 Apr 24
8
Problem retreiving catalog
I updated some of my gems, and I think it may be the reason I am getting
the following error when the agents try to retrieve a catalog.
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
The single-table inheritance mechanism failed to locate the subclass:
''Host::Managed''. This error is raised because the column ''type'' is reserved
for
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 23
3
Design, syntax question for passing values from node.pp
Is it possible to define variable at this level. I need to pass the
monit config file name ( sometimes its monitrc sometimes in not ).
Here is what I have.
# /etc/puppet/manifests/nodes.pp
node basenode {
include postgresql
include monit
include wiki
include apace
}
node ''freebeerontuesdays.com'' inherits basenode {
}
--
You received this message because you are