Re: [Puppet Users] Problems writing tests for custom hiera backend

2017-10-02 Thread jos
ld have an approach by Wednesday. With regards, Jos Houtman On Monday, October 2, 2017 at 1:18:54 PM UTC+2, Craig Dunn wrote: > > > I've been having the exact same conversation with Henrik as I also need to > write tests for hiera-mysql, hiera-http and the Jerakia Hiera 5 backend.

[Puppet Users] Problems writing tests for custom hiera backend

2017-09-29 Thread jos
; for nil:NilClass) What would the right way to construct the arguments for this signature? Specifically - how do i create Puppet::LookupContext. Is this really the way? - how do i create a puppet hash construct with data in it? With regards, Jos Houtman -- You received this

[Puppet Users] How to disable JIRA emails?

2014-08-16 Thread Jos Backus
Hi, I'm getting spammed incessantly by email from issue-upda...@puppetlabs.com to puppet-bugs, even though I'm not subscribed to the Google group puppet-bugs. How do I make it stop, please? Thanks, Jos -- You received this message because you are subscribed to the Google Group

[Puppet Users] Re: Introducing our new Community Manager - Dawn Foster

2012-10-02 Thread Jos Backus
Welcome, Dawn :) Jos -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/5rkoHCdvUYYJ. To post to this group, send email to puppet-users@googlegrou

Re: [Puppet Users] Re: [Puppet-dev] Re: Announce: Puppet 3.0.0 Live

2012-10-01 Thread Jos Backus
likely that Ruby 1.9 will be supported before EL7. Thanks for the heads-up. Cheers, Jos -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-

[Puppet Users] Re: [Puppet-dev] Re: Announce: Puppet 3.0.0 Live

2012-10-01 Thread Jos Backus
Hi Jeff, On Monday, October 1, 2012 4:14:05 PM UTC-7, Jeff McCune wrote: > > On Mon, Oct 1, 2012 at 2:44 PM, Jos Backus > > wrote: > > Hi, > > > > Any chance we will see Ruby 1.9-compatible RPMs for Puppet 3.0.0 and > Facter > > 2.0.0 soon? >

[Puppet Users] Re: Announce: Puppet 3.0.0 Live

2012-10-01 Thread Jos Backus
Hi, Any chance we will see Ruby 1.9-compatible RPMs for Puppet 3.0.0 and Facter 2.0.0 soon? Thanks, Jos -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pu

[Puppet Users] Re: Announce: Puppet 3.0.0-rc7 Available

2012-09-25 Thread Jos Backus
Hi Matthaus, Would it be possible to publish el6 RPMs for Ruby 1.9 which have 1.9.1 as the library version? The current 3.0.0 RPMs use 1.8. It looks like the RedHat spec file is already set up to handle this. Thanks! Jos -- You received this message because you are subscribed to the Google

[Puppet Users] Re: Announce: Hiera-Puppet 1.0.0rc1 Available

2012-06-04 Thread Jos Houtman
Hello, I am trying to install the hiera(-puppet) 1.0 rc's but I am having trouble installing from source. The goal is a 3.0 puppet installation with hiera. The rake file seems to be broken because it fails on the require on the 3rd line. What am i missing? Jos On Wednesday, May 23, 2

Re: [Puppet Users] Re: Puppet/Hiera and Git workflow

2012-05-30 Thread Jos Houtman
might be a few mistakes. It is a tradeoff between rigorous testing and development speed. Jos On Tue, May 29, 2012 at 10:34 PM, Andy Taylor wrote: > The git branches/Puppet environments actually mirror the > infrastructure. So we have groups of servers. Unstable is just for > nodes whi

[Puppet Users] Re: Puppet/Hiera and Git workflow

2012-05-29 Thread Jos Houtman
extra hiera lookup level and are also reflected in the node to modules mapping thats in place. This is what works for us. Jos On Monday, May 28, 2012 3:14:54 PM UTC+2, Andy Taylor wrote: > > I'm currently trying to work out the best way structure my Puppet > environments and VC

[Puppet Users] Re: Announcing Razor

2012-05-26 Thread Jos Houtman
r the available systems and create a matching profile based on serial from the monitoring program? Is there also the option to query external resources to determine extra facts? would this be done through the deployment of custom facts? Great work, Jos On Thursday, May 24, 2012 2:10:14 AM UTC+2,

[Puppet Users] Re: Developers having access to deploy

2012-03-02 Thread Jos Houtman
uld personally look towards other means of deployment. We are currently utilizing the python fabric library for deployments. Jos On Friday, March 2, 2012 10:42:28 AM UTC+1, Thomas Rasmussen wrote: > > Hi > > I'm in the process of looking for a way to have developers deploying >

[Puppet Users] Re: Best way to test changes?

2012-02-24 Thread Jos Houtman
We have a stable environment and an evironment for every developer. Upon changes we manually test the change using the different environments. We also have alerting on the /var/lib/puppet/state/ last_run_summary.yaml file, which tells us if a manifest did not apply properly. Cheers, Jos On

[Puppet Users] Parameterized classes override of parameter

2012-02-20 Thread Jos Houtman
not the way, should all this logic then be put into our extlookup or something like hiera? Jos -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this gr

[Puppet Users] Re: intermodule dependency

2012-01-31 Thread Jos Houtman
g. > Correct use of class inheritance fits in mostly by shaping the > expectations and practices of manifest developers, rather than by > providing tools to directly control ordering.  I hope you nevertheless > find this useful. This sure is usefull, talking helps to understand the

[Puppet Users] Re: intermodule dependency

2012-01-31 Thread Jos Houtman
is the > UX of having to manage dependencies so carefully and painfully.  The > good news is that we're actively working on it.  If you could update > any of the following bugs with your user stories and desires it will > help shape the solution.  11832, 12243, 12246, 12249, 12250,

Re: [Puppet Users] intermodule dependency

2012-01-29 Thread Jos Houtman
erride["test"] -> hyves_package["nss-switch"] -> notify["done ldap"] The two foremost gains with such an approach would be that cross-module ordering could worked out using stages. While the few modules that deliver common services used by other modules, through

[Puppet Users] Advice/Best practices inter-module dependencies

2012-01-26 Thread Jos Houtman
required packages, which again makes maintenance of the package module more difficult to do right. So after this rather longer email explaining our problem and some of the options we explored, how do you guys handle these kind of complex inter-module dependencies? Cheers, Jos Houtman -- You

[Puppet Users] intermodule dependency

2012-01-26 Thread Jos Houtman
lling the required packages, which again makes maintenance of the package module more difficult to do right. So after this rather longer email explaining our problem and some of the options we explored, how do you guys handle these kind of complex inter-module dependencies? Cheers, Jos Houtman

[Puppet Users] Advice/Best practices inter-module dependencies

2012-01-26 Thread Jos Houtman
do something custom for installing the required packages, which again makes maintenance of the package module more difficult to do right. So after this rather longer email explaining our problem and some of the options we explored, how do you guys handle these kind of complex inter-modu

Re: [Puppet Users] Re: facter (ruby) question

2010-11-21 Thread Jos Backus
lit('.')[1] > when '84': 'AAA' > when '85': 'BBB' > > In the interest of portability to Ruby 1.9, please consider using: case Facter.value(:ipaddress).split('.')[1] when '84'; 'AAA' when '85

[Puppet Users] Re: [Puppet-dev] James Turnbull (finally) joins Puppet Labs

2010-04-12 Thread Jos Backus
On Sun, Apr 11, 2010 at 08:58:56PM -0700, Luke Kanies wrote: > Welcome to the company, James. Congratulations, James! Thanks for all your hard work. -- Jos Backus jos at catnook.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou

[Puppet Users] Re: Remove user from a specific group?

2009-09-21 Thread Jos Backus
On Tue, Sep 22, 2009 at 09:35:55AM +1000, James Turnbull wrote: > Can you open a ticket please Jos. Filed as http://projects.reductivelabs.com/issues/2667. Thanks, James. -- Jos Backus jos at catnook.com --~--~-~--~~~---~--~~ You received this message beca

[Puppet Users] Re: Remove user from a specific group?

2009-09-21 Thread Jos Backus
On Tue, Sep 15, 2009 at 12:41:16PM -0700, Jos Backus wrote: > How do I tell Puppet to remove a user from a specific group? Turns out `gpasswd -d user group' handles this on RedHat-based OSes. Would be nice if the groupadd provider supported this. :-) -- Jos Backus jos at cat

[Puppet Users] Remove user from a specific group?

2009-09-15 Thread Jos Backus
gid=> 881, ensure => present; } user { mule: groups => ['dbusers'], membership => minimum, require => Group['dbusers']; } -- Jos Backus jos at catnook.com --~--~-~--~~~---~--~~ You re

[Puppet Users] Re: custom facts not working

2009-03-11 Thread Jos Backus
releasever' only looks under /usr/lib and for /var/puppet/lib/facter/releasever{,.rb} or /var/puppet/facts/releasever{,.rb}. Iow, `facter -p' doesn't seem to be honoring Puppet's $libdir, evidenced by the fact that the same strace doesn't show /etc/puppet/puppet.conf being rea

[Puppet Users] Re: Facter - the future - your input needed

2009-01-30 Thread Jos Houtman
Hi, I have only developed an ip/interface fact that uses ip2 instead of ifconfig. In order to detect multiple ip's per interface. And my conclusion was that I really wanted some complexer data structures and an easier integration with puppet. jos On 1/29/09 10:55 PM, "James Turnbu

[Puppet Users] Re: Facter and loops.

2009-01-10 Thread Jos Backus
ocal. Thanks for correcting me Andrew. > But $almostanythingelse IS global... ahh, Ruby... Yeah. One of the (few) places where Ruby compromised in order to be Perl-compatible. Personally I wish these fake $-variables would just go away. They seem like a wart on Ruby's otherwise pretty cl

[Puppet Users] Re: Facter and loops.

2009-01-09 Thread Jos Backus
p% ruby x [0, 2] [1, 2] [2, 2] lizzy:/tmp% Hope I got that right. Thanks again, Luke. -- Jos Backus jos at catnook.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users&

[Puppet Users] Re: Facter and loops.

2009-01-08 Thread Jos Backus
bals, or I'm missing something obvious. I didn't actually look at what setcode does, but that explains it. > Yes, I know you already found a solution, but this is more a ruby > question than a Puppet/Facter question, and I figure it's wo

[Puppet Users] Re: Facter and loops.

2009-01-03 Thread Jos Backus
pwent.dir end end end >end >end >end > > which does exactly the same thing: > > home_backup => /var/run/dbus > home_bin => /var/run/dbus [snip] > /var/run/dbus is the home of the last /etc/passwd entry. -- Jos

[Puppet Users] Accessing files in custom function relative to the current module

2008-12-16 Thread jos houtman
nodes. But how can i get the current module path. so that i can access the config file that is in modules/ganglia/config/. so I want something like this: IO.readlines( puppet.prefix() + "config/ganglia-config.cfg" ) Is this possible? With regards, Jos Houtman --~--~-~--~---