Displaying 20 results from an estimated 10000 matches similar to: "trouble w/ Foreman as ENC, agents and environments"
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 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 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
2009 Nov 26
2
Puppet+Foreman: class into module couldn't apply on nodes
Hello,
I try config puppet with foreman frontend. Into puppetmasterd I create
modules "test" and create init.pp:
# Create "/tmp/testfile" if it doesn''t exist.
class test_class {
file { "/tmp/testfile":
ensure => present,
mode => 644,
owner => root,
group => root
}
}
Configure nodes in site.pp and import
2011 Mar 08
22
Force resigning of existing certificates
Is there a way to force the puppetmaster to resign certificates for
existing certificates when a new CSR for the same hostname arrives?
When we reinstall freshly formatted clients with puppet (with the
same hostname) the puppet client complains:
err: Could not request certificate: Retrieved certificate does not match
private key; please remove certificate from server and regenerate it
2011 Nov 20
2
Foreman API, problem when creating hostgroups
I am trying to create a hostgroup using the Foreman API
(foreman-0.4-0.1rc1.noarch):
Using perl v.5.14.2, REST::Client et. al., ending up with sending:
POST /hostgroups
{"name":"api-created-
2010 Feb 16
20
Puppetmaster child processes hang
After an unexpected and unreasonably long hiatus, I''ve finally returned to
implementing Puppet in my environment.
My puppetmaster: Puppet 0.25.4, Facter 1.5.7, Ruby 1.8.7, and FreeBSD 8.0.
I''ve got five clients using the puppetmaster so far. After about 24 hours,
I''ve got three puppetmaster processes running. This number continues to grow
over time. If stored configs
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 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 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 =
2009 Sep 21
4
Announcement: Foreman 0.1-1 is out
Hello All,
I''m happy to announce the next stable release of Foreman, main new features
include:
- Integration of Puppet Reports, once enabled you would see a real time
overview of all of yours hosts status.
- Improved support for multiple Puppet Masters (e.g. import facts and
reports from remote serves over http)
- Simplified migration from existing external nodes setup,
2008 Nov 10
12
CA_Server woes
I''m having difficulty getting my head around some CA issues
My client has:
[puppetd]
ca_server=puppetca.mydomain.com
and puppet resolves to a different machine.
when puppet connects, it requests a signature from
puppetca.mydomain.combut then on the next pass fails with the
following:
err: Could not retrieve catalog: Certificates were not trusted: SSL_connect
returned=1 errno=0
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
2009 Apr 28
2
Puppet Mongrel Load Balancing + CNAME
Hi I am reading and configuring puppet in relation to
http://reductivelabs.com/trac/puppet/wiki/UsingMongrelOnEnterpriseLinux
The question I have is in relation to the ssl certificates generated
the first time the puppetmaster service is run and the ability to use
a CNAME.
If the host that i am running the puppetmaster on is
server.example.com and i want to use puppet.example.com as a CNAME
that
2010 Mar 07
7
Upgraded puppet-server from EPEL 24.8 to 25.1 - now seeing "puppetmasterd[xxxx]: Too many connections"
I have updated the 1100 clients that prior to the update used to
connect to the master just fine. Now after about 30 minutes of
running, puppetmasterd starts to complain "puppetmasterd[6875]: Too
many connections", and from that point forward will stop compiling
catalogs. Puppetmaster is configured using the Mongrel Apache
configuration as described here:
2009 Sep 08
7
Puppetmaster be client of another puppetmaster?
Is is possible to have a puppetmaster that is a client of a different
puppetmaster? We manage our customers'' server via puppet, but one customer
has a puppetmaster server which looks after their internal systems. We''ve
tried the following in /etc/puppet/puppet.conf ("customer" and "us"
replacing the domain names) on their puppetmaster:
[puppetmasterd]
2008 Dec 04
4
puppetmaster built via puppetd
hi,
i''m trying to set up my puppetmaster infrastructure with multiple
puppetservers behind load balancers in each of our datacenters. i''m
using 0.24.6. i''ve read the howto on puppet scalability, and i think
i''ve got the ssl config working correct, but i''m noticing that when
puppetd is used to build a puppetmaster, some of the files in $vardir/
ssl
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
2012 May 10
4
Foreman and default configs for all nodes
I''m having some issues applying a default set of modules to all of my nodes
managed by Foreman. I have around 20 nodes split among 4 environments. I
have a node {default...} stanza in site.pp, but due to the way puppet
handles ENCs, nothing from this is applied to my nodes. I have looked at
host groups in Foreman, but they don''t seem to do what I want, since they
are applied
2011 Oct 18
2
puppet-foreman
Hi,
I created a centOS6 EC2 instance last night and ran the foreman puppet module but it came back with a few years. Was hoping somebody could help me understand these errors.
[root@ip-10-170-77-129 config]# echo include foreman | puppet --modulepath /root/puppet-foreman/
err: /Stage[main]/Foreman::Config::Enc/File[/var/lib/puppet/yaml/foreman]/ensure: change from absent to directory failed: