[Puppet-dev] Re: [voxpupuli] Puppet Apache Module

2018-08-30 Thread Martin Alfke
Hi Davin, according to RedHat RHEL 6 has End of maintenance support 2 (Product retirement) until November 30, 2020 and End of extended lifecycle support at June 30, 20124. (https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates) Will you support the latest apache module with R

Re: [Puppet-dev] [Puppet-Users] Puppet Platform 6 Update

2018-07-17 Thread Martin Alfke
> On 18. Jul 2018, at 00:43, Eric Sorenson wrote: > > On Jul 17, 2018, at 2:26 AM, Martin Alfke wrote: >> >>> On 17. Jul 2018, at 01:40, Eric Sorenson wrote: >>> >>> So my question is - >>> - do you current use/rely on 'gem instal

Re: [Puppet-dev] [Puppet-Users] Puppet Platform 6 Update

2018-07-17 Thread Martin Alfke
> On 17. Jul 2018, at 01:40, Eric Sorenson wrote: > > Another effort that's underway but not yet complete is the extraction of > non-core types/providers into modules. This addresses some long-standing > requests to, for example, be able to change the nagios types and OS-specific > resource

Re: [Puppet-dev] Need for feedback regarding sort_merged_arrays vs sort_merge_arrays lookup behavior

2017-08-01 Thread Martin Alfke
to refrain from using > it. > > - thomas > > On Mon, Jul 31, 2017 at 6:32 PM, Ryan Whitehurst wrote: > On Mon, Jul 31, 2017 at 3:53 AM, Martin Alfke wrote: > Hi, > > we (example42) are in need of feedback regarding sort_merged_arrays vs. > sort_merge_arra

[Puppet-dev] Need for feedback regarding sort_merged_arrays vs sort_merge_arrays lookup behavior

2017-07-31 Thread Martin Alfke
Hi, we (example42) are in need of feedback regarding sort_merged_arrays vs. sort_merge_arrays when having to support multiple Puppet versions. http://www.example42.com/2017/07/31/sort_merged_array-fix/ Best, Martin -- You received this message because you are subscribed to the Google Groups

Re: [Puppet-dev] Puppet 5 release planning

2017-04-08 Thread Martin Alfke
> On 08.04.2017, at 09:07, Thomas Mueller wrote: > > Would be this the time to also use /etc/puppet and /opt/puppet? >> >> Good question. I am afraid it would break too many things, so >> /opt/puppetlabs will be around for a while longer. >> >> > Please, no new default paths again. +1

Re: [Puppet-dev] Puppet-Rspec - Can it test for smart paramaters

2017-02-08 Thread Martin Alfke
Hi James, > On 07.02.2017, at 21:58, James Perry wrote: > > I have started to use Smart Parameters in Puppet, as I am running Foreman > with Puppet, and I started writing a new module where I am going to be > setting smart parameters. > > Is there a way with the puppet-rspec tests to check th

Re: [Puppet-dev] Draft for new type and provider API

2017-02-05 Thread Martin Alfke
g. They were happy having a readable, easy to understand DSL instead. These are the ones which you want to make types/providers more easy. Looking forward to seeing you tomorrow or later this evening. Best, Martin > On 03 Feb 2017, at 12:12, Martin Alfke wrote: > > Hi David, > &g

Re: [Puppet-dev] Draft for new type and provider API

2017-02-03 Thread Martin Alfke
Hi David, many thanks for sharing your ideas. As you already know: personally I don’t say that types and providers are way to difficult. It is more a matter on how to explain them. I will dig through your document during weekend. We can have a chat on Monday in Ghent. But besides this: is your

Re: [Puppet-dev] Idea: Deprecation logs

2016-03-22 Thread Martin Alfke
+1 A tool/separate log would be nice. I now many puppet installations where people are not locking into their log files and where they review their deprecation warnings. On 22 Mar 2016, at 04:44, Rob Nelson wrote: > Yes, it should probably break less. But change is eternal, so it's going to >

Re: [Puppet-dev] Puppet 4: defined resource types and epp template

2016-02-04 Thread Martin Alfke
On 04 Feb 2016, at 14:30, Henrik Lindberg wrote: > On 2016-04-02 11:46, Martin Alfke wrote: >> >> On 01 Feb 2016, at 19:15, Henrik Lindberg >> wrote: >> >>> >>> That is exactly what you should do. An external (file based epp) when >>&

Re: [Puppet-dev] Puppet 4: defined resource types and epp template

2016-02-04 Thread Martin Alfke
On 01 Feb 2016, at 19:15, Henrik Lindberg wrote: > > That is exactly what you should do. An external (file based epp) when called, > does not get to see variables in the scope from which it was called/used. > This design is deliberate. Think of the template as a function you are > calling,

[Puppet-dev] Puppet 4: defined resource types and epp template

2016-01-31 Thread Martin Alfke
Hi, I recently had an issue with epp template within a defined resource type. Let’s assume the following code snippets: # modules/test/manifests/init.pp class test { ::test::files { 'test': param1 => 'value', } } # modules/test/manifests/files.pp define test::files ( $param1 = '', ){

Re: [Puppet-dev] EPP templates and ruby code

2015-09-11 Thread Martin Alfke
ple: > range(1,5).each |$x| {notice($x)} > > On Fri, 11 Sep 2015 at 10:41 Martin Alfke wrote: > Hi Michael, > > On 10 Sep 2015, at 17:29, Michael Smith wrote: > > > Looking at the examples for the 'each' function > > (https://docs.puppetlabs.com/references/l

Re: [Puppet-dev] EPP templates and ruby code

2015-09-11 Thread Martin Alfke
n be used on arrays. In my case the variable is an integer. I want to print stuff $i times into the final file. > > On Sep 10, 2015, at 4:34 AM, Martin Alfke wrote: > >> Hi, >> >> is there a way to iterate with the ruby .times function inside an EPP >> template?

[Puppet-dev] EPP templates and ruby code

2015-09-10 Thread Martin Alfke
Hi, is there a way to iterate with the ruby .times function inside an EPP template? e.g. <% $i.times |$x| { -%> i = <%= $x +1 %> <% } -%> The code above seems to need a puppet4 function with name “times”. Result: Error: Evaluation Error: Unknown function: 'times'. When changing to ruby code sty

Re: [Puppet-dev] Puppet 4 functions - argument count not working?

2015-09-02 Thread Martin Alfke
not Regexp (a Regexp is > for regexp instances whereas a Pattern matches strings). > > - thomas > > > On 2015-09-01 14:28, Thomas Hallgren wrote: >> On 2015-09-01 13:27, Martin Alfke wrote: >>> Hi Thomas, >>> On 01 Sep 2015, at 09:59, Thomas Hallgr

Re: [Puppet-dev] Puppet 4 functions - argument count not working?

2015-09-01 Thread Martin Alfke
gt; > Regards, > Thomas > > > On 2015-08-31 17:57, Martin Alfke wrote: >> Hi, >> >> I am playing with Puppet 4 functions. >> According to Henriks blog[1] one can provide information on number of >> arguments for a function using arg_count inside the dis

[Puppet-dev] Puppet 4 functions - argument count not working?

2015-08-31 Thread Martin Alfke
Hi, I am playing with Puppet 4 functions. According to Henriks blog[1] one can provide information on number of arguments for a function using arg_count inside the dispatch. The following code will throw an error: # modules/utils/lib/puppet/functions/resolver.rb require 'socket' Puppet::Functio

Re: Resolved: Re: [Puppet-dev] Puppet agent 1.2.2 + snoopy = causing ruby bug

2015-08-28 Thread Martin Alfke
or-all.html > > On Friday, 28 August 2015 11:30:27 UTC+1, Trevor Vaughan wrote: > Interesting! What in, particular, is the issue? It would seem like this is > something worth reporting to the auditd folks if it can't meet the > requirements properly. > > On Fri, Aug 2

Resolved: Re: [Puppet-dev] Puppet agent 1.2.2 + snoopy = causing ruby bug

2015-08-28 Thread Martin Alfke
roosh, or our fork of sudosh2 > https://github.com/onyxpoint/sudosh2 > 4) If you can't do any of these, you're going to have a really hard time > using any system like Puppet > > Good luck, > > Trevor > > On Thu, Aug 27, 2015 at 5:04 AM, Martin Alfke wrote:

[Puppet-dev] Puppet agent 1.2.2 + snoopy = causing ruby bug

2015-08-27 Thread Martin Alfke
Hi, we encounter a problem with puppet agent and snoopy installed and activated. Snoopy is required for PCI DSS compliance. apt-cache show snoopy Package: snoopy Version: 1.8.0-5 Installed-Size: 24 Maintainer: Zed Pobre Architecture: amd64 Depends: libc6 (>= 2.2.5), debconf (>= 0.5) | debconf-

Re: [Puppet-dev] Re: Using data types on hashes

2015-08-27 Thread Martin Alfke
On 27 Aug 2015, at 02:08, Henrik Lindberg wrote: > On 2015-26-08 17:56, Martin Alfke wrote: >> Hi Henrik, >> On 26 Aug 2015, at 17:49, Henrik Lindberg >> wrote: >> > >> Hash[String, Struct[{ uid => Integer, home => Pattern[/^\/.*/]}]] $hash &g

Re: [Puppet-dev] Using data types on hashes

2015-08-26 Thread Martin Alfke
Hi Henrik, On 26 Aug 2015, at 17:49, Henrik Lindberg wrote: > On 2015-24-08 14:38, Martin Alfke wrote: >> Hi, >> >> I am playing around with the Puppet 4 Type system and nested hashes. >> Is it possible to use the Type system on a hash and check sub hashes as >

[Puppet-dev] Using data types on hashes

2015-08-24 Thread Martin Alfke
Hi, I am playing around with the Puppet 4 Type system and nested hashes. Is it possible to use the Type system on a hash and check sub hashes as Struct? # nested hashes $hash = { ‘ben’ => { uid => 2204, home => ‘/home/ben’, }, ‘jones’ => { uid => 2205, home => ‘home/jones’,

Re: [Puppet-dev] Accessing variables from templates in wrapped defines

2015-08-12 Thread Martin Alfke
Hi Ryan, On 11 Aug 2015, at 19:22, Ryan Whitehurst wrote: > > Martin Alfke writes: > >> How can I access the variable from the first define? I can change the second >> define to have another parameter so it knows about the template variable. Is >> there any other

[Puppet-dev] Accessing variables from templates in wrapped defines

2015-08-11 Thread Martin Alfke
Hi, I have an issue with templates and variable lookup when used in wrapped defines - which was working in older puppet versions (maybe due to the dynamic variable lookup): e.g. The following code: The first define setting a local variable and calling a second define with a parameter: cat de

Re: [Puppet-dev] Puppet 5 changes

2015-03-05 Thread Martin Alfke
Hi Eric, On 06 Mar 2015, at 05:30, Eric Sorenson wrote: > […] > Similarly, on the network stack, we want to consolidate on the > jetty/puppet-server/jruby stack as the single way to run Puppet masters, so > the built-in webrick support and Rack support layer will ride off into the > sunset.

Re: [Puppet-dev] Puppet provider - xml parsing - help needed

2015-02-26 Thread Martin Alfke
Cheers, > > Raphaël > > > > On Wednesday, February 25, 2015 at 6:18:02 PM UTC+1, Martin Alfke wrote: > Hi, > > I am stuck at a puppet provider where I need to read data from xml. > > Data which needs to get parsed: > >

Solved Re: [Puppet-dev] Re: Puppet provider - xml parsing - help needed

2015-02-25 Thread Martin Alfke
e a look at nokogiri. It's an XML/HTML parser for Ruby. Some > helpful hints > here:http://stackoverflow.com/questions/11198239/parsing-xml-with-ruby > > - thomas > > On 2015-02-25 19:43, Henrik Lindberg wrote: >> On 2015-25-02 18:17, Martin Alfke wrote: >>> H

[Puppet-dev] Puppet provider - xml parsing - help needed

2015-02-25 Thread Martin Alfke
Hi, I am stuck at a puppet provider where I need to read data from xml. Data which needs to get parsed: 0 0 Expected result: :addressrange => { ‘1' => { ‘ip' => ‘172.16.1

Re: [Puppet-dev] Puppet 4 delivery and upgrades

2014-11-24 Thread Martin Alfke
On Nov 24, 2014 11:33 AM, "Erik Dalén" wrote: > > Will there be a version of this AIO package for 3.7.4 (or even 3.7.3) so we can try out the packaging without trying out all the stuff in puppet 4.0 at the same time? +1 > > On Sat Nov 22 2014 at 11:46:16 AM Martin Alfke

Re: [Puppet-dev] Puppet 4 delivery and upgrades

2014-11-22 Thread Martin Alfke
On 21 Nov 2014, at 21:46, Eric Sorenson wrote: > > 0 - Which platforms will get FOSS AIO packages? > > RHEL/Centos 5, 6, 7 > Fedora 20, 21 > Ubuntu 10.04, 12.04, 14.04 > Debian Squeeze, Wheezy > Windows x86, x64 OpenSuSE? Debian Jessie? > > 1 - How do I manage gems with AIO ruby? > > Use t

Re: [Puppet-dev] Puppet 4 delivery and upgrades

2014-11-20 Thread Martin Alfke
On 20 Nov 2014, at 13:12, Leonardo Rodrigues de Mello wrote: > Breaking this on 4.0 is OK with semver . breaking it on 4.1 would be a mess. ACK. Question regarding package resource types using gem provider: 1. are we still able to install into system ruby using gem provider? 2. will there be

Re: [Puppet-dev] Puppet 4 delivery and upgrades

2014-11-20 Thread Martin Alfke
+1 for RHEL/CentOS 5 and please put some love in SLES too (even though that it is only used in Germany). On 20 Nov 2014, at 06:10, Leonardo Rodrigues de Mello wrote: > Thats cool a controlled and independent stack with all the dependencies. > Independent of the OS is great. Scl works only on

Re: [Puppet-dev] Is there a way to run puppet-agent on a generic Linux OS

2014-09-29 Thread Martin Alfke
Hi, On 29 Sep 2014, at 04:12, Alick wrote: > > Hi all > > I have a device running on Linux OS ( no RH/Debain/Unbuntu ) ,i wonder to > know if there is a way to port/install puppet-agent on it. As long as ruby is available for the OS you can install puppet also as gem. (gem install puppet

Re: [Puppet-dev] Re: pre-conf dinner and/or drinks

2014-09-19 Thread Martin Alfke
I will join after training class. @Ben: maybe we can go there together. On Sep 19, 2014 3:57 PM, "Ben Ford" wrote: > Those delivering or attending training classes won't be able to make 3pm. > But I'll see about bringing a group a little after 4:30 if you'll still be > around. > > On Fri, Sep 19