On 02/09/2012 05:50 AM, Eric Shamow wrote:
Sateesh,
It is better if you don't look at it as a loop. A loop is a very
procedural concept. You are working with a machine that you are trying
to get into a fixed state.
So better to think I want to have a bunch of similar-looking resources
Hi,
I have about 20+ nodes managed with Puppet, and they all have names
like xyz-123. I added a description to each of them (e.g. like test
build server, production DB 1, etc.).
Now what I would like, is to have these description strings displayed
in the dashboard tables (e.g. All,
Hi,
On 02/03/2012 08:38 AM, Os wrote:
On Feb 2, 9:43 pm, jcbollinger john.bollin...@stjude.org wrote:
Hmm. That statement may have been overly optimistic. I think it's
pretty clear clear cut that schedules *should* work for defined type
instances, but perhaps Puppet is buggy in that
Hi,
I have multiple script to be copied executed from the puppet server
on the client systems but i want to execute
each script within a timeframe such as hourly, weekly or monthly from
the puppet server as i dont want to execute all scripts on the same
frequency.
Any help will be greatly
Hi,
I want to cache the updates for the users system received from the
server so that the users can get the updates
from the local system cache while offline.
Any idea how can server updates be stored on the users system while
offline ?
Thanks
mukulm
--
You received this message because you
On Feb 8, 2:13 pm, kevin c kcalla...@gmail.com wrote:
Thanks John,
exec { 'panama-eggs':
path = [/bin,/usr/bin,/usr/local/python/bin],
environment = ['WORKON_HOME=/home/panama/.virtualenvs',
'PIP_LOG_FILE=/tmp/pip-freeze-prod.log', 'PIP_VIRTUALENV_BASE=/home/
$ cat /etc/hiera.yaml
---
:hierarchy:
- %{operatingsystem}
- common
:backends:
- yaml
:yaml:
:datadir: /tmp/hieradata
$ cat /tmp/hieradata/Debian.yaml
---
kitty : 'Handsome'
$ cat /tmp/hieradata/common.yaml
---
kitty : 'Evil'
$ facter operatingsystem
Debian
$ hiera -d kitty
DEBUG: Thu
Hiera as a command line tool is unaware of the $::operatingsystem variable
available to Puppet as a fact. So when running through puppet, operatingsystem
would be a known value, but when running through the command line, you need to
specify whatever information hiera needs to parse.
-Eric
To add: there's a reason for this - you are likely running the command line
tool on the master, where facter output does not match what it would be when
evaluating a client.
So you are essentially saying for a client that looks like X, what would hiera
tell me?
One thought would be to write a
Excellent. I didn't realize this behavior of the standalone hiera
binary. Thanks again.
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email
On Feb 8, 11:02 am, Peter Valdemar Mørch pmo...@gmail.com wrote:
On Wed, Feb 8, 2012 at 4:23 PM, jcbollinger john.bollin...@stjude.org wrote:
To give you a good answer, I need to understand this a bit better, and
I'm having trouble with that statement. On Unix-like systems the user
name
Sorry to ask but, what's ECN?
Best regards,
--
Kwame
On Jan 26, 2012 11:45 AM, Matt Ackerman m...@808.org wrote:
Does anyone have experience using LDAP as the ENC at medium to large
scale? We have around 600 nodes but will quickly grow that to 2000 or so in
short order.
If so, is it working
ENC is the external node classifier.
http://docs.puppetlabs.com/guides/external_nodes.html
On Thu, Feb 9, 2012 at 2:15 PM, Daniel Bahena informa...@gmail.com wrote:
Sorry to ask but, what's ECN?
Best regards,
--
Kwame
On Jan 26, 2012 11:45 AM, Matt Ackerman m...@808.org wrote:
Does
On 02/09/2012 06:16 AM, jcbollinger wrote:
On Feb 8, 5:34 pm, Aaron Grewell aaron.grew...@gmail.com wrote:
I've got a bit of a head-scratcher here, though I'm sure it must be
something small. I'm trying to enable a service for next boot without
starting it. That usually just works but
Hello,
I am running a puppet master version 2.7.5 on Centos 5.7 and a puppet
agent version 2.7.5. I am simply trying to apply changes to files by
defining a file resource in my manifest. When I execute my puppet
agent to do the installation it complains it can not find the file
meta data.
Here
On Thu, Feb 9, 2012 at 06:12, mukulm smilemukul2...@gmail.com wrote:
I want to cache the updates for the users system received from the
server so that the users can get the updates
from the local system cache while offline.
Any idea how can server updates be stored on the users system while
On Thu, Feb 9, 2012 at 01:18, Dig Deeper deeepdig...@googlemail.com wrote:
I have about 20+ nodes managed with Puppet, and they all have names
like xyz-123. I added a description to each of them (e.g. like test
build server, production DB 1, etc.).
Now what I would like, is to have these
On 02/09/2012 11:39 AM, Daniel Pittman wrote:
I would try adding ensure = undef to the service's parameters. If
that doesn't work then I can't imagine what would.
Thanks John, that did the trick. I'm not sure if I've got a service
default set somewhere I didn't realize or what but at least
On Wed, Feb 8, 2012 at 3:46 PM, the_fonz tim_stockf...@hotmail.com wrote:
Hi,
I'd like to start using Puppet to manage an httpd.conf file across
several webservers.
Others have already correctly steered you towards templates for this sort
of thing, but I have one aside...
each httpd.conf
The silly question... that's in the agent's puppet.conf, not just in the
agent section of the puppet.conf on the puppet master? Have you restarted
the server and agents? Do you see anything written to
/var/lib/puppet/reports at all? Is it writable by the puppet user? Do you
see any obvious errors
Thanks. That was my problem.
On Feb 9, 3:14 pm, Denmat tu2bg...@gmail.com wrote:
Hi,
You've got a typo for your source name.
puppet:///modules/neospeech/vmwrcpd
at /etc/puppet/modules/neospeech/manifests/config.pp:12
notice:
-rwxr-xr-x 1 puppet puppet 1172424 Dec 21 10:51 vwmrcpd
Hi all. Even though hiera is working for my manifests (does what it
should) the agents are complaining in their logs. http://pastebin.com/PKQDfPmN
Can anyone suggest what might be going on?
TIA
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
Do you have an example of the code that's being run? Are you just starting
to play with Hiera, or did you suddenly have issues? Are the permissions
set correctly on the hiera-puppet module on your Master? I think we need a
bit more information here about how you have this setup.
On Thu, Feb
I found the problem. The pluginsync was not in [main].
Thanks.
On Feb 9, 3:24 pm, Gary Larizza g...@puppetlabs.com wrote:
Do you have an example of the code that's being run? Are you just starting
to play with Hiera, or did you suddenly have issues? Are the permissions
set correctly on the
On Thu, Feb 9, 2012 at 5:08 PM, Gonzalo Servat gser...@gmail.com wrote:
Damn. Well, at least we eliminated one possible cause. Is there any
chance you can run with `--debug` enabled on one of the failed
machines, and see if that points to the right place? Otherwise we
have to start to get
Hi there,
I thought I understood how this module works, but I guess I missed
something. Here is what I have in my nodes.pp
node 'mysql' inherits default {
include mysql
mysql::user { db1:
mysql_password_hash = db1,
mysql_user = db1,
Given the following hiera hash:
common.yaml:
---
*allowed_ips:*
* First IP: 1.2.3.4*
* Second IP: 5.6.7.8*
and the module:
*class iptables ($role) {*
* file {/tmp/test:*
*content = template(iptables/test.erb)*
* }*
*}*
with the corresponding template test.erb:
*% role.each do |role| -%
*
What you want is the hiera_array instead of hiera function. There's also a
hiera_hash function.
Thanks
Nan
On Feb 9, 2012, at 19:49, Vlad v...@vladgh.com wrote:
Given the following hiera hash:
common.yaml:
---
*allowed_ips:*
* First IP: 1.2.3.4*
* Second IP: 5.6.7.8*
and the module:
*class
Hey there,
Do you guys know of opensourced puppet modules for managing VPN services?
I've only found a handful of modules for openvpn that seemed less than
complete.
--
Gabriel Filion
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to
Thanks Nan, I've tried them all (hiera, hiera_array and hiera_hash),
unfortunately with no luck.
Like I mentioned above, it doesn't have to be necessarily a hiera hash.
Even a simple var: name inside the yaml file gives that error. As long as
you have an array defined as a parameter, together
Vlad,
Have you tried setting the variable inside your Puppet manifest before you
call it in the template? Something like:
$ips = hiera_hash('allowed_ips')
file {/tmp/test:
content = template(iptables/test.erb)
}
And then in the template:
*% ips.each do |comment, ip| -%
*
* code %= ip %
try adding this in your template above the call to
scope.function_hiera_array():
% Puppet::Parser::Functions.function('hiera_array') -%
On 12-02-09 11:47 PM, Vlad wrote:
Thanks Nan, I've tried them all (hiera, hiera_array and hiera_hash),
unfortunately with no luck.
Like I mentioned above, it
Thanks Gary and Lelutin.
Gary: That was the first thing I tried, and no luck there either. I even
took out the template out of the equation and called a simple variable like:
common.yaml:
*---
**test: testvar*
*class test ($role) {*
*$ips = hiera('test')
**notify {${ips}:}*
}
No
Hello,
We have constructed the following class for deploying some_service;
class some_service {
include platform_common
platform_common::deployWarService { 'some_service':
repo = our-repo-name,
service = $some_service_name,
version = $some_service_version,
On Thu, Feb 9, 2012 at 9:09 PM, Vlad v...@vladgh.com wrote:
Thanks Gary and Lelutin.
Gary: That was the first thing I tried, and no luck there either. I even
took out the template out of the equation and called a simple variable like:
common.yaml:
---
test: testvar
class test ($role) {
On 3 February 2012 09:55, John Warburton jwarbur...@gmail.com wrote:
Is there a way to watch modules and be notified if they are updated?
I can't see anything obvious in the documentation
Anyone? Bueller?
--
You received this message because you are subscribed to the Google Groups
Puppet
That fixes it! Thanks. In all my debugging I assumed that can't convert
Array into String referred to the hiera variables. And it was about the
role variable all along. You were right, I had a top scope variable role
defined in a custom fact, which was also in the hiera hierarchy, and
Hi Felix, thanks for your response to my question. It's taken me a
while to get back to this issue but I finally figured it out tonight.
I had a old puppetd process running in the background (I'd since moved
to using cron to call puppet) that must have been holding open it's
old cert files, etc...
38 matches
Mail list logo