That doesn’t tell us much.
Which icinga module would help for a start as would
Puppet release, OS and OS version would also help.
Without that we can’t help.
On Thu, 21 Sep 2017 at 05:33, Lars Van Steenbergen
wrote:
> So every run i get this notice:
>
On Fri, 25 Aug 2017 at 23:07, John wrote:
> So, I agree this is doable in Hiera. However, I think for the SAZ SSH
> module, it would be better for me to include it in the sshd_config.erb.
>
Why?
It’s a simple solution to do it in hiera.
You are making th problem more
That is pretty easy to do with hiera.
It’s too complex to explain in an email so i would recommend looking up the
docs for it.
This is the best olace to start.
If you aren’t using puppet 5 just switch to the version you are using.
https://docs.puppet.com/puppet/5.1/hiera_intro.html
On Tue, 22
Does it have support for puppet 5 and can you use it to test code against
multiple versions of puppet?
Could it also be used in the manner to test code under a CI/CD setup like
Jenkins or Travis?
On Mon, 21 Aug 2017 at 09:57, David Schmitt
wrote:
> Hi Charlie,
>
>
On Wed, 28 Jun 2017 at 10:52, João Matos wrote:
> now i can't find how the common is being "called". Guess this is puppet 4
> stuff. Will dig the docs.
> tks
>
hiera5 does the lookup because the module is setup for it.
It’s the newish data in modules layer of hiera5.
>
I found a systemd module on puppet forge which works well.
It sets up an exec to run systemd reload whenever your systemd config files
change.
https://forge.puppet.com/eyp/systemd
On Thu, 15 Jun 2017 at 14:04, Ramin K wrote:
> Maybe I've missed something, but I don't
The require meta parameter will do that.
On Thu, 1 Jun 2017 at 14:08, Ugo Bellavance wrote:
> Hi,
>
> I would need to execute a command after the execution of another and I
> didn't find anything on the web regarding this. Here's the code:
>
> if $vhost_name_fact != undef {
>
>
options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Infrastructure Developer
Abstract IT Pty Ltd.
--
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
:-D
If you need extra features let me know or fork it and send me a PR.
On 13 June 2015 at 07:57, Martijn mart...@heemels.com wrote:
Currently rebuilding my Puppet infra. This may be just what I need! Thanks.
Op woensdag 10 juni 2015 00:25:13 UTC+2 schreef Pete Brown:
If you aren't aware
.
--
Pete Brown
Director and Primary Infrastructure Developer
Abstract IT Pty Ltd.
--
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
If you are using Debianish systems this sounds like a job for the
unattended_upgrades module.
https://forge.puppetlabs.com/puppet/unattended_upgrades
--
Pete Brown
Director and Primary Infrastructure Developer
Abstract IT Pty Ltd.
On 3 Jun 2015 23:58, jmp242 jp10...@gmail.com wrote:
If I want
On 3 June 2015 at 23:09, Henrik Lindberg henrik.lindb...@cloudsmith.com wrote:
On 2015-03-06 4:08, Pete Brown wrote:
Hi everyone,
I have been porting my puppet management module to puppet 4 and have
run across what seems to be a bug but I am not completely sure.
My module manages
instead.
-
node/%#Hiera::Scope:0x19fcb05f{::data_centre}/%#Hiera::Scope:0x19fcb05f{::clientcert}
Has anyone else seen this sort of behaviour?
--
Pete Brown
Director and Primary Infrastructure Developer
Abstract IT Pty Ltd.
--
You received this message because you are subscribed to the Google
.
To post to this group, send email to puppet-annou...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-announce.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Infrastructure Developer
Abstract IT Pty Ltd.
--
You
Hi Jonathan,
The puppetboard module uses stankevich/python to get it's underlying python
bits setup so it might give you some ideas.
https://forge.puppetlabs.com/nibalizer/puppetboard
I haven't deployed python apps much myself but the ideas you had would be
where I would start.
If you can't
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/e2fa18b7-97d9-4370-a2d6-44a0835f63cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems
on the web visit
https://groups.google.com/d/msgid/puppet-users/54ABAD3F.8080700%40bristol.ac.uk.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract IT Pty Ltd.
--
You received this message because you are subscribed
://groups.google.com/d/msgid/puppet-users/120d73fe-7165-4c86-9e46-08cb5509cf93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract IT Pty Ltd.
--
You received this message because you are subscribed to the Google
in hoop mode only, concat will always fail due to missing scripts.
On 15.12.2014, at 09:33, Pete Brown p...@abstractit.com.au wrote:
Where did you set pluginsync = true?
It needs to be in the master section of the puppet.conf on your puppet
master.
Which version of puppet, facter, hiera
On Thursday, December 18, 2014 5:27:39 PM UTC-5, Pete Brown wrote:
Awesome job everyone!
One question. Is there or will there be a package provider for
puppet-server gem like there is for Puppet Enterprise gem?
I have a module that manages puppet and I will be needing such a thing
if I am to add
://groups.google.com/d/msgid/puppet-users/50bf4fdf-02d1-429c-99be-d22a228f627c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract IT Pty Ltd.
--
You received this message because you are subscribed to the Google
/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract IT Pty Ltd.
--
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
://groups.google.com/d/msgid/puppet-users/a0c06a9c-5c17-4fb3-b322-d05b6e56496f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract IT Pty Ltd.
--
You received this message because you are subscribed
-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/547B28AA.4090400%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract IT Pty
On 25 Nov 2014 11:37, Ugo Bellavance u...@lubik.ca wrote:
Sorry for top-posting, but I found my mistake. I didn't know we could
not set 'require' more than once. It now looks obvious but it wasn't when
I was working on it.
You can require multiple resources but they need to be in an array.
://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract IT Pty Ltd.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/c22bc207-47e6-4997-afec-193e33664d5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract
this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CANs%2BFoVXKd%2B9VE7H2L9RJLBZOuCeDTKBmpgD%3DYFhSASve4k-jA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract IT Pty Ltd.
--
You
...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/3418f644-cc47-402a-9d53-b8dd178c8e43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Pete Brown
Director and Primary Systems Engineer
Abstract IT Pty Ltd
I am glad you found a solution.
That looks pretty handy.
Thanks for the link.
On 1 August 2014 17:30, Juan Moreno j.moreno.marti...@gmail.com wrote:
Here, we have a solution:
https://github.com/mapa3m/hiera_multijson_backend
Cheers
El jueves, 24 de julio de 2014 14:27:58 UTC+2, Juan
Hi,
I think the best way to achieve this is to use class variables for all
the versions of packages you want to manage and use hiera as the
backend.
You can actually use the $::environment fact in your hiera.yaml file
when defining the datadir.
I tend to put my hiera tree in a separate
27, 2014 4:46:45 PM UTC+10, Pete wrote:
On 27 Jul 2014 16:42, Pete Brown rendh...@gmail.com wrote:
I have taken to using hiera as my ENC these days.
My site.pp is basically
hiera_Include(role)
And each nide as a role variable set in my certname.yaml file.
Dammit.
Each node has
On 28 Jul 2014 23:56, Dimitris Stafylarakis xan...@gmail.com wrote:
Hi people,
thanks for your replies. My actual case is run apt-get update before
upgrading a package. So I have packages in my own repository and I'm
managing them through puppet on the production server. I want to be able to
I have taken to using hiera as my ENC these days.
My site.pp is basically
hiera_Include(role)
And each nide as a role variable set in my certname.yaml file.
Hiera basically does the same as most ENCs anyway and it's nice having
roles and node data in one location.
On 25 Jul 2014 14:33, Atom
On 27 Jul 2014 16:42, Pete Brown rendhal...@gmail.com wrote:
I have taken to using hiera as my ENC these days.
My site.pp is basically
hiera_Include(role)
And each nide as a role variable set in my certname.yaml file.
Dammit.
Each node has a role variable.
Hiera basically does the same
On 24 Jul 2014 21:50, Peiven Cheng peiven.ch...@gmail.com wrote:
Hi all,
We use mcollective to trigger puppet sync in windows servers.
While we send the 'mco puppet runonce' to trigger 8~10 servers doing puppet
agent apply,
it occasionally happened the error of
Could not retrieve catalog
I don't believe that is possible.
You will probably need to collate all the files in customers/ into one file.
I am going to hazard a guess that you have data relating to your
customers in that directory.
If the data in those files is specific to each customer and each of
your nodes had only one
If you are actually managing apt and need to trigger an apt-update
before a package install I can highly recommend the puppetlabs/apt
module on puppet forge I am using it in my environments and it does a
very good job at managing all of apt and friends.
https://forge.puppetlabs.com/puppetlabs/apt
Hi Dan.
I think the puppetlabs cloud provisioner can spin up VMware instances.
I think that is part of the toolkit that gets installed with enterprise.
I know there has been a lot of work getting enterprise talking to VMware
and I believe there is a section on it in the docs.
Hope that helps.
On 10 July 2014 04:55, Kim Scarborough chow...@gmail.com wrote:
No, you cannot do that via Mount resources. Instead, the idiomatic
approach here would be to put each mount for each server under individual
Puppet management. If you wished, you could also use the Resources resource
to purge
On 10 July 2014 09:18, Kim Scarborough chow...@gmail.com wrote:
My Augeas approach works, I'm just having the one problem where I can't
get
it to apply to more than one mount line per run.
It might work but it is probably better to manage the whole mount with
puppet.
I have hundreds of
Is there a reason you aren't using the builtin mount type?
I believe it can do everything you require.
http://docs.puppetlabs.com/references/stable/type.html#mount
On 8 July 2014 04:42, Kim Scarborough chow...@gmail.com wrote:
I'm trying to get Puppet to add nosuid to all my nfs or nfs4 mount
Hi Jay,
Have you had a look at puppetdbquery?
https://forge.puppetlabs.com/dalen/puppetdbquery
On 25 June 2014 04:01, Jay Benner longri...@gmail.com wrote:
Seems like this should be easy, but I am having a tough time sorting it out.
I am using PE 3.1 and I want to know which of my nodes are
I have my hiera data in a separate repository with the same branches
as my environment repositories.
I have r10k setup to check out my hiera repo and two environment trees.
My first idea was to use a submodule but I am not sure r10k would
handle that properly.
You could use a separate module for
It would probably work with both of those.
hiera-eyaml would make it easier because you don't need to encrypt the
whole file and it still lets you use a separate data directory.
Pete.
On 23 June 2014 11:33, Rich Burroughs r...@richburroughs.com wrote:
I wonder if you could use hiera-gpg or
You could write a fact that checks the system load and base your
service restarts on that.
I thought there was one but there only seems to be uptime and swapfree.
Here's a ruby gem that might help get you started.
https://github.com/nethacker/usagewatch
On 20 June 2014 04:45, Corey Osman
:24AM -0400, Christopher Wood wrote:
That's why I'm upgrading (otherwise 3.4.3 works for me), but I will have a
hard time justifying any upgrade that leads to breakage. They're in
profile::base for me too.
Well, on with my testing!
On Thu, Jun 12, 2014 at 10:36:07AM +1000, Pete Brown wrote
I decided to put puppet,hiera and facter versions into my base profile
so upgrades are tested in my dev environment and then pushed out to
production when I am happy.
3.6.2 is also a security release so I (and you very likely) want it
(and the relevant ssl fixes) pushed out asap.
I also just added
On 29 April 2014 04:12, Piotr Usewicz pi...@layer22.com wrote:
I think you have to enable pluginssync option in the [main] section in
puppet.conf
I am pretty sure pluginsync is on by default in recent versions of puppet.
So unless you have disabled it it should work.
On Wednesday, 11 April
Have you looked at how the shell variable is generated on each server?
My guess would be it is different on each one.
It may pay to manage it so it is the same on both masters.
On 30 April 2014 19:17, Fabio Coatti fabio.coa...@gmail.com wrote:
Hi all,
I spotted a behaviour that I can't really
Hi Harrison,
Here are some initial thoughts after a quick glance at your code.
First question I would have would be why are you using ensure_resource
to do one thing at a time?
Like install one package or one service etc.
I love wrappers but it seems like overkill to use it do do something
the
I am pretty sure you still need to setup the launch daemon manually on OS X.
On 21 January 2014 06:55, Jason Hatman jason.hat...@gmail.com wrote:
I have my Puppet installation up and running, but I currently just run
puppet agent --test to use it. As I understand it, in a master/agent
On 21 January 2014 00:33, Erwin Bogaard erwin.boga...@gmail.com wrote:
Hi Pete,
thanks for your reply.
I thought I replied to you last night, but Google doesn't show it. So here
it is again:
The difficulty with using a template, is that there are just too many
exceptions between the
:
On Aug 18, 2013, at 7:06 PM, Pete Brown rendhal...@gmail.com wrote:
Hi everyone,
I am attempting to use FreeIPA as the external CA for my puppet environment.
I can get puppetmaster running under pasenger using certs stored in an
nss db and puppet to work with standard pem encoded x509s issued
Hi,
I did fork the repo and submitted a pull request but I don't think it
has been merged yet.
My for is here if that helps. https://github.com/rendhalver/puppetlabs-apache
I have been pretty busy lately and I haven't had a chance to chase up
what is happening.
On 24 July 2013 00:09, Pawel
On 23 July 2013 02:47, Matthew Nicholson matthew.a.nichol...@gmail.com wrote:
Jonathan,
You would want to do it on the client level, when its exporting its host
definition, like:
@@nagios_host { $hostname:
ensure = present,
alias = $hostname,
address = $ipaddress,
On 17 July 2013 14:18, Nick Lewis n...@puppetlabs.com wrote:
On Tuesday, July 16, 2013 1:25:22 PM UTC-7, replicant wrote:
So,
We are working on migrating a global deployment of Puppet over to a
single PuppetDB instance away from a single MySQL storeconfigs
instance and are running into an
Excellent work!
Now I guess there's no excuse to switch my environment to Fedora 19.
Will let you know how it goes in my dev environment.
On 14 July 2013 09:13, Michael Stahnke stah...@puppetlabs.com wrote:
Fedora 19 is now up on yum.puppetlabs.com.
As a word of caution, this is the first
Hi.
I would recommend you use reload for apache restarts.
Reload does a config check before the reload and if there is an issue it
won't reload the config.
I am also wondering if you have you had a look at the puppetlabs/apache
module on puppet forge?
It does just about everything you will need
On 12/07/2013 4:45 AM, kegstand kegst...@gmail.com wrote:
You should be running puppet version 2 clients with puppetmaster version
2.
You should be running puppet version 3 clients with puppetmaster version
3.
Actually puppet 2.x nodes will talk to a puppet 3.x master.
As long as the puppet
I think the general consensus on multiple masters managing a node is
don't do it.
I personally can't see a reason why this sort of thing is even necessary.
Why do you need two separate masters managing the same node?
What specific reason do you need to split the resource management
between two
(release) = 2.0.0
ruby-libs = 2.0.0.247-11.fc19
ruby-libs(x86-64) = 2.0.0.247-11.fc19
On 07/03/2013 06:24 PM, Pete Brown wrote:
I was just wondering the same thing.
My dev environment runs in Fedora 18 and I almost upgraded yesterday
but thought some testing was in order first.
I am likely
I was just wondering the same thing.
My dev environment runs in Fedora 18 and I almost upgraded yesterday
but thought some testing was in order first.
I am likely to do what I did last time and try installing the versions
from the previous release.
I will be running up a Fedora 19 vm and install
Hi,
So from a guess based on the name of the script it installs some
javascript file somewhere.
Am I correct?
With maybe something extra like optimising it afterwards?
Is there any reason you can't optimize that file and get puppet to
install it on your node?
This will give you a whole lot more
On 4 July 2013 14:06, Michael Stahnke stah...@puppetlabs.com wrote:
On Wed, Jul 3, 2013 at 4:24 PM, Pete Brown rendhal...@gmail.com wrote:
I was just wondering the same thing.
My dev environment runs in Fedora 18 and I almost upgraded yesterday
but thought some testing was in order first.
I
Shameless plug.
I wrote a module to do pretty much what you are trying to achieve.
http://forge.puppetlabs.com/rendhalver/monitoring
It currently works on CentOS and Fedora. Debian/Ubuntu support is in progress.
I also have a couple of other modules for managing nrpe and icinga
Feel free to have a
On 10 June 2013 22:39, Lab Yizhar lab.yiz...@gmail.com wrote:
Hi,
Not much into this but did you this link ?
http://docs.puppetlabs.com/hiera/1/puppet.html
+1
The last entry on the page explains it.
Regards,
Yizhar
On Mon, Jun 10, 2013 at 3:07 PM, Paul Tötterman
Which version of stdlib are you running?
I would hazard a guess that the version you have installed isn't the right
one for your puppet version.
Basically 4.x only works on puppet 3.x with no support for earlier versions.
3.x is for puppet 2.7 and 3 with no support for earlier versions
2.x is for
On 3 June 2013 11:38, Francisco Reyes franci...@natserv.net wrote:
Just learnt about the function puppet module install today (thanks
Ashley).
Which is more up to date github or what one gets from module install?
the puppet module install command installs modules from puppet forge.
a lot of
On 31 May 2013 01:02, przemol p@cmcmarkets.com wrote:
Hello,
we have been using puppet 3 with hiera based config and several (usually
typical) environments:
test
predev
dev
preprod
prod
...
Basically we apply the puppet config to test, then predev, then dev, etc
But within each
Yeah they switched to systemd on fedora so the init scripts went away
(finally!)
They also renamed the service to puppetagent
Try this.
systemctl start puppetagent
On 21 May 2013 08:36, Tom Poulton poulton...@gmail.com wrote:
Wait... spoke too soon:
*Error: Could not start Service[puppet]:
On 20 May 2013 23:31, jcbollinger john.bollin...@stjude.org wrote:
On Sunday, May 19, 2013 10:43:19 PM UTC-5, Pete wrote:
You may want to have a look here.
http://docs.puppetlabs.com/**guides/upgrading.htmlhttp://docs.puppetlabs.com/guides/upgrading.html
and here
On 17 May 2013 23:01, jcbollinger john.bollin...@stjude.org wrote:
On Thursday, May 16, 2013 3:38:23 PM UTC-5, Nev wrote:
I need to be able to run a certain class ONLY when it is called
manually from the client.
I created a class named manual and can run it from the client like
this:
You may want to have a look here.
http://docs.puppetlabs.com/guides/upgrading.html
and here
http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#backwards-incompatible-changes-in-30
There are way too many changed between 0.25.4 and 3.1.1
You just hit the biggest.
On 19 May 2013
Hi Tom,
Fedora 18 is the standard environment for new nodes in my environemnt and I
have never had this issue getting puppet to work.
Admittedly I have two repos setup, one for fedora 17 with a low priority
and one for 18 with normal priority.
I was running the fedora 17 repos before they started
On 17 May 2013 10:33, Stephen Wallace whizbang.wall...@gmail.com wrote:
Hi all,
I know that there are likely a few ways to solve the following. I just
don't know what the best way may be :)
We're trying to work out how do something similar to the following
scenario.
How do we apply a
On 17 May 2013 13:05, joe lava...@gmail.com wrote:
The easiest thing to do would to make a subclass called cups::enabled or
similar and use an override:
class cups::enabled inherits cups{ # The inherits is important
Package['cups']{
ensure = 'present,
}
Add service and config
I think icinga can use those as well.
I don't believe it is supported in the puppet resources yet.
It may be time to find out how to add it.
On 14 May 2013 23:38, Mason Turner opsma...@gmail.com wrote:
Nagios support custom object variables (
On 11 May 2013 06:43, David Schmitt da...@dasz.at wrote:
On 10.05.2013 17:08, Nikola Petrov wrote:
+1
The vim plugin is the best you can find if you are already proficient
in vim somewhat. I use it in conjuction with
79 matches
Mail list logo