Hi again,
It seems github is a better option as they have an issue tracker.
https://github.com/rendhalver/puppet-nrpe
On 5 December 2012 13:30, Peter Brown wrote:
> Hi Gav,
>
> I just put my nrpe module up on gitorious.
>
> https://gitorious.org/rendhalver-puppet/nrpe
>
> I had to pull out m
On Monday, December 3, 2012 9:54:49 PM UTC+11, Andrew Beresford wrote:
>
> Feature :)
I do understand what the code is doing but question whether that's what it
should be doing. While it's ultimately a matter of opinion, it violates
the 'principle of least surprise' for me and also my Solar
Hi Gav,
I just put my nrpe module up on gitorious.
https://gitorious.org/rendhalver-puppet/nrpe
I had to pull out my nrpe::firewall class for now because it uses my
firewall module which I will be releasing at some point as well.
I tagged the stable release as v1.0 so if you are going to clone i
OK, that makes sense. Thanks for the tip. Gotta go do some reading. The
thing is this very same manifest used to work under puppet 2.6. If
there's one thing I really don't like about puppet it's the amount of
change although I understand it's needed for a product under such heavy
development.
It's a bit deeper than that,
Nesting a class definition inside of a class definition will result in a
class namespaced as first_class::second_class. Because of this, you'll
need to "include mock::my_file" in your node declaration.
It's recommended to keep one class definition per file and to fol
i
> I am trying to use nested classes but for whatever reason it doesn't work.
> Here's my site.pp file:
>
> include stdlib
> include apt
> node 'zenoss.example.com' {
> include mock
> }
> class mock {
> class my_file {
> file { '/tmp/test':
> ensure => present,
> content => "
Hi
I am trying to use nested classes but for whatever reason it doesn't work.
Here's my site.pp file:
include stdlib
include apt
node 'zenoss.example.com' {
include mock
}
class mock {
class my_file {
file { '/tmp/test':
ensure => present,
content => "Just testing to see if '
On 4 December 2012 21:17, Vaidas Jablonskis wrote:
> Yes, it is that simple.
I gave it a go just after I sent my email and it works like a charm.
The other way of doing (some people prefer this way actually) is to put
> your variables inside the actual class (not as parameters of the class),
I know this sounds odd, but what if you put command in quotes in your hash,
like this:
$stuff = { '/bin/false' => { 'command' => "/bin/echo 'hello there'" } }
create_resources('exec', $stuff)
This seems to work for me - does it work for you?
On Tue, Dec 4, 2012 at 4:07 PM, Sean Kamath
wrote:
>
Hi.
I've done some googling, and did find something sort of similar in a
bug report (see http://projects.puppetlabs.com/issues/16082 and the
second to last update -- but as I created this post, I realize it's
almost certainly not related at all).
In a bunch of narrowing, I've found that apparentl
On 4 December 2012 17:05, fatmcgav wrote:
> Pete
>
> Sounds good to me... N be easier than me re-inventing the wheel...
>
> Would be happy to guinea pig... :)
>
Awesome.
I have an account on gitorious which I am going to use to put my code on.
Gimme a bit to get my module cleaned up and make su
On Tue, Dec 4, 2012 at 8:44 AM, Matthias Kellermann
wrote:
> Hi there,
>
> I have a network service with three IP addresses. For my client config file
> I want to choose a random IP addresses of the three available addresses
> (round robin via DNS won't work..).
>
> Is there a way to use a random
On 12/4/12 2:38 PM, R.I.Pienaar wrote:
>
>
> - Original Message -
>> From: "ZipKid"
>> To: puppet-users@googlegroups.com
>> Sent: Tuesday, December 4, 2012 11:10:13 PM
>> Subject: Re: [Puppet Users] in-module data with hiera
>>
>> Hello,
>>
>> I have tested the branch
>> https://github.c
On 11/28/2012 09:19 PM, Matt Zagrabelny wrote:
> Whatever is generating your node manifest (on the master) could also
> perform either:
>
> 1) scp ssh keys from the node to master
> or
> 2) run ssh-keygen on master
>
> Unless you are using the "default" node, this should work.
OK I've found ele
On Dec 4, 2012, at 2:16 PM, Kazor wrote:
> I have declared in my puppet server my class "lab" , this class create one
> archive in the agent but when i sync from agent throws error:
>
> ..
> info: Applying configuration version '1354468151'
> err: /Stage[main]/Lab/File[/root/date.txt]: Cou
- Original Message -
> From: "ZipKid"
> To: puppet-users@googlegroups.com
> Sent: Tuesday, December 4, 2012 11:10:13 PM
> Subject: Re: [Puppet Users] in-module data with hiera
>
> Hello,
>
> I have tested the branch
> https://github.com/ripienaar/puppet/tree/feature/master/16856.
> The
I have declared in my puppet server my class "lab" , this class create one
archive in the agent but when i sync from agent throws error:
..
info: Applying configuration version '1354468151'
*err: /Stage[main]/Lab/File[/root/date.txt]: Could not evaluate: Could not
retrieve information from
Hello,
I have tested the branch
https://github.com/ripienaar/puppet/tree/feature/master/16856.
The basic functionality of the data in the module seems to work as desired.
Just a few things
- If only using the param auto-lookup not having a hiera.yaml file is ok
- if there is NO hiera.yaml config
Hi all,
Can anyone recommend any tools for Puppet report aggregation? I'm
interested in something that can take a given set of Puppet reports and
summarise to me what resources have changed across all hosts.
If nothing exists I will look to write one myself. In that case, is Puppet
report form
I am trying to write a define type which will use an array but in the
meantime have an argument pass to it that sets a case. See for example :
define link_files ($linkcase) {
case $linkcase {
"var" : {
file { "${name}_exelink" :
path => "/var/log/puppet/${
Hello,
I can't figure out how I can use the module puppetlabs-firewall only
for some targeted nodes.
If I put :
resources { "firewall": purge => true }
in top scope (i.e. site.pp),
then all the firewall rules on all my nodes are purged. Even for nodes
for which I don't apply any module contain
We are checking which tool might be the best one for us. I like Puppet
(together with Foreman or whatever helps), but there are commercial tools
UC4 (http://uc4.com/) which seem to offer a lot.
Do you have any good arguments for or against Puppet? ;-)
--
You received this message because you a
On Tuesday, December 4, 2012 7:52:20 PM UTC, Wolf Noble wrote:
> Hello all,
>
> Is anyone managing custom static routes via puppet? if so, how?
>
>
Yes, along with all other networking config files (Red Hat based ifcfg-*
files).
We started with this module: https://github.com/heliostech/puppet
Hey Dennis,
You are right - there is a difference. Think I tried the cert list command
once and dismissed it when it did not work for 'ca list' instead.
Running the command 'puppet cert list --all' does indeed work as intended.
Thank you!
Off to go fix puppetdb now that I have ripped the SSL
Hello all,
Is anyone managing custom static routes via puppet? if so, how?
I'm wondering if there's a better cross-platform way of adding routes than a
custom init script that defines the routes that need to be associated with each
interface…
or maybe someone with extra tasty brains (zombies w
- Original Message -
> From: "Andreas Ntaflos"
> To: puppet-users@googlegroups.com
> Sent: Tuesday, December 4, 2012 6:35:12 PM
> Subject: Re: [Puppet Users] Puppet agent exit code for monitoring script
>
> On 04/12/12 16:40, Felix Müller wrote:
> > Hello,
> >
> > I would like to build
Puppet 3.0.2-rc1 is a bugfix release candidate for the 3.x series of
Puppet. To see
a list of the issues addressed by this release, check out the 3.0.2
version in our issue tracter at:
https://projects.puppetlabs.com/versions/337
Downloads are available at:
* Source https://downloads.puppetlabs.c
Hi,
I have a command that I want to run when certain other puppet-controlled
files change, which is no problem. But I also want the program to run
if a certain NIS database changes. I don't see anything built in to
talk to talk to a NIS (or LDAP or AD) server. And most importantly I
don't
You should really think about this more closely. Imagine you had the
*rand* function that gives you an integer from 1..3 now if you define
$ipaddress = rand()
in your manifest you will now generate a new ipaddress on each puppet
agent run.
If you want that we can tell you how to do it(I eve
On Tuesday, December 4, 2012 10:02:42 AM UTC-5, jcbollinger wrote:
>
>
> On Monday, December 3, 2012 5:25:58 PM UTC-6, Dusty Doris wrote:
>>
>> [...] I'm trying to figure out how I can re-write this to make it work,
>> but it appears the puppet dsl only acts on arrays when they are the name
>>
Hi there,
I have a network service with three IP addresses. For my client config file
I want to choose a random IP addresses of the three available addresses
(round robin via DNS won't work..).
Is there a way to use a random IP from an array in a puppet template?
Thanks and best regards,
Matth
On 04/12/12 16:40, Felix Müller wrote:
> Hello,
>
> I would like to build a script, which notifies me, when a production
> host notices, that there change on a host, based on the Puppet exit
> codes without executing it.
Probably easier and more effective to examine
/var/lib/puppet/state/last_run
On Dec 4, 2012, at 8:10 AM, hai wu wrote:
In puppet stdlib doc here at https://github.com/puppetlabs/puppetlabs-stdlib,
it only mentions its support for puppet 2.6 and puppet 2.7. Puppet 3.0.1 is
not listed there.
Why puppet 3.x is not listed in the above doc as supported?
stdlib 3 fully suppo
In puppet stdlib doc here at https://github.com/puppetlabs/puppetlabs-stdlib,
it only mentions its support for puppet 2.6 and puppet 2.7. Puppet 3.0.1 is
not listed there.
Why puppet 3.x is not listed in the above doc as supported?
--
You received this message because you are subscribed to the G
Hello Shawn,
Am 29.11.2012 22:52, schrieb shoerner:
> Just getting my first puppet master set up and I am having a problem
> that I just do not know how to get past. For some reason, my certificate
> store keeps getting corrupted. Basically what happens is that the server
> will issue itself a val
Hello,
I would like to build a script, which notifies me, when a production host
notices, that there change on a host, based on the Puppet exit codes
without executing it.
This doesn't returns a code. According to several posts on the web it
should work. (I know that --test should also inherit
On Monday, December 3, 2012 5:25:58 PM UTC-6, Dusty Doris wrote:
>
> [...] I'm trying to figure out how I can re-write this to make it work,
> but it appears the puppet dsl only acts on arrays when they are the name
> variable and then calls the resource once for each item in the array,
> pas
I believe you have stumbled into the same issue I ran into when attempting
to workaround this with defined resources and unfortunately I had to
continue using the legacy bobsh-iptables module as a result (which has its
own inherent issues but at least properly accepts an array in source.)
It is
On Tuesday, December 4, 2012 4:52:45 AM UTC-6, Phips wrote:
>
> On Friday, November 30, 2012 4:40:34 PM UTC, O wrote:
>
>> You are right. I found a simpler way of doing it using puppet's built in
>> "user" reference with shadow-lib installed. The only thing is, puppet
>> doesn't seem to be able
On Monday, December 3, 2012 10:26:33 AM UTC-6, Smashed wrote:
>
> John, thanks for your input. I should note however that this application
> is just one of several types of machines that we will set up. It's just
> that this our primary type of machine that needs to be configured so I
> listed
Yes, it is that simple.
The other way of doing (some people prefer this way actually) is to put
your variables inside the actual class (not as parameters of the class),
for example:
class foo {
$my_parameter = hiera('foo::my_parameter', 'default_value')
$another_parameter = hiera('foo
On Friday, November 30, 2012 4:40:34 PM UTC, O wrote:
> You are right. I found a simpler way of doing it using puppet's built in
> "user" reference with shadow-lib installed. The only thing is, puppet
> doesn't seem to be able to create an md5 hash for you so you need to create
> a test user wi
42 matches
Mail list logo