I need to build a new puppet environment and was looking at using SRV
records for a multi-master setup. Having a single master and SRV records
works great, but I haven’t successfully been able to build a second master.
https://docs.puppetlabs.com/guides/scaling_multiple_masters.html#option-4
puppet internals to say that with authority.
On Jan 14, 2014, at 3:33 PM, Joseph Swick wrote:
> On 01/14/2014 05:12 PM, Justin Lambert wrote:
>> I’m attempting to create a bunch of symlinks based on an array of filenames
>> but I can’t figure out how to use the title of the reso
I’m attempting to create a bunch of symlinks based on an array of filenames but
I can’t figure out how to use the title of the resource within the resource
itself.
class app::config {
file { [ 'a.conf', 'b.conf' ]:
ensure => 'link',
path => "/etc/app/${name}",
target => "/usr/app
o do
> the trick.
>
> ken.
>
> On Tue, May 14, 2013 at 11:55 PM, Justin Lambert
> wrote:
>> I have a small environment with a single puppetmaster and puppetdb on the
>> same node that I get sporadic "Failed to submit 'replace facts' command"
I have a small environment with a single puppetmaster and puppetdb on the same
node that I get sporadic "Failed to submit 'replace facts' command" errors
from nodes. It isn't consistent about which nodes are causing the error and I
can't find anything else going on at the same time on either t
I seem to get this off and on, but not consistently. Is yours every run?
puppet-master[7020]: Failed to submit 'replace facts' command for
ue1a-devdb01.ineu.us to PuppetDB at puppet.example.com:8081: SSL_connect
SYSCALL returned=5 errno=0 state=SSLv3 read finished A
I am also on puppetdb 1.3.0
I've been using R.I's ec2-boot-init to set the hostname (based of instance ID
and AZ) and his mcollective-server-provisioner to securely sign certificates.
Roles are assigned based on what security group the instance is in so I can use
auto-scaling (with a few exceptions that are hostname based
hopefully it is something others feel would be of value also.
jl
On Feb 28, 2013, at 7:24 AM, jcbollinger wrote:
>
>
> On Wednesday, February 27, 2013 8:34:47 AM UTC-6, Justin Lambert wrote:
> I've had this blog post [1] bookmarked for a while to pull the remaining node
&g
I've had this blog post [1] bookmarked for a while to pull the remaining node
specific config I have out of my site.pp, but wasn't sure if there was a better
method at this point.
I've been using hiera_include for a while for classes, but it appears
functionality is something that may go away
to a hiera lookup without a
default or to override a default.
Thanks,
jl
On Dec 17, 2012, at 10:24 AM, Justin Lambert
wrote:
> I've been working on getting spec tests on all of my modules and am down to
> ones that use hiera and don't have any reasonable defaults. It looks lik
Jeff,
You haven't by chance had a chance to look at this have you? I'd be curious if
I'm just doing something wrong.
Thanks,
jl
On Dec 16, 2012, at 7:24 PM, Justin Lambert
wrote:
> Jeff,
>
> I finally got a few simple modules together to recreate this issue. A
I've been working on getting spec tests on all of my modules and am down to
ones that use hiera and don't have any reasonable defaults. It looks like
there is a project on GH (https://github.com/amfranz/rspec-hiera-puppet) that
is designed to fill this need, but for the life of me I cannot make
function depends on pluginsync to install the
function.
Thanks,
Justin
On Nov 2, 2012, at 3:46 PM, Jeff McCune wrote:
> On Friday, November 2, 2012, Justin Lambert wrote:
> Jeff,
>
> Thanks for your response. It is possible, but I'm not sure. Would uploading
> some sa
; bug:
>
> http://projects.puppetlabs.com/issues/show/15529
>
> If so, could you please upvote the bug, watch it, and update it with
> information about how it's impacting you?
>
> Thanks,
> -Jeff
>
>
> On Wed, Oct 31, 2012 at 9:52 AM, Justin Lambert
> wr
Did you install puppet via an RPM? If so, this patch will likely fix your
issue. https://github.com/rodjek/librarian-puppet/issues/38
On Oct 31, 2012, at 2:52 PM, Worker Bee wrote:
> Unless I install puppet vis gems, I get the following error when attempting
> to use librarian-puppet.
>
>
kups module and everything
using it.
On Oct 30, 2012, at 11:54 AM, Justin Lambert
wrote:
> I am adding spec tests to my modules and have run into an issue I can't seem
> to figure out.
>
> I have a simple class: (ruby/manifests/init.pp)
> class ruby {
> include common
&
I am adding spec tests to my modules and have run into an issue I can't seem
to figure out.
I have a simple class: (ruby/manifests/init.pp)
class ruby {
include common
$blah = dirname('/tmp/test/file.txt')
file { $blah: ensure => director }
}
And a spec file: (spec/classes/ruby_init_spec.
Puppet certificate signing is the one item that (I think) has caused issues for
everyone at one point or another. I think the security provided is a
requirement for tools such as this given the amount of access to both hosts and
sensitive data they have.
There were a few presentations at Puppe
I am looking to rewrite some modules that currently use storeconfigs (nagios
being the big one) to instead pull from the inventory service the required
information instead. Some of the checks are as easy as a monitoring check that
gets put into place whenever a specific class is included. I kn
Thanks for everyone's comments - I finally found where the large chunk of
client time was going. Client runs are still slow, but 5 mins is a lot
better than 20 minutes. The issue in our case was having the directory that
contained the nagios config files managed by puppet (purge => true, recurse
>
> > We're at about the 100 hosts, but have closer to 1500 services - maybe
> > we have exceeded what storeconfigs can do then.
>
> hmm.. so yeah, you've hit the same kind of very bad scaling from the
> nagios config native resources than I've experienced. Seeing how bad it
> becomes with that num
is spent client side and I haven't
been able to figure out why. Even doing an md5sum on all of the files from
the CLI takes less than 2 seconds.
On Mon, Sep 12, 2011 at 3:30 PM, Gabriel Filion wrote:
> Hi,
>
> On 11-09-12 04:43 PM, Justin Lambert wrote:
> > We are moving t
We are moving to have our nagios servers generate their nagios configs based
on what services are installed on specific hosts (as well as the hosts
registering themselves). What we have found is that our runtimes have gone
through the roof on this and I'm trying to figure out why (summary below
fr
1.1.0
On Thu, Sep 8, 2011 at 9:31 AM, Craig White wrote:
> version?
>
> On Sep 8, 2011, at 8:22 AM, Justin Lambert wrote:
>
> > Destroying nodes in puppet dashboard seems to kill dashboard after about
> 5 minutes requiring a restart. I took at look at the DB schema an
Destroying nodes in puppet dashboard seems to kill dashboard after about 5
minutes requiring a restart. I took at look at the DB schema and was just
going to remove nodes via SQL directly instead of using the dashboard and
wanted to see if anyone sees anything wrong with this. I know the queries
Thanks for these - this is very helpful.
On Tue, Aug 2, 2011 at 1:26 AM, vagn scott wrote:
> **
> prep for 2.8: default values and overrides
>
> I was very happy, some months ago,
> when I worked out how to separate
> configuration from code in puppet.
>
> The scheme even allowed for specializat
I know I am not the first to run into this problem, but I cannot seem to
find an elegant way to solve it - either through Google or on my own.
I want to ensure that the yum repos I define through Yumrepo are the only
repos on the machine (removing any that might be on there for other
reasons). I
I've been using:
scope.lookupvar('puppet::params::certdnsnames')
On Thu, Jul 14, 2011 at 8:45 PM, lurdan wrote:
> hi,
>
> What's the best way to refer variables which pass as defined resource
> parameter
> from template erbs?
>
> I've been made many modules which has resource definitions contai
using cache on failed catalog
err: Could not retrieve catalog; skipping run
On Tue, Jul 12, 2011 at 11:35 PM, Dan Bode wrote:
>
>
> On Tue, Jul 12, 2011 at 10:43 AM, Justin Lambert <
> jlamb...@localmatters.com> wrote:
>
>> I have just gotten to playing with this and
ul 12, 2011 at 2:33 PM, Denmat wrote:
> Hi, is 'something::other' valid in yaml?
> Cheers
> Den
>
>
> On 13/07/2011, at 3:43, Justin Lambert wrote:
>
> I have just gotten to playing with this and am doing something wrong,
> probably very basic.
>
> On th
SL6.
Any insight as to where I have gone wrong?
Thanks,
jl
On Wed, Jul 6, 2011 at 7:22 AM, Justin Lambert wrote:
> This looks exactly like what I was looking for, thank you. This might be
> worth mentioning on the ENC page so people like myself can find it easier.
>
>
> On Tue, Jul
2.7.0
>
> -Dan
>
> On Tue, Jul 5, 2011 at 1:40 PM, Justin Lambert
> wrote:
>
>> I have recently started moving the config of our puppet hosts out of the
>> nodes files and into an ENC so they can be managed through a web UI by
>> someone with less technical exp
I have recently started moving the config of our puppet hosts out of the
nodes files and into an ENC so they can be managed through a web UI by
someone with less technical experience without the fear of a typo causing a
failure of all catalogs to compile. As a result, I have been looking at
which
I actually set this up today, if you set it up like:
path /facts
method find
auth any
allow *
does that fix your issue? If it does, it looks like it is something with
the way your reverse DNS is working on the allow line.
On Tue, Jul 5, 2011 at 4:24 PM, Craig White wrote:
> puppet 2.6.8
> pup
=> "17:00 - 04:00",
}
class general {
$schedule = "normal"
}
jl
From: puppet-users@googlegroups.com [mailto:puppet-us...@googlegroups.com] On
Behalf Of Justin Lambert
Sent: Tuesday, April 07, 2009 8:00 AM
To: puppet-users@googlegroups.com
Subject: [Puppet U
ut either.
Thanks,
jl
From: puppet-users@googlegroups.com [mailto:puppet-us...@googlegroups.com] On
Behalf Of Justin Lambert
Sent: Wednesday, April 01, 2009 12:31 PM
To: puppet-users@googlegroups.com
Subject: [Puppet Users] Default Schedule
I am trying to set a default schedule and not havin
Nobody has used a default schedule?
Thanks,
jl
From: puppet-users@googlegroups.com [mailto:puppet-us...@googlegroups.com] On
Behalf Of Justin Lambert
Sent: Wednesday, April 01, 2009 12:31 PM
To: puppet-users@googlegroups.com
Subject: [Puppet Users] Default Schedule
I am trying to set a default
I am trying to set a default schedule and not having a lot of luck. It doesn't
look like they are used a whole lot and I've had a hard time finding
documentation. What I would ultimately like is for the default schedule to be
daily from "17:00 - 03:00." I'm not sure if it'll work past midnigh
38 matches
Mail list logo