Hi Eric,
By default, hiera-cli uses /etc/hiera.yaml, hiera-puppet uses
/etc/puppet/hiera.yaml as config file. That was my mistake starting
using hiera cli for testing.
Btw, "facter --puppet region" wil also work, so no need for grep anymore.
On 05/09/2013 04:34 AM, Eric wrote:
When I run
Ok, opened a ticket with more info. Same bug happened on my learning VM.
http://projects.puppetlabs.com/issues/20643
On Wednesday, May 8, 2013 10:57:09 AM UTC-7, Aaron Stone wrote:
>
> Interesting! Let me see if this still happens in the rails3 branch. Please
> file a ticket so the issue doesn'
Awesome!
Thanks Arild!
I was working on implementing those with puppet in my organisation but have
yet to finish them.
I will definitely have a look at your implementation and may offer help
with your module if I get some spare time.
Pete.
On 8 May 2013 02:34, Arild Jensen wrote:
> Overview
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 list
On 9 May 2013 10:59, Felipe Salum wrote:
>
> Easy solution would be something that would be easier to setup, or maybe
> it is just me trying to complicate things. :)
>
> I suppose all HA solutions are difficult - they have to suit your site's
definition of HA and meet cost/complexity needs. Somet
When I run puppet on a client it says it can't find a parameter in hiera,
but If I run the hiera application on my puppet master and give it the same
facts that my client has, it finds them just fine. Why is that?
Here's how my client sees itself:
[root@tag5-4-qa-sjc ~]# facter --puppet | grep re
Yes it works perfectly, I run 2 puppet servers and one of them is the CA
using a CNAME as well for the puppet master/ca.
After it is set and working it is wonderful, however until you figure out
that you need to remove the ssldir, then run puppet with dns_alt_names,
then sign with dns_alt_names
-- Sent from my HP VeerOn May 8, 2013 19:58, John Warburton wrote: On 9 May 2013 05:57, Felipe Salum wrote:
Is Puppetlabs planning some easy solution for this ?I run 12 puppet servers around the world. They work in a multiple puppet master solution where any client from any loc
On 9 May 2013 05:57, Felipe Salum wrote:
> Is Puppetlabs planning some easy solution for this ?
>
I run 12 puppet servers around the world. They work in a multiple puppet
master solution where any client from any location can work with any puppet
server in any location with dns_alt_names. We hav
jcbollinger is correct.
Templates are evaluated on the master in response to a catalog request. Any
facter values used in the template will be the values from the host
requesting the catalog.
In your nagios module, you export the file resource (with it's contents)
from the server with the cor
So, I just mocked up what I'm thinking of doing.
How do I deal with loops? From what I can Puppet doesn't let you loop
through arrays.
See https://gist.github.com/jerrac/5543893 for a very very very rough draft
of what I'm imagining this could look like.
How would you deal with multiple authoriz
>There's several ways to handle this. Generally the way it's done is via a
>"custom function" that executes on the puppetmaster and injects the results of
>that run into the catalog for the client. This way you can use a hash
>generator. Something like
>https://github.com/kwilczynski/puppet-
Thanks, I was about to roll out a puppet module for tuned-adm and found
this. Easy to use and working great in my environment.
Cheers!
On Friday, January 4, 2013 8:25:16 AM UTC-5, Romain PELISSE wrote:
>
> Hi all,
>
> tuned-adm module: https://github.com/rpelisse/puppet-tuned
>
> I'm using
> t
On Wed, 8 May 2013 07:01:56 -0700 (PDT)
kl.puppetu...@gmail.com wrote:
>
> Error: Could not retrieve catalog from remote server: Error 400 on
> SERVER: Failed to submit 'replace facts' command for gaia.local
> to PuppetDB at puppetdb.local:8081: SSL_connect SYSCALL returned=5
> errno=0 state=SSLv
Is Puppetlabs planning some easy solution for this ?
The real problem I see is that you can't separate the Puppet CA from the
Puppet Master. So even that you can have multiple puppet masters, the CA
must run in one of them. So if that server goes down your multiple puppet
master setup is screwe
On Wednesday, May 8, 2013 9:22:16 AM UTC-5, Klavs Klavsen wrote:
>
> Hi,
>
> I have an odd problem - I have a define, as an exported resource. when
> puppet creates them on the central gdash host - it creates them with the
> correct (client) hostname (f.ex. cat
> /var/www/gdash/graph_templates
On Wednesday, May 8, 2013 8:47:59 AM UTC-5, Bret Wortman wrote:
>
>
> Okay, so if the class actually looks like this, say:
>
> class blacklisted () {
>
> Package {
> ensure => absent,
> tag => "blacklisted",
> }
>
> package { 'pkg1': }
> package { 'pkg2': }
> p
On Wednesday, May 8, 2013 11:38:06 AM UTC-5, Aaron Mills wrote:
>
> Thought I'd drag this topic back to life rather than open a new one for
> the same issue. I'm seeing pretty much the exact same behavior on my
> catalog compile times. With puppet 3.1.0 and hiera-gpg 1.1.0 I'm seeing
> compile
On Wednesday, May 8, 2013 12:44:14 PM UTC-5, Worker Bee wrote:
>
> Hi Everyone;
>
> It appears that in Puppet 3, environment variables are not passed to the
> agent. Specifically, $HOME is not defined so, if a script attempts to use
> ~ , this fails becasue $HOME is no longer defined to the ag
I'm setting up PuppetDB for the first time (and on OpenSuSE, yay). After
some tinkering I've gotten the package rebuilt and working. However, on
first setup puppetdb-ssl-setup fails with the following message:
# /usr/sbin/puppetdb-ssl-setup
cp: cannot stat
`/var/lib/puppet/ssl/private_keys/puppe
Interesting! Let me see if this still happens in the rails3 branch. Please
file a ticket so the issue doesn't get lost.
http://projects.puppetlabs.com/projects/dashboard
On Tue, May 7, 2013 at 11:17 PM, Greg Batye wrote:
> Hey everyone,
>
>
> I have an issue with puppet dashboard that I can f
On Wednesday, May 8, 2013 5:31:16 AM UTC-7, Erik Dalén wrote:
>
> For example finding all nodes that failed their last puppet run seems like
> it would need one node query and then a event query for each one.
I'm guessing "last run" is something we'll bake into the query API at some
point too
Hi Everyone;
It appears that in Puppet 3, environment variables are not passed to the
agent. Specifically, $HOME is not defined so, if a script attempts to use
~ , this fails becasue $HOME is no longer defined to the agent. This seems
to have changed since 2.7.
Does anyone have any feedback/adv
On Wednesday, May 8, 2013 5:31:16 AM UTC-7, Erik Dalén wrote:
> On Tuesday 7 May 2013 at 01:44, Chris Price wrote:
> > * Report queries
> >
> > The query endpoint `experimental/event` has been augmented to support a
>
> > much more interesting set of queries against report data. You can n
Thought I'd drag this topic back to life rather than open a new one for the
same issue. I'm seeing pretty much the exact same behavior on my catalog
compile times. With puppet 3.1.0 and hiera-gpg 1.1.0 I'm seeing compile
times usually in the 60-90-second range. This is causing a lot of agent
ru
Server first. Always
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
- Original Message -
From: "Bruce"
To: puppet-users@googlegroups.com
Sent: Wednesday, May 8,
Hi,
We have hosts running 2.7 client, a single puppet master, and we're using
Puppet Dashboard for ENC.
What would be a recommended order of operations to get to 3.1 on
client/server, and using PuppetDB instead?
Thanks!
--
You received this message because you are subscribed to the Google
SELinux is disabled and the commands were ran as root.
Downgrading the facter to 1.6.18 version seems fixing the problem.
Thank you very much for the support guys.
Best Regards,
Angel Angelov
On Wed, May 8, 2013 at 6:20 PM, Charlie Brune wrote:
> Sorry... I forgot to answer John's questions
Sorry... I forgot to answer John's questions (above).
Facter produces the same error messages running under sudo. Also, I have
SELinux turned off.
[root@hogwarts ~]# *facter virtual*
> Could not retrieve virtual: Invalid argument -
> /sys/firmware/dmi/entries/1-0/raw
> physical
> [root@hogwart
I also did the modification that Stefan requested and my output is the same
as yours:
[root@hogwarts ~]# facter --debug virtual
> about to execute /bin/uname -s
> Could not retrieve virtual: Invalid argument -
> /sys/firmware/dmi/entries/1-0/raw
> about to execute /sbin/virt-what 2>/dev/null
> v
Hi,
I have 51 clients in puppet-dashboard – and when I tell it to delete a node
– it simply hangs forever. If I try to just open / on the puppet-dashboard
website – I get a proxy timeout (I have apache in front).
I end up having to kill webrick and start it again – with the node NOT
being dele
The 'before' metaparameter is an inverse version of the 'require'
metaparameter. Where the 'require' parameter forces the parent resource to sync
*after* the indicated resource, the 'before' parameter acts as a pause button
on the indicated resource (in this case, file2), preventing it from sync
I accidentally double-posted this. Didn't notice poppet-users was
moderated. Maybe someone can delete this one? I am not too familiar with
google groups.
Original:
https://groups.google.com/forum/#!topic/puppet-users/877mzTGZl1A
Thanks!
On Wednesday, May 8, 2013 4:13:20 PM UTC+2, kl.pup...@gm
Hi,
I have an odd problem - I have a define, as an exported resource. when
puppet creates them on the central gdash host - it creates them with the
correct (client) hostname (f.ex. cat
/var/www/gdash/graph_templates/dashboards/hosts/p-web01/dash.yaml) - but
the content has the central gdash ho
Hi all,
I'm setting up puppetdb to for storing facts et cetera. I installed
puppetdb-1.3.0-1.el6.noarch.rpm on my puppetdb.local host (which is
puppetized). This seems to work, service starts :).
When I edit the settings on my puppetmaster (puppet.local), something goes
wrong. I am following t
Hi all,
I'm setting up puppetdb to for storing facts et cetera. I installed
puppetdb-1.3.0-1.el6.noarch.rpm on my puppetdb.local host (which is
puppetized). This seems to work, service starts :).
When I edit the settings on my puppetmaster (puppet.local), something goes
wrong. I am following t
I wasn't sure how the "before" would work in that instance -- and my
experimental facilities are limited. But if the before really won't trigger
until all the members of the array complete, then that sounds like the
perfect solution for me. Thanks!
On Wednesday, May 8, 2013 9:57:19 AM UTC-4, pm
On Wed, May 8, 2013 at 8:55 AM, Jonathan Proulx wrote:
> I'm game, short of regenerating the new master's certificate & trying the
> clients again anything to look at to test that theory?
>
>
Well new certs are easy enough so went a head and generated new ones after
checking CA, new server and te
On May 8, 2013, at 6:52 AM, Bret Wortman wrote:
> What's the right/best way to indicate that a particular entry in a manifest
> (a file in this case) depends on successful installation of over 30 packages,
> all indicated in the same manifest? I could do this, but it seems cumbersome:
>
> pack
What's the interface in to the PuppetDB? Can I manually go drop those rows?
On May 7, 2013, at 2:07 PM, Ti Leggett wrote:
> I just tried this and ran the agent in noop and it still showed that the old,
> incorrect keys were going to be installed.
>
> On May 7, 2013, at 2:02 PM, Deepak Giridhar
This started happening yesterday:
# yum repolist 2>&1 | grep puppet
http://yum.puppetlabs.com/fedora/f18/products/x86_64/repodata/primary.sqlite.bz2:
[Errno -1] Metadata file does not match checksum
http://yum.puppetlabs.com/fedora/f18/products/x86_64/repodata/primary.sqlite.bz2:
[Errno -1] Me
On Wednesday, May 8, 2013 3:50:46 AM UTC-5, Angel Angelov wrote:
>
> I just want to provide some more information on this one. Recently it
> started to show the following output when doing puppet runs:
> puppet agent --test
> /usr/share/rubygems/rubygems/custom_require.rb:36:in `require': iconv
On Wednesday, May 8, 2013 9:09:34 AM UTC-4, jcbollinger wrote:
>
>
>
> On Wednesday, May 8, 2013 5:52:44 AM UTC-5, Bret Wortman wrote:
>>
>> What's the right/best way to indicate that a particular entry in a
>> manifest (a file in this case) depends on successful installation of over
>> 30 pack
Thank you for your reply.
First of, we are kinda aware of that we are not using Puppet as it should
be used with the "state management service". But Puppet seemed to be the a
great piece of software with great capabilities.
To our problem. Lets say our site.pp looks like this:
#Site.pp
import
On Wednesday, May 8, 2013 5:36:16 AM UTC-5, Robin Jonsson wrote:
>
> Hi,
>
> We would like to specify nodes in site.pp from a file. Is this possible?
> We have a script that should only be run by x nodes which can be different
> from time to time.
>
> Any suggestions?
>
>
I don't think I und
On Wednesday, May 8, 2013 5:52:44 AM UTC-5, Bret Wortman wrote:
>
> What's the right/best way to indicate that a particular entry in a
> manifest (a file in this case) depends on successful installation of over
> 30 packages, all indicated in the same manifest?
What is the significance to y
But I'm game, short of regenerating the new master's certificate & trying
the clients again anything to look at to test that theory?
Time is frequently a good place to look in crypto errors, but we rely on
Kerberos for just about everything which is also very time sensitive so
we're pretty scrupul
On Tuesday 7 May 2013 at 01:44, Chris Price wrote:
> * Report queries
>
> The query endpoint `experimental/event` has been augmented to support a
> much more interesting set of queries against report data. You can now query
> for events by status (e.g. `success`, `failed`, `noop`), timestamp ra
That's because you have to include variables on the command line when you use
hiera this way
http://docs.puppetlabs.com/hiera/1/command_line.html
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.”
Bill Waterso
I ended up deleting the whole .ssh directory for these users and that
resolved the problem. It's also worked well on new systems now, so I think
I'm out of the woods. Thanks for the pointers!
On Tuesday, May 7, 2013 2:09:40 PM UTC-4, Stefan Schulte wrote:
>
> On Tue, 7 May 2013 10:11:44 -0400
>
What's the right/best way to indicate that a particular entry in a manifest
(a file in this case) depends on successful installation of over 30
packages, all indicated in the same manifest? I could do this, but it seems
cumbersome:
package { 'pkg1': }
Package['pkg1'] -> File['file1']
package {
Hi,
We would like to specify nodes in site.pp from a file. Is this possible? We
have a script that should only be run by x nodes which can be different
from time to time.
Any suggestions?
Thanks in advance
Regard,
Robin Jonsson
--
You received this message because you are subscribed to th
Excuse for my question
I ve installed module and incuded it in file site pp.
But nothin happen
Where can i check llog files in puppet?
Tahnk you very much again
Here you are site .pp
node 'rlltas05a
#include screen
#include run
include epel
On Wednesday, May 8, 2013 12:39:53 AM UTC+2, Francesco
Hello all,
I am scratching my head currently on a problem. I believe this is not even
supposed to work in puppet. But anyway, asking is never wrong.
Here is what I would like to implement: A 'SSL Certificate authority'
Much like puppet's ca, but for some reason (please don't ask), I can not
us
Hi all,
I'm trying to work with hiera database in puppet and i'm having problems
using %{variables} because they don't get the values and i don't know why.
file hiera.yaml:
cat hiera.yaml
---
:backends: - yaml
- puppet
:hierarchy:- nodes/%{domain}/%{hostname}
- os/%{oper
OK, thanks for your response, it is already fixed.
El martes, 7 de mayo de 2013 11:04:24 UTC+2, Fco CM escribió:
>
> 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:
>
>
I just want to provide some more information on this one. Recently it
started to show the following output when doing puppet runs:
puppet agent --test
/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': iconv will
be deprecated in the future, use String#encode instead.
notice: Ignorin
Hi all,
I am seeing the same error recently and here's the output after the last
modification:
facter --debug --trace virtual
about to execute /bin/uname -s
Could not retrieve virtual: Invalid argument -
/sys/firmware/dmi/entries/1-0/raw
about to execute /sbin/virt-what 2>/dev/null
value for ls
Hey everyone,
I have an issue with puppet dashboard that I can find a solution to.
My server naming convention contains leading numbers at the beginning of
the hostname. For example, 009example.com. Whenever I run
“/usr/share/puppet-dashboard/external_node 009example.com” another host's
On May 7, 2013 4:48 AM, "Marc Fournier"
wrote:
>
> Excerpts from treydock's message of 2013-05-06 20:04:16 +0200:
> > Has anyone run into an issue with zfsonlinux >= 0.6.1 failing to work
with
> > the Facter zpool_version fact? I get the following error "Could not
> > retrieve zfs_version: undefi
Hi,
I have two machine named puppetserver and db01 with CentOS-6.2(64-bit).
On db01: I am configuring pacemaker and heartbeat using puppet manifests
present on puppetserver. I am also automating the network settings using
puppet,
here i am adding the GATEWAY in "*/etc/sysconfig/network*"
61 matches
Mail list logo