Re: [Puppet-dev] Puppet Dev Status -- week ending Feb 21

2015-02-24 Thread Wil Cooley
On Mon, Feb 23, 2015 at 2:17 PM, Jeff McCune wrote: > On Sun, Feb 22, 2015 at 12:08 PM, Trevor Vaughan > wrote: > >> Yes please. Moving this out of $vardir/ssl will be quite irritating to >> teach existing users about the new product usage. >> > > Even if we kept it in $vardir/ssl, this would me

Re: [Puppet-dev] Thoughts on Module Namespace Conflicts

2015-02-20 Thread Wil Cooley
On Mon, Feb 9, 2015 at 4:23 PM, Trevor Vaughan wrote: > I was talking with a few folks today about potential resolutions to module > namespace issues. > > == Fundamental Issue == > > puppetlabs_apache -- Installs To --> apache > example42_apache -- Installs To --> apache > theforeman_apache -- In

Re: [Puppet-dev] rspec and hiera lookup within puppet functions

2015-02-19 Thread Wil Cooley
On Fri, Jan 30, 2015 at 4:23 AM, Remi Ferrand < remi.mathieu.ferr...@gmail.com> wrote: I want to use hiera as described in > https://github.com/rodjek/rspec-puppet/tree/v2.0.0#hiera-integration. > This mean: > >- I want to provide a hierarchy >- I want hiera to use my custom configuration

Re: [Puppet-dev] rspec-puppet issues under Ruby 2

2014-12-03 Thread Wil Cooley
On Tue, Dec 2, 2014 at 12:15 PM, Jeff McCune wrote: > I plan to release rspec-puppet 1.1.0 today as per the discussion at >> https://github.com/rodjek/rspec-puppet/issues/213 >> > > > Scratch that, looks like Tim is the only person who can push new releases > to rubygems.org. I've tagged the re

Re: [Puppet-dev] Use of private in module skeleton

2014-11-22 Thread Wil Cooley
On Nov 22, 2014 4:22 AM, "Gareth Rushgrove" wrote: > I'd love some feedback on this PR, which adds the private function to > the puppet-module-skeleton that a bunch of people use. > > https://github.com/garethr/puppet-module-skeleton/pull/43 ... > And I'm on the fence too. Any thoughts? As a ge

Re: [Puppet-dev] How to run tests on custom report parser

2014-11-07 Thread Wil Cooley
On Nov 4, 2014 6:32 AM, "tracyde" wrote: > > I am new to ruby development and want to integrate my report parser with TravisCI. I have read articles and blog posts on how to integrate Puppet modules with rspec, puppet-lint, and travisci but those are not directly applicable to modules that do noth

Re: [Puppet-dev] Switching from YAML and PSON to JSON

2014-10-24 Thread Wil Cooley
On Fri, Oct 24, 2014 at 10:25 AM, Andy Parker wrote: > Pretty printing introduces a significant overhead. On a test catalog that > we have (the one produced by our many_modules benchmark) it increases the > space needed by 52% (JSON.pretty_generate(p).size == 141065 and > JSON.generate(p).size =

Re: [Puppet-dev] Switching from YAML and PSON to JSON

2014-10-24 Thread Wil Cooley
On Oct 23, 2014 5:04 PM, "Andy Parker" wrote: > > So what all would be changing? ... > 2. YAML files that the master and agent write would move to JSON (node, facts, last_run_summary, state, etc.). Please store these pretty-printed rather than minimized - one long, unindented line of JSON is pr

Re: [Puppet-dev] Facter version guarantees

2014-08-29 Thread Wil Cooley
On Fri, Aug 29, 2014 at 2:11 PM, Kylo Ginsberg wrote: > There are a couple really good issues here, and I'm torn on the answers: > > 1) While semver clearly applies to the Facter *API*, I'm not sure if it > provides guidance on Facter *values*. Yes, on the one hand, I could argue > that the valu

Re: [Puppet-dev] Announce: nightly repos available

2014-08-29 Thread Wil Cooley
On Fri, Aug 29, 2014 at 9:17 AM, Dominic Cleal wrote: Another useful addition would be the Puppet gem, as Facter's is already > there. I've got another battery of tests that could be run against it. > I was just going to request that too; it would make testing within an RVM gemset on a non-disp

Re: [Puppet-dev] Re: Replacement for puppet doc

2014-08-12 Thread Wil Cooley
On Aug 12, 2014 1:00 PM, "Daniele Sluijters" wrote: > > Please don't use `dox`. It's like a teenager who wasn't taught enough English in school, or simply doesn't care, to know that the accepted plural of doc is docs, not dox, dawg. I have to agree, if for a different reason -- "dox" has taken on

Re: [Puppet-dev] Replacement for puppet doc

2014-08-09 Thread Wil Cooley
On Aug 8, 2014 5:15 PM, "Hailee Kenney" wrote: > > Right now, Charlie Sharpsteen has an awesome prototype which uses YARDoc instead of RDoc. I see that "YARD does not impose a specific markup"[1] and I cannot tell from Charlie's prototype which markup is intended -- I would hope that one of them

Re: [Puppet-dev] Re: Decision: Near future of resource expressions

2014-08-06 Thread Wil Cooley
On Wed, Aug 6, 2014 at 1:30 PM, Henrik Lindberg < henrik.lindb...@cloudsmith.com> wrote: > $extra_opts = { $ssl => true, ... } >> > > I assume you mean {ssl => true, ...}, and not the value of a variable $ssl > ? Yes, sorry > > apache::vhost { ... >>ssl => undef, >>a

Re: [Puppet-dev] Re: Decision: Near future of resource expressions

2014-08-06 Thread Wil Cooley
On Aug 5, 2014 6:41 PM, "Reid Vandewiele" wrote: > Example 1 (assuming behavior whereinmerging is OK, and that explicit parameter specification takes precedence): > > apache::vhost { $servername: > port => $port, > ssl => $ssl, > attribute_defaults => $extra_opts, > } Assuming that the se

Re: [Puppet-dev] PR hiera/137 - recursive hiera data item lookups

2013-07-08 Thread Wil Cooley
On Tue, Jul 2, 2013 at 3:27 PM, Eric Sorenson wrote: > - Reading through Wil's example is really interesting because it also > touches on module reusability and module APIs. Are others on the thread in a > similar situation, where you need to compose/abstract common config > parameters to reduce

Re: [Puppet-dev] PR hiera/137 - recursive hiera data item lookups

2013-06-26 Thread Wil Cooley
+1 for the feature; I like Jeff's idea about using the existing sigil, although I like Henrik's nested-function-like suggestion. I think there is a particular case for this when it comes to lazy/busy sysadmins integrating 3rd party modules from Puppet Forge (and for encouraging writing internal mo

Re: [Puppet-dev] Kerberos authentication

2013-06-11 Thread Wil Cooley
On Jun 5, 2013 12:18 PM, "Trevor Vaughan" wrote: > > Given that you're going to be using client certs for encryption, why would you bother with Kerberos authentication? This is what I was wondering as I read this too. One benefit I could see (but at a much smaller scoped project) is the ability t

Re: [Puppet-dev] Re: Performance regression between 3.2.1-rc1 and 3.1.1?

2013-05-22 Thread Wil Cooley
On Wed, May 22, 2013 at 10:10 AM, Charlie Sharpsteen wrote: > Thanks a bunch for the info Wil! One additional question: What is the > hostname that Ruby is using to perform the lookup? I.E., what is the return > value of: > > ruby -rsocket -e 'puts Socket.gethostname' Regardless of which stat

Re: [Puppet-dev] Re: Performance regression between 3.2.1-rc1 and 3.1.1?

2013-05-21 Thread Wil Cooley
On Tue, May 21, 2013 at 9:53 AM, Charlie Sharpsteen wrote: > Could you provide a bit more information on what the entry in your /etc/hosts > file looked like? It would be interesting to reproduce this behavior and see > if everything is functioning as intended. Sure; in my /etc/hosts I had th

[Puppet-dev] Re: Performance regression between 3.2.1-rc1 and 3.1.1?

2013-05-20 Thread Wil Cooley
On Mon, May 20, 2013 at 10:22 PM, Wil Cooley wrote: > I am noticing a ~10s slow down with 3.2.1-rc1 running 'puppet apply' with > a manifest that is a single notice() function. > After realizing that even 'puppet --version' took ~10s, I ran the ruby profiler, noti

[Puppet-dev] Performance regression between 3.2.1-rc1 and 3.1.1?

2013-05-20 Thread Wil Cooley
I am noticing a ~10s slow down with 3.2.1-rc1 running 'puppet apply' with a manifest that is a single notice() function. I think I noticed it first w/'puppet resource' and maybe also with other sub-commands. This slow down might be just statistical noise in runs with a non-trivial manifest, but it'

Re: [Puppet-dev] Puppet logo for community projects?

2013-01-30 Thread Wil Cooley
On Tue, Jan 29, 2013 at 4:29 PM, Randall Hansen wrote: > Wil, did we ever solve this for you? I am going to write to marketing@ per Nan's advice, unfortunately I've been putting out fires (literally and figuratively). In fact, I'm going to do that right now. Thanks Randall! Wil -- You receive

[Puppet-dev] Puppet logo for community projects?

2013-01-18 Thread Wil Cooley
I am working on an open-source Puppet-centric web application and would like to display some sort of Puppet-related logo. Right now I'm using the main Puppet Labs logo from the web site, but that's not really appropriate since my app is not actually a PL product (not to mention trademark issues).