Displaying 20 results from an estimated 3000 matches similar to: "Where to put External Nodes in Multiple Environments?"
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
2010 Jun 27
17
Variable Scoping = Root Canal
I''ve been struggling with puppet variable scope all day, well, for
several months actually.
I think I have pretty simple requirements. For any given node, I want
to be able to set a series of variables and include a set of classes,
based on three different aspects of a node, being physical location,
operating system, and function. If I try and do this with classes, I
find that variables
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
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
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
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:
2007 Jul 05
36
[Bug 1330] New: RFE: 'ControlPersist' support -- automatically fork and leave ControlMaster behind as a dæmon
http://bugzilla.mindrot.org/show_bug.cgi?id=1330
Summary: RFE: 'ControlPersist' support -- automatically fork and
leave ControlMaster behind as a d?mon
Product: Portable OpenSSH
Version: 4.6p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component:
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 =
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
2011 Jan 03
23
Managing cronjobs as a file in solaris with appendifnosuchline for specific servers
I want to manage cronjobs as a " file " in solaris through puppet and
not using the puppet cron resource.
I will be managing the file /var/spool/cron/crontabs/root.
I want the cron file to be same across all servers except some servers
will have additional cron entries.
How can I append to the file /var/spool/cron/crontabs/root , something
like appendifnosuchline in cfengine?
Can
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
2008 Aug 29
7
[Bug 69] Generalize SSH_ASKPASS
https://bugzilla.mindrot.org/show_bug.cgi?id=69
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Alias| |generalised-askpass
--
Configure bugmail:
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.
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
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
2011 Mar 11
9
Why is it so hard to make a sane nagios server config?
I''ve tried to achieve my overall goals with several different features
of Puppet, but I''ve hit a bit of a wall here. I think it''s time for me
to explain what I''m trying to accomplish:
I want the enabling of a service in my manifests to configure
the monitoring of that service by a nagios server, without
needless repetition.
Let me explain how my
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 =
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.
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