On Tuesday, June 4, 2013 11:06:53 AM UTC-5, xin zhang wrote:
>
> I have my puppet defined as (pseudo code)
>
> class A {
> exec { somethingA:
> }
> }
>
> class B {
> exec { somethinB:
> }
> }
>
> Class['A'] -> Class['B']
>
> the exec{ somethingA: } is actually failed on my
How would I prepend every log line output with a [var] when I run:
var= puppet agent -t -o
--
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+unsubscr
Hello,
I am having a problem with reports from a puppet node. After report is sent
the following error occurs on my puppet master:
*localhost puppet-master[31237]: Report processor failed: Connection timed
out - connect(2)*
i really don't know what is a problem.
I have the following configura
how to official generate rdoc for latest puppet version with ruby 1.9.3 or
newer ?
may be somebody now plugin for yard
--
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 em
On 25/05/13 17:24, David Schmitt wrote:
On 2013-05-25 10:11, Alexander Bien wrote:
On 24.05.2013 16:58, Ken Barber wrote:
Its probably the nagios resource, its well known for not scaling when
the files contain a lot of entries. That would explain why your
PuppetDB is showing low load - as its p
Hello,
I hope you don't find this email too offtopic.
We have just published an expanded keynote line-up for the OpenNebula
Conference 2013 (http://blog.opennebula.org/?p=4707) that includes experts
from leading institutions using OpenNebula. The first ever OpenNebula
Conference will be held o
On Tuesday, June 4, 2013 6:01:58 PM UTC-5, Tom Lanyon wrote:
>
> Hi John,
>
> Thanks for the reply.
>
> On 05/06/2013, at 12:33 AM, jcbollinger wrote:
> > On Tuesday, June 4, 2013 1:22:08 AM UTC-5, Tom Lanyon wrote:
> >
> > Unfortunately, this results in a dependency cycle. It appears that
The same happens to me, any answer?
El jueves, 26 de julio de 2012 01:16:46 UTC+2, david c escribió:
>
> So I'm new to puppet. I'm also new to ruby. Working through the examples
> and on the 1st attempt at rolling my own I seem to have hit an intermittent
> bug.
> I've seen a posting here with
Ok maybe I spoke too soon...
It looks like the hiera hierarchy is not seeing the custom fact and as a
result is not applying the corresponding .yaml file. I expected it to load
the hieradata\webserver.yaml file. However as the puppetmasterd debug log
shows that it skips over this and loads the
have you tried running hiera on the command line with debug ?
“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: m3t...@gmail.com
To: puppet
hi all,
Ive been having a bit of a trouble with something that should be pretty
simple.
My goal is to create a host file on a node with IP address and hostname
(specified in the node manifest). I created the manifests and templates
below but when I use them I get a hosts file without spaces or
I think that the problem is that you are converting the array into a string:
class { "test::v1_0" :
extra_hosts => "$extra_hosts",
}
Try taking out the ";
class { "test::v1_0" :
extra_hosts => $extra_hosts,
}
On Wed, Jun 5, 2013 at 6:00 PM, mepunite wrote:
> hi all,
> Ive been ha
Yes and it seems to work
[root@puppetmaster ~]# hiera classes -c
/etc/puppet/environments/testing/hiera.yaml environment=testing
role=webserver fqdn=node1 --debug -a
DEBUG: Wed Jun 05 10:02:23 -0600 2013: Hiera YAML backend starting
DEBUG: Wed Jun 05 10:02:23 -0600 2013: Looking up classes in
You need to restart the Puppet Master process if you change hiera.yaml.
- Keith
On 5 Jun 2013 17:09, wrote:
> Yes and it seems to work
>
> [root@puppetmaster ~]# hiera classes -c
> /etc/puppet/environments/testing/hiera.yaml environment=testing
> role=webserver fqdn=node1 --debug -a
> DEBUG:
I have tried restarting puppet master
[root@puppetmaster ~]# service puppetmaster restart
Also, I have stopped the puppetmaster daemon and run it from the command
line:
[root@puppetmaster ~]# /usr/bin/puppet master -d --no-daemonize
Debug: hiera(): Hiera YAML backend starting
Debug: hiera(
Hi,
what plans are in place to deal with bug #8040:
http://projects.puppetlabs.com/issues/8040
I have some Puppet experience but I'm also looking at Chef and Ansible
right now in order to determine which configuration management to commit to
and being able to build and re-use components is a ma
https://forge.puppetlabs.com/puppetlabs/stdlib
Has anyone worked with parseyaml? could you provide an example of how
this works?
--
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
I am also having the same issue you were having. When I removed the
'%{environment}' part of the datadir, hiera works fine, however for me to
have different development stages, I need to be able to specify
environments so I don't accidentally take down production with a change to
hiera variabl
nevermind, i had a typo, its always a typo. i had a $ in my hiera file and
not a % which is needed
On Wed, Jun 5, 2013 at 2:18 PM, phundisk wrote:
> I am also having the same issue you were having. When I removed the
> '%{environment}' part of the datadir, hiera works fine, however for me to
I have setup passenger w/ apache, but my dashboard is not connecting
properly. I am getting the following errors
em::Specification#installation_path called from
/etc/puppet/puppet-dashboard/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:93.
NOTE: Gem::Specification#installation
It seems that user "dashboard" doesn't have enough permissions on the
database.
--
Cel : 511-997823451
Blog : http://piobox.blogspot.com/
LUG : http://www.utpinux.org
Linux User ID : 549567
---
sı ɯǝ1qoɹd ɹnoʎ ʇɐɥʍ ǝǝs ı ʞuıɥʇ ı
On 5 June 2013 13:52, DJames wrote:
>
What is in /etc/puppet/environments/testing/hieradata/common.yaml ?
I find that last debug line troubling.
“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
I have a very simple scheduled_task resource defined.
class delete_task {
scheduled_task { 'testing123':
name => "test_task",
ensure=> absent,
}
}
I created this "test_task" by hand using the Windows Task Scheduler GUI.
When I use Puppet and apply my resource, the t
Try using the environment from the hierarchy:
:hierarchy:
- %{environment}/%{fqdn}
- %{environment}/common
- %{fqdn}
- common
:backends:
- yaml
:yaml:
:datadir: '/etc/puppet/hieradata'
/etc/puppet/hieradata/
|-- dev
|-- production
`-- qa
This works for me
“Sometimes I th
Ygor, My common.yaml is actually empty at the moment.
I think I have discovered the problem...I found that it is using the
hiera.yaml file from my master environment instead of testing but I am not
sure why...
Here is my /etc/puppet/puppet.conf
[main]
# The Puppet log directory.
# Th
I am.
You have :
[main]
environment = 'master'
[master]
environment = 'master'
[agent] environment = 'master'
If you want the node to be in another environment, try removing the line from
[main]
And restart your puppetmaster
“Sometimes I think the surest sign that intelligent life
Your 'alter table' fix worked for me too. Thanks!
--
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+unsubscr...@googlegroups.com.
To post to this grou
Okay, looks like removing environment = master from the [master] block
fixed the issue..
I took that from this example
https://puppetlabs.com/blog/git-workflow-and-puppet-environments/ not sure
how/why it seemed to work fine for the rest of the configration with the
exception of hiera.
Than
puppet agent -t -o | perl -pe 'print "myvar=";'
Regards, David
On 2013-06-05 15:16, Marc Lucke wrote:
How would I prepend every log line output with a [var] when I run:
var= puppet agent -t -o
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
On 2013-06-05 18:57, Dennis Jacobfeuerborn wrote:
Hi,
what plans are in place to deal with bug #8040:
http://projects.puppetlabs.com/issues/8040
I have some Puppet experience but I'm also looking at Chef and Ansible
right now in order to determine which configuration management to commit
to and
On 2013-06-05 15:53, Jonathan Gazeley wrote:
On 25/05/13 17:24, David Schmitt wrote:
On 2013-05-25 10:11, Alexander Bien wrote:
On 24.05.2013 16:58, Ken Barber wrote:
Its probably the nagios resource, its well known for not scaling when
the files contain a lot of entries. That would explain wh
Thanks David,
What about --logdest syslog? I was really looking to alter the log format.
- Marc
On 06/06/2013, at 5:53 AM, David Schmitt wrote:
>
> puppet agent -t -o | perl -pe 'print "myvar=";'
>
> Regards, David
>
> On 2013-06-05 15:16, Marc Lucke wrote:
>> How would I prepend every lo
It seems puppet thinks that variables evaluate to true even when they are
explicitly set to false in hiera YAML.
In my searching it seems like this should be fixed but with hiera 1.2.1 and
puppet 3.2.1 I'm still seeing this.
In my YAML I have:
# Java directives
java :
enable_jdk : false #
All,
Watch about is error?
puppet agent --test
Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: Error 403 on SERVER: Forbidden request: puppet(192.168.1.133)
access to /node/puppet.tomelin.local [find] at :115
Info: Retrieving plugin
Error: /File[/var/lib/pu
Using anchors happens alot less than you think if you write minimal
functionality into your subclasses.
You don't put anchors in subclasses to anchor them to the parents. You may
need anchors in subclasses if they include other classes whose resources
need to be ordered, but this really shouldn
On Mon, May 20, 2013 at 12:37 PM, Jonathan Proulx wrote:
>
> So turns out to be a very simple solution, all I needed was to set a
> "ServerAlias" apache directive for the alternate dns name. Since this is
> the only service apache on these systems serves I'd been sloppy and didn't
> specify any
Hi David,
On Wed, Jun 5, 2013 at 12:08 PM, wrote:
> I have a very simple scheduled_task resource defined.
>
> class delete_task {
> scheduled_task { 'testing123':
> name => "test_task",
> ensure=> absent,
> }
> }
>
> I created this "test_task" by hand using the Wind
Hi Josh,
That's explained it. Thanks for your information
David
On Wednesday, June 5, 2013 6:08:27 PM UTC-4, Josh Cooper wrote:
>
> Hi David,
>
>
> On Wed, Jun 5, 2013 at 12:08 PM, >wrote:
>
>> I have a very simple scheduled_task resource defined.
>>
>> class delete_task {
>> scheduled_task
http://projects.puppetlabs.com/issues/17105
Hiera booleans are broken -- explicit false value registers as lookup failure
On Jun 5, 2013, at 4:52 PM, Ti Leggett wrote:
> It seems puppet thinks that variables evaluate to true even when they are
> explicitly set to false in hiera YAML.
>
> In my
My environment: Ubuntu LTS 12.04, carbon
(https://github.com/graphite-project/carbon) 0.9.9 installed using "pip".
I just learned why when I run "pip freeze" on a system I don't see the
"carbon" package even when it installed successfully - I should run it with
"PYTHONPATH=/opt/graphite/lib/ pi
I will answer to myself.
There is an option in /usr/share/puppet-dashboard/config/settings.yml which
in my case has to b e set to true
disable_legacy_report_upload_url: true
On Wednesday, June 5, 2013 8:23:00 AM UTC+2, zgrega wrote:
>
> Hello,
>
> I am having a problem with reports from a pupp
I will answer to myself.
There is an option in /usr/share/puppet-dashboard/config/settings.yml which
in my case has to b e set to true
disable_legacy_report_upload_url: true
On Wednesday, June 5, 2013 8:23:00 AM UTC+2, zgrega wrote:
>
> Hello,
>
> I am having a problem with reports from a puppe
42 matches
Mail list logo