Displaying 20 results from an estimated 30000 matches similar to: "Puppet environments vs App environments"
2013 Aug 22
4
Could not parse for environment production: Cannot assign to variables in other namespaces
We''re trying to set a role variable in one of our role classes i.e.
class role::nameserver {
$::role = ''nameserver''
include profile::baseline
}
however we get the following error
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not parse for environment production: Cannot assign to variables in
other namespaces
We do not get
2012 Sep 10
3
How to remove last comma when iterating through hash in erb template
I need to produce a line in a config file in the format x = "ip1,ip2,ip3"
I am using the method below to sort the hash before iterating over it.
However, as you can see there will always be a final comma which breaks the
app that uses this config file. Does anyone know how I could remove the
final comma?
ipv4_bind_addresses = "<% routes.sort_by {|key, v| key}.each do |key,
2007 Apr 04
6
Best practice, dev/test/staging/production environments
I like the Stanford Best Practices guide for puppet. One thing I didn''t
see it address was handling of separate environments, for example Dev,
Test, Staging, Production.
My thoughts on this so far, are:
brainstorm #1) Handle environment differences with metadata:
node devProductName01 {
$env = "dev"
include ProductName-webserver
}
node testProductName01 {
2010 Mar 30
3
Environment settings not functional
Hi,
I''ve got some problems with setting up environments. On the master:
[main]
[...]
manifestdir = /etc/puppet/manifests
modulepath = /etc/puppet/modules
[...]
environments = production,staging
[production]
manifestdir = /etc/puppet/manifests
modulepath = /etc/puppet/modules
[staging]
manifestdir = /opt/puppet-staging/manifests
modulepath = /opt/puppet-staging/modules
[puppetmasterd]
2012 Jul 04
4
Identifying host OS in an ENC
Hi all,
We have a mixed Linux and Windows environment and have so far just
been using Puppet on our Linux servers. Having configured the
inventory service, we''ve got an auditing script that uses the data to
report on things like OS version, RAM, etc. This is all so nice that
we''d like to extend it to auditing our Windows infrastructure.
However, at this point in time, we have
2012 Sep 08
2
Making a result of custom function available to multiple classes
Hey,
I''m using Puppet 2.7.19 with hiera 0.3.0. I have an Openvpn module which
has a custom function that queries a mysql db and returns a hash. I also
need the hash values in other modules e.g. firewall module. Since the
custom function is in the openvpn/lib/puppet/parser/functions folder I
believe it is autoloaded and is available from other modules. However, I
don''t want
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 {
2011 Dec 18
2
Modules in Environments
Question... for those that have multiple environments, dev, prod
etc... do you share your modules directory, or does each environment
have it''s own copy of the modules directory? Which one has worked
better?
Doug
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2011 Oct 18
4
Better solution for puppet SVN releases
Hi,
we are currently managing our puppet modules with one SVN workspace for each
admin.
The post commit hook script updates /etc/puppet/ directory and triggers the
puppet kick of the correct server.
The problem we have with this solution is that sometimes there are many
small checkins to one change, because the admin forgot to change small
details in the config file, e.g. forgot to change
2013 Jan 18
3
Puppet 2.6 - Custom functions - environments issue
Hello every one,
I have looked at a lots of threads in the Puppet User group but I did not
find a clear answer or explanation how custom functions work....
Here is my current setup :
* I have *2 "environments"*. working fine
/etc/puppet/environments/production/
/etc/puppet/environments/test/
* I have a version of my function already working in production
* According to the
2013 Nov 01
1
Dynamic Environments, r10k, gitolite and Non-environment Puppet Config
Hi all,
Apologies if this has been dealt with before, but I haven''t managed to find
an answer yet.
I have a working "dynamic environments" setup:
* A gitolite repository (on a dedicated host) with multiple branches - one
for each environment.
* I use r10k ro deploy the environments on the master to
$confdir/environments/$::environment.
This all works *really* well, but I
2013 Aug 14
2
Environments; function error
Hi all,
We have two environments: production (containing one module) and
experimental (two modules, one the same name as the module in
production). All of our other modules are in the main module directory.
Agent runs complete fine in the production environment, but not when
switched to experimental. Error:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Unknown
2013 Feb 20
1
Access puppet hash name in templates
Hi,
I''ve defined a hash like so in my nodes.pp:
net::addr { "eth5":
rt => {
rt1 => {
address => ''192.168.10.0'',
netmask => ''255.255.255.0'',
gateway => ''192.5.28.19'',
src =>
2013 Sep 23
2
One node and several environments
I would like to use additional puppet environment for "fast response"
configuration and run it every minute. For that I''ve created new light
environment with only one module. But I don''t know how to configure puppet
master manifests for one node with two environments? Is it possible?
I''ve found a manual
2013 May 09
7
Are multiple environments broken in puppet?
I started getting the following errors from my puppet master:
> Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid parameter provider at /some/module/manifests/foo.pp
The module would vary, but the error was always the same. I started
googling, searching lists, etc. And turned up a whole bucket load of issues
that all seem related and are all unresolved:
2013 Oct 16
2
different environments per puppet master
Hi,
Is there any possibility to do different environments(puppet classes)
per organization/location based on a smart proxy(puppet master)?
Or any plans to implement this?
Thank you,
Cristian Falcas
--
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
2009 Nov 12
6
Multiple environments
So I''m trying to get multiple environments to work with puppet 0.25.1
on ubuntu 8.04 and no matter what I do, puppet just completely ignores
any environment setting. There''s really next to no information in
terms of configuration on the multiple environments documentation page
(http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments)
other than saying that the
2011 Jul 13
2
nodes.pp in different environments
Hi guys
I have a small question, I have 3 environments in puppet.conf file:
[development]
modulepath=/etc/puppet/development/modules
manifests=/etc/puppet/development/manifests/site.pp
I have defined the site.pp path, my question is do I need to make a
nodes.pp for every environment??????
Thanks
--
You received this message because you are subscribed to the Google Groups "Puppet
2010 Jul 30
3
Puppet dashboard and environments
Hi puppet users,
We''ve got a puppet (0.24.8) implementation with two environments, called
production and testing. We''ve also got a Puppet Dashboard (1.0) instance
up and running, which is receiving and displaying reports from hosts in
both of the environments.
We would like to start using the dashboard as an external node
classification tool, so I''ve taken the example
2012 Aug 15
7
Custom types in environments working .... yes/no/maybe ?
My issue may be related to this bug:
http://projects.puppetlabs.com/issues/13858
"Custom types in environments require loading into master''s libdir"
However, now I''m not so sure, This was working previously with a given
client. However, after trying on a fresh client, it''s failing with:
err: Could not run Puppet configuration client: Could not find a