Displaying 20 results from an estimated 4000 matches similar to: "How to determine puppet environment when using passenger"
2012 Feb 06
1
Puppet / Passenger SSL Problems with DRBD
I am working on setting up a Puppet configuration where some of the
data is stored on a DRBD volume. The modules and vardir are stored on
the drbd volume. The puppet.conf files point to the drbd volume for
vardir. I created a cert for a VIP puppet-master using the puppetca --
create command
I had everything working on the primary drbd node, but when I fail
over, everything starts up fine, but I
puppet master REST API returns 403 when running under passenger works when running from command line
2012 Dec 10
2
puppet master REST API returns 403 when running under passenger works when running from command line
Hi! Everyone,
puppet agent is not able to fetch any files, plugins or post catalog,
reports to the master. both puppet agent and master are on version 3.0.l,
passenger version 3.0.18 ,
nginx version: nginx/1.3.9
built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/apps/nginx
--conf-path=/apps/nginx/nginx.conf
2013 Nov 04
1
Compile catalog against tagged version of a git repo?
I''m wondering if there is any feature that will allow puppet to compile a
catalog against a specific tag of a git repo?
--
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.com.
To view this discussion on the
2011 Nov 09
0
passenger starts old pupper
Hello, I use Centos 5x with rpmforge for install puppet.
It''s update''s itself.
Today system update puppet to 2.7.x version. Puppen agent updates ok.
But passenger start old version(2.6.x). Then I start puppetmaster init
script (it''s start WEBrick) started new version.
Apache vhost:
RackAutoDetect On
DocumentRoot
2009 Dec 30
4
yet another class dependency question.
Hi,
I am running puppet version 0.25.1 on both the server and client and am
getting the following error on a puppet run:
err: Could not apply complete catalog: Could not retrieve dependency
''Class[http]'' of Class[puppet::http]
Class http is defined in the "http" module like so:
class http {
package { httpd: ensure => installed }
file {
2010 Jun 09
12
Foreman -- Reporting
Hello All,
I don''t seem to be able to get reports to display on the foreman
interface. I copied extras/puppet/foreman/files/foreman-report.rb to /
usr/lib/ruby/site_ruby/1.8/puppet/reportsforeman.rb, instead of /usr/
lib/ruby/1.8/puppet/reports/foreman.rb. Config: Centos5.4, Apache/
Passenger, Puppet 0.25.4.
The reports are coming from the clients, because I can see them
in
2012 Mar 08
1
Puppet / Facter plugin issue
If I externalise my Puppet module config to a directory outside of
Puppet using the modulepath / manifestdir settings:
[main]
pluginsync=true
modulepath=/home/ec2-user/projects/qmg-puppet/etc/puppet/modules
manifestdir=/home/ec2-user/projects/qmg-puppet/etc/puppet/
manifests
the agents log the following error:
"Could not evaluate: Could not retrieve information from source(s)
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.
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
2013 Mar 04
7
I moved my modules and manifest directory in puppet master.
I also made the changes below in the puppet.conf file to tell puppet where
to look for the the modules and manifests. I then restart the puppet master
then ran puppet command to apply changes to a puppet client it did not
find anything to change just got these three lines "info: Caching catalog
for pdlnx-adpt03.kareoprod.ent, info: Applying configuration version
2012 Jul 04
8
on puppet master server , puppet agent can't connect to itself
on my puppet master server (v 2.7.17 , both server and client version) ,
the puppet agent can''t connect to itself. other clients connected to this
puppet server are working fine.
the hostname is puppet.domain.com
[root@puppet /]# cat /etc/puppet/puppet.conf
[main]
# The Puppet log directory.
# The default value is ''$vardir/log''.
logdir = /var/log/puppet
2009 Jan 09
7
Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
Hi all,
I''m doing a new install of my puppet server and I''m doing it like:
1.-) adding epel repo:
http://fedoraproject.org/wiki/EPEL/FAQ#howtouse
2.-) yum -y install puppet-server
3.-) rm -rf /etc/puppet
4.-) copy my old puppet conf (from puppet-0.24.5 to 0.24.6)
mv /etc/puppet.old /etc/puppet
5.-) start puppetmaster:
[gridinstall etc]# /etc/init.d/puppetmaster start
2013 May 07
2
Modules doesn't work from puppet agent.
Hi all,
I think i''m forgetting something.
If i do: "puppet apply manifiests/site.pp" it works perfectly, loading
modules i have include in site.pp file.
site.pp:
cat manifiests/site.pp
node default {
include ntp, motd
}
But it does not work if i run puppet agent.
puppet agent --test --server=debianita.user.arinso --environment production
Info: Retrieving plugin
Info:
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 Dec 06
13
Can't seem to get modulepath attribute recognized by puppetmasterd
Warning - Puppet newby here.
I am trying to set up a puppetmaster 3.3.2 and have run into a snag right
out of the box.
I want to add a new directory to modulepath= in /etc/puppet/puppet.conf
So I added the following line in the [main] header
modulepath = /etc/puppet/modules:/opt/our-repo/puppetmaster/modules
And populated new new directory with modules I have written.
I then run
puppet
2012 Dec 09
4
Catalog compile times > 40s - Puppet 2.7.18
I am finding that the puppetlabs-apache module is somehow adding 30-60
seconds onto a host''s catalog compile time when the puppetmaster has no
other hosts contacting or generating catalogs. The Puppetmaster is setup
to use Puppet-2.7.18 - Apache & Passenger. RIght now only 2 hosts are even
configured to use this new PM, the PM itself and a Foreman host. With
neither hosts
2013 Sep 11
6
Puppet ignores hiera completely
I''m not sure at all what''s going on here, but I''ve spent a lot of time
reading over the puppet hiera docs and setting everything up, but when I
run puppet agent it just seems to ignore the hiera setup completely.
Both the puppet master and agent nodes have exactly the same versions of
puppet and hiera (installed via the official puppet APT repository). I''ve
2012 Jul 11
6
certname doesn't seem to work on the agent
Hi guys,
I have a box that needs to identify itself to the puppetmaster as something
different from the FQDN. I added certname to the agent configuration before
the first run, but it doesn''t seem to be sufficient. The certificate was
generated for the FQDN, and the host appears in the dashboard as the FQDN,
and the node name used to evaluate the manifest is also the FQDN. I would
2010 Nov 11
7
Problem with modules
Hello. I use puppet 2.6.3-rc2
Now I try move my classes to modules.
But I got a problem that Puppet does not sees modules.
in puppet.conf:
[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
libdir = /opt/puppet-dashboard/lib/puppet
modulepath=$confdir/modules
In nodes :
node postgres {
include basesystem
include postgres
}
In
2010 Mar 18
3
Puppet Client using wrong environment.
Hi,
I exposed few days ago this situation on the IRC, but unfortunately I
haven''t found a way to solve it yet.
I run the Puppet Master with multiple environments, and everything is
working good but a couple of nodes that are causing me some troubles.
These nodes are pointing to my production environment and I need to point
them back to development to grab some changes I made.
I