Re: [Puppet-dev] Facter returns IPv4 address for IPv6 when IPv6 is disabled

2017-10-09 Thread James Perry
Just some additional details I found when looking at the debug output versus the code blocks. I don't yet know how the code for facter in networking_resolver.cc (networking_resolver::read_routing_table() and networking_resolver::populate_from_routing_table) need to be modified. What I do see i

Re: [Puppet-dev] Facter returns IPv4 address for IPv6 when IPv6 is disabled

2017-10-05 Thread James Perry
#x27;ll be able to fix > things like this more quickly in the future. Unfortunately, I still can't > say for certain when we'll be able to prioritize this. > > On Thu, Oct 5, 2017 at 10:59 AM James Perry > wrote: > >> I was generating a report from Foreman us

Re: [Puppet-dev] Anyway to trigger cleanups when classes are removed from a host?

2017-10-05 Thread James Perry
On Thursday, October 5, 2017 at 1:45:59 PM UTC-4, Ryan Whitehurst wrote: > > On Thu, Oct 5, 2017 at 10:35 AM, James Perry > wrote: > >> I'm using the saz/sudoers as well and it removes, say ERPM10-20, when I >> remove the user from the host, exactly as expected.

[Puppet-dev] Facter returns IPv4 address for IPv6 when IPv6 is disabled

2017-10-05 Thread James Perry
I was generating a report from Foreman using the Hammer CLI to list my hosts for management on my Dev box. I started noticing that I wasn't seeing any IP addresses for SUSE 11 SP3. Thinking it was a OS specific issue, I checked my PROD environment that has a large number of SUSE 11 SP1 - SP4 be

Re: [Puppet-dev] Anyway to trigger cleanups when classes are removed from a host?

2017-10-05 Thread James Perry
I'm using the saz/sudoers as well and it removes, say ERPM10-20, when I remove the user from the host, exactly as expected. What doesn't happen is the user ERPM10-20 isn't removed from the server. Let me try to see if I can put it another way to make it clearer. Say I have ERPM01-01, ERPM01-22

Re: [Puppet-dev] Anyway to trigger cleanups when classes are removed from a host?

2017-10-04 Thread James Perry
Thanks Rob. > > As for reclassifying nodes that is a use case outside of what I'm trying to accomplish. Mostly I was trying to work more a scenario like the following: I have a set of restricted accounts for use with ERPM.on Linux. Each DBA is assigned a Linux local ERPM user that is the same

[Puppet-dev] Anyway to trigger cleanups when classes are removed from a host?

2017-10-04 Thread James Perry
Recently we have been changing out some software that was deployed via tarball extractions. Now we have a different app that deploys via RPM. To not break the legacy hosts where the new software doesn't we created a whole new class for deployments and setups on the new software. I've Googled, d

[Puppet-dev] Re: Rspec giving no implicit conversion of Hash into String for an array

2017-08-25 Thread James Perry
As an update to this odd issue, I did a puppet module generate to create a fresh directory setup and then copied in the the Puppet code, templates and spec files from the old one. Oddly it had no problems without any code modification that I can find anywhere. The same applies to using the PDK t

[Puppet-dev] Re: Rspec giving no implicit conversion of Hash into String for an array

2017-08-18 Thread James Perry
*Continued:* # /usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/functions/function.rb:45:in `call' # :2:in `block in call_function' # /usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/runtime3_support.rb:313:in `eval' # /usr/local/share/gems/gems

[Puppet-dev] Re: Rspec giving no implicit conversion of Hash into String for an array

2017-08-18 Thread James Perry
# Continued # /usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/functions/function.rb:45:in `call' # :2:in `block in call_function' # /usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/runtime3_support.rb:313:in `eval' # /usr/local/share/gems

[Puppet-dev] Re: Rspec giving no implicit conversion of Hash into String for an array

2017-08-18 Thread James Perry
So let me try this again. Here is the full init.pp and spec file being used. The setup is very simple. Likewise it does't matter if the *$sshd_hostkey_rhel_cent_7 *is setup as a smart parameter or set inside the module itself, the error "*Evaluation Error: Error while evaluating a Function C

[Puppet-dev] Re: Rspec giving no implicit conversion of Hash into String for an array

2017-08-18 Thread James Perry
So let me try this again. Here is the full init.pp and spec file being used. The setup is very simple. Likewise it does't matter if the *$sshd_hostkey_rhel_cent_7 *is setup as a smart parameter or set inside the module itself, the error "*Evaluation Error: Error while evaluating a Function C

[Puppet-dev] Rspec giving no implicit conversion of Hash into String for an array

2017-08-16 Thread James Perry
I am getting an odd error when running rake spec on my module. The functions work fine when setup in Puppet, but when I try to test it rspec is kicking out an error about my $myarr arrays. When I comment it out, the tests pass. What they heck does this error mean and why does it complain whe

[Puppet-dev] Most Spec tests fail if using fail('some error') to test with and_raise(Puppet::Error, /some error/)

2017-07-26 Thread James Perry
Can anyone assist my confusion on how to use is_expected.to compile.and_raise(Puppet::Error, /some error/)? I have a class where I have fail('some error') and it is only calls class ABC if parameters A=1, B=2, C=3, which I am using to test this functionality out. If I have fail('some error')

Re: [Puppet-dev] It is possible to mock / stub a local variable in the module being tested?

2017-07-26 Thread James Perry
:28:53 PM UTC-4, Ryan Whitehurst wrote: > > On Tue, Jul 25, 2017 at 3:15 PM, James Perry > wrote: > >> So I am over thinking it then. I'm taking fact values from a list of >> installed directories and removing the one matching the current version. >> This is b

Re: [Puppet-dev] It is possible to mock / stub a local variable in the module being tested?

2017-07-25 Thread James Perry
the tasks testing out fine. On Tuesday, July 25, 2017 at 5:59:50 PM UTC-4, Ryan Whitehurst wrote: > > On Tue, Jul 25, 2017 at 2:33 PM, James Perry > wrote: > >> I'm not sure if it can be done, but I am trying to test a case where I >> take an array of values and

[Puppet-dev] It is possible to mock / stub a local variable in the module being tested?

2017-07-25 Thread James Perry
I'm not sure if it can be done, but I am trying to test a case where I take an array of values and use stdlib's delete to remove one value before iterating over it. The class will fail if the removed value is present. That all works fine except I am trying to write an rspec for it. Nothing I ha

Re: [Puppet-dev] Puppet Rspec - Check against Catalogue Value

2017-07-25 Thread James Perry
Thanks David. Simple things seem more complex with RSpec than they should be. On Tuesday, July 25, 2017 at 6:14:55 AM UTC-4, David Schmitt wrote: > > > > On 25 July 2017 at 00:21, James Perry > > wrote: > >> So I have a simple class, for now, where I am trying

[Puppet-dev] Puppet Rspec - Check against Catalogue Value

2017-07-24 Thread James Perry
So I have a simple class, for now, where I am trying to write RSPEC tests to check the following: 1. Smart Parameter $current_version is in catalogue. 2. If $current_version = $installed_version (custom fact that will be stubbed as a :fact), that 'class foo' exits without doing anything. 3. if

Re: [Puppet-dev] Steps to build a Puppet 4 install in my home directory for building modules

2017-07-24 Thread James Perry
or simplicity. > > > Rob Nelson > rnel...@gmail.com > > On Mon, Jul 24, 2017 at 2:42 PM, James Perry > wrote: > >> Thanks. >>> >> >> I had looked at these but was missing something along the way. I now >> have what appears to b

Re: [Puppet-dev] Steps to build a Puppet 4 install in my home directory for building modules

2017-07-24 Thread James Perry
> > Thanks. > I had looked at these but was missing something along the way. I now have what appears to be a working setup and a *rake rspec* is now properly mocking and testing the modules. Now I just have to figure out why it isn't picking up the custom fact. That will require more RTFM

[Puppet-dev] Steps to build a Puppet 4 install in my home directory for building modules

2017-07-18 Thread James Perry
Years ago there were a lot of docs about how to setup Puppet to allow someone to build modules outside having to have a master/client setup using puppet apply. I am trying to figure out the very cryptic world of spec/rspec, as it seems to not be documented very well anywhere for anyone other t

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

2017-02-07 Thread James Perry
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 that the smart parameter was set? If they can be tested to be set I wo

[Puppet-dev] Building Puppet-Agent 1.8.0 from GIT

2016-11-21 Thread James Perry
I am trying to build a puppet-agent 1.8.x package for older SUSE 10.x, RHEL 4 and OEL 4. On the SUSE 10.3 I have a Puppet 3.8.7 agent running on Ruby 2.0. Wanting to have all of the servers running puppet-agent, I cloned the https://github.com/puppetlabs/puppet-agent repo and steps as define

Re: [Puppet-dev] Re: The Future of Puppet [Was: Deprecation logs]

2016-04-13 Thread James Turnbull
t's also still true. Kind Regards James Turnbull -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com.

Re: [Puppet-dev] Re: Idea: Deprecation logs

2016-04-10 Thread James Turnbull
on and prior to that by professional services and prior to that by Luke consulting and doing custom development. They'll always be a tension between what's open source and what's not, there'll always be different customers/users for both products but without that tension and those cust

Re: [Puppet-dev] Environment name transformation before it hits puppet

2015-05-07 Thread James Turnbull
Maksym Melnychok wrote: > Erik is right, that's exactly my problem - i want to be able to run > `puppet --environment invalid/env/name` and have puppet see it as > `invalid__env__name` > Then beyond a wrapper I don't have a good solution for you. Sorry. :( Regards Jame

Re: [Puppet-dev] Environment name transformation before it hits puppet

2015-05-04 Thread James Turnbull
> config) that > environment value is "some/git/branch" while puppet will see it internally > as "some__git__branch" > My reading of those docs is that r10k will rename the branch internally. Regards James Turnbull -- * The Art of Monitoring (http://artofmonitoring.com)

Re: [Puppet-dev] Environment name transformation before it hits puppet

2015-05-04 Thread James Turnbull
//github.com/puppetlabs/r10k/blob/master/doc/dynamic-environments.mkd Regards James Turnbull -- * The Art of Monitoring (http://artofmonitoring.com) * The Docker Book (http://dockerbook.com) * The LogStash Book (http://logstashbook.com) * Pro Puppet (http://tinyurl.com/ppuppet2 ) * Pro

Re: [Puppet-dev] Help with mocks / stubs on user provider

2015-01-14 Thread James Perry
Thanks for the pointers! That is the understanding I was missing and I will rework the code to rewrite it to get that working. On Wednesday, January 14, 2015 at 7:37:12 PM UTC-5, Michael Smith wrote: > > This is related to https://github.com/puppetlabs/puppet/pull/3443. > > The piece that's imp

[Puppet-dev] Help with mocks / stubs on user provider

2015-01-14 Thread James Perry
I am a bit stuck here with a modification to the HPUX user provider module. What I wrote works fine when running the rspec against it on HP-UX but fails everywhere else. Part of the problem I is that to find if the system is trusted I have to run a shell command. To get the modify command to

[Puppet-dev] Need some rspec and ruby assistance please.

2015-01-05 Thread James Perry
I am trying to add some functionality to the HP-UX user provider module. In the past I was able to submit changes that allowed it to check for trusted computing and find the password crypt properly. Unfortunately, even through the password was updated, HP-UX was not resetting the password age

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

2014-10-26 Thread James Turnbull
Luke Kanies wrote: On Oct 26, 2014, at 12:08 AM, James Turnbull wrote: Andy Parker wrote: the communication was done with PSON, which is a variant of JSON that has been in use in puppet since at least 2010. As far as I understand PSON started out as simply a vendored version of json_pure. The

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

2014-10-26 Thread James Turnbull
JSON, and so they needed to name it something different to stop that from happening (that is all hearsay, so I don't know how truthful it is). Ah... History. https://github.com/puppetlabs/puppet/commit/bca3b70437666a8b840af032cab20fc1ea4f18a2 Regards James -- * The Docker Book

Re: [Puppet-dev] Re: Lightweight PuppetDB replacement

2014-09-10 Thread James Turnbull
t software do > I not have issues with?) PuppetDB is some really great craftsmanship. > I'll be blunter than that: anyone who wants stored configs back fundamentally hates themselves. :) Regards James -- * The Docker Book (http://dockerbook.com) * The LogStash Book (http://logs

Re: [Puppet-dev] rspec-puppet and local variable values

2014-03-28 Thread James Sweeny
t;> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Trevor Vaughan > Vice President, Onyx Point, Inc > (410) 541-6699 > tvaug...@onyxpoint.com > > -- This account not approved for unencrypted proprietary information -- > &g

Re: [Puppet-dev] Re: The 4x scope

2014-03-17 Thread James Sweeny
h the > same name (e.g. by different versions of the same module) may exist in > different environments, but Puppet can only use one of them -- whichever > happens to get loaded first, IIRC. Qualified function names do not solve > this problem. > > > John > > https://jira

Re: [Puppet-dev] Rename post_resource_eval to post_catalog_eval?

2014-03-07 Thread James Sweeny
_ but rather all provider instances for a > given resource type. There may still be quite a bit of the catalog left to > evaluate when the hook fires. > > post_type_providers_eval maybe? > > > post_resources_eval as opposed to post_resource_eval? Is that too small a syntactic distin

Re: [Puppet-dev] Directory Environments

2014-02-21 Thread James Sweeny
nd save $350! > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-dev+unsubscr...@googlegroups.com. > To view this d

Re: [Puppet-dev] Tiering platform's and providers in puppet's core

2014-01-17 Thread James Turnbull
> I certainly agree with James' standpoint. However, as the set of people > at $work who commit to our internal puppet modules expands, I'm > constantly battling the vast amount of outdated information/tutorials on > the 'net. Keeping backwards compatibility with tuto

Re: [Puppet-dev] Tiering platform's and providers in puppet's core

2014-01-15 Thread James Turnbull
esoteric error :)) when they try to run a local .pp file or do a puppet resource then that's a big turn-off. Puppet's learning curve can be steep for many users. Let's not make it any harder. Cheers James -- * The Docker Book (http://dockerbook.com) * The LogStash Book (ht

[Puppet-dev] Hiera does not appear to expand variables to let it search subdirectories. e.g. - "%{::my_env}/common"

2013-09-11 Thread Steven James
Hi, I'm having some issues getting hiera to draw data from a subdirectory in it's hierarchy, I've set a custom fact to reveal what my working environment is. PE3.0.1 i.e. facter -p my_env shows "test" My hiera.yaml has an extract like the following; :hierarchy: - defaults - "%{::clientcer

[Puppet-dev] Setting up a load balanced pair of PE3 boxes, behind an HAProxy VIP

2013-09-11 Thread Steven James
A bit off topic for which I apologise, but I was wondering if there is a such a thing as a guide to setting up a pair of load balanced PE3 boxes behind an HAProxy server? Puppet Master, Console, CA, MCollective and PuppetDB roles. I know that we can only have one active console and CA. I also k

[Puppet-dev] Feature #6608 - PE dashboard being able to accommodate Puppet environments

2013-09-11 Thread Steven James
Hi All, We use Puppet environments fairly heavily, and I was wondering if the PE3 dashboard is able to accommodate this? I see this was a feature request a while back as above. I was wondering if there's been any progress on this one? http://projects.puppetlabs.com/issues/6608 Thanks, Steven

Re: [Puppet-dev] Module team update: 2013-07-07 - 2013-07-12

2013-07-12 Thread James Turnbull
it was a huge change shouldn't it be semantically versioned and up'ed to 1.x.x? Regards James -- James Turnbull 1-503-734-8571 To schedule a meeting with me: http://meetme.so/jamtur01 Join us at PuppetConf 2013 August 22-23 in San Francisco (http://bit.ly/pupconf13) -- You received thi

Re: [Puppet-dev] Puppet Dev Community Summary (2013-07-08)

2013-07-10 Thread James Turnbull
king forward at the week ahead rather than > the week behind and I think this is why I keep missing these. Cron job? :) James -- James Turnbull 1-503-734-8571 To schedule a meeting with me: http://meetme.so/jamtur01 Join us at PuppetConf 2013 August 22-23 in San Francisco (http://bit.ly/p

Re: [Puppet-dev] Puppet Language specification

2013-04-04 Thread James Turnbull
Puppet 33 1/3 > Puppet Reloaded > Puppet: New Moon Thematically questionable. :) The Great Puppet Caper Puppet Takes Manhattan The Puppet Christmas Carol Puppet Treasure Island Puppet from Space Puppet ... Again! Regards James -- James Turnbull 1-503-734-8571 To schedule a meeting with

Re: [Puppet-dev] Puppet planning for this week (March 25th, 2013)

2013-03-26 Thread James Turnbull
e commands. Does this include "official" support for multiple CAs and CA trust chains (a la http://projects.puppetlabs.com/issues/3143?) Regards James -- James Turnbull 1-503-734-8571 To schedule a meeting with me: http://meetme.so/jamtur01 Join us at PuppetConf 2013 August 22-23 in S

[Puppet-dev] Re: Inheriting defaults from a ::params class in a define type

2013-02-26 Thread James Polley
On Tuesday, 26 February 2013 00:47:29 UTC+11, llowder wrote: > > > > On Sunday, February 24, 2013 10:27:13 PM UTC-6, James Polley wrote: >> >> We're using ::params classes quite extensively to share values across all >> classes in a module: >> >>

[Puppet-dev] Inheriting defaults from a ::params class in a define type

2013-02-24 Thread James Polley
We're using ::params classes quite extensively to share values across all classes in a module: class myclass ( $param1 = $myclass::params::param1 ) inherits myclass::params { ... code ... } class myclass::subclass ( $param1 = $myclass::params::param1 ) inherits myclass::params { ... code ...

Re: [Puppet-dev] Travis CI for Puppet, Facter, Hiera and the standard library

2013-01-06 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Neat. This will make things a lot easier! I already see the little: "Build Status - passing" icon on the repositories - Puppet finished in 3 minutes 38.43 seconds 17282 examples, 0 failures, 82 pending. :) Thanks James - -- Author

Re: [Puppet-dev] file concat library

2012-12-17 Thread James Polley
What benefits does this offer over https://github.com/ripienaar/puppet-concat ? On Tue, Dec 18, 2012 at 3:00 PM, Richard Pijnenburg < richard.pijnenb...@gmail.com> wrote: > Hi all, > > I got a native file concat library which i believe could be very useful. > Current implementations of file con

Re: [Puppet-dev] Solaris processorcount fact - what to do

2012-12-16 Thread James Polley
On Mon, Dec 17, 2012 at 5:51 PM, Alex Harvey wrote: > > > On Monday, December 17, 2012 4:44:23 PM UTC+11, James Polley wrote: >> >> >> Because this change would be backwards-incompatible, SemVer requires that >> version with the fix increments the major version

Re: [Puppet-dev] Solaris processorcount fact - what to do

2012-12-16 Thread James Polley
On Mon, Dec 17, 2012 at 3:53 PM, Alex Harvey wrote: > > > On Tuesday, December 11, 2012 6:20:54 PM UTC+11, Josh Cooper wrote: > >> In cases were I find a Windows fact is wrong, e.g. architecture[2], >> domain[3], I've taken the route that it's better to fix the bug and >> make it consistent with

Re: [Puppet-dev] New community committer to Puppet Dashboard

2012-12-12 Thread James Turnbull
bringing some new energy to the Dashboard! My > rails3 branch is here: http://github.com/sodabrew/puppet-dashboard > Congratulations and welcome Aaron! Excited to see someone take on Puppet Dashboard! Regards James -- James Turnbull 1-503-734-8571 To schedule a meeting with me: http:/

Re: [Puppet-dev] Fwd: Adding users (in hiera) to multiple groups fails for OEL 5 and OEL 6

2012-12-05 Thread James Polley
To more verbosely explain what Aaron was so tersely implying, your problem is that the error message says that "Group names must be provided as an array" When you provide them as: stephen: uid: 1003 gid: stephen groups: - *dip ftp lock* * * you're not providing them as an array, so

[Puppet-dev] Passenger needed in Puppet Server 3.0?

2012-11-27 Thread Dominic James
Question: on my current puppet setup 2.7.3-0 rhel 6.2 centos - passenger is used to provide the throughput for the heavy delivery that puppet could not do by itself, was this fix in version 3.0 puppet? I will be upgrading to 3.0 and will like puppet master to push to multiple of clients without

Re: [Puppet-dev] Puppet Network Devices...

2012-11-13 Thread James Turnbull
s pushed Yeah this is Nigel being sick, me being on AEST and Dawn being on the road and others being flat out. We'll expand the pool a bit more to make sure we don't have things in moderation for too long! Sorry! James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting wi

Re: [Puppet-dev] Facter 1.7

2012-11-05 Thread James Turnbull
.html I think the caching ran into some bug troubles but Ken Barber or perhaps Adrien Thebo could probably weigh in on its status? Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://doodle.com/jamtur01 -- You received this message because you

[Puppet-dev] Introducing our new Community Manager - Dawn Foster

2012-10-02 Thread James Turnbull
Puppet and the community more awesome. Please make Dawn welcome! Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" gr

Re: [Puppet-dev] Comparing new Fact values to previous ones

2012-08-26 Thread James Turnbull
as JSON and allowed SNMP queries - it was pre-GH so buggered if I can find the code now but it'd be pretty easy to recreate. Regards James Turnbull -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because yo

[Puppet-dev] Community Manager @ Puppet Labs

2012-08-20 Thread James Turnbull
hear from people in the Puppet community itself with interest in the role or please pass on the details if you know someone who you think will be great! Feel free to email any questions to me and the link to apply is here: http://bit.ly/SdaCHL Regards James -- James Turnbull Puppet Labs 1-50

Re: [Puppet-dev] Puppet Indirector

2012-08-10 Thread James Turnbull
g to add or change about the indirector? Perhaps there is some code we can point you at? Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Puppe

Re: [Puppet-dev] Various compiler performance patches

2012-07-04 Thread James Turnbull
merge IMHO. But I'm always overly excited about things that make Puppet faster... :) Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Pupp

Re: [Puppet-dev] Various compiler performance patches

2012-07-03 Thread James Turnbull
s to help PL dev team to produce a more performant puppet >> compiler in the future, and I hope those patches could be a good start :) > > You're awesome Brice. :) +2! James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01

Re: [Puppet-dev] useradd: manages_passwords gone missing?

2012-06-28 Thread James Turnbull
Nigel Kersten wrote: > > Doh! I know there was a wider discussion around not relying upon tools > like useradd at all on Linux for user management, and I think there > may have been a ticket on this already. I remember the discussion but I don't think there was a ticket

Re: [Puppet-dev] useradd: manages_passwords gone missing?

2012-06-27 Thread James Turnbull
ly available on a particular > system. I would guess that accurately doing the first might be more > important than being able to also do the second, but I might be wrong. Agreed. This isn't the first time this has bitten us and we've indeed conflated the docs generation and the

[Puppet-dev] Re: [Puppet Users] Announce: Puppet 2.7.16 Available

2012-06-14 Thread James Turnbull
Repos should be back working now. Temporary glitch. Regards James On Jun 14, 2012 12:08 PM, "Jo Rhett" wrote: > On Jun 13, 2012, at 2:52 PM, Matthaus Litteken wrote: > > RPMs are available at https://yum.puppetlabs.com/el or /fedora > > > https doesn't se

Re: [Puppet-dev] Re: [Puppet Users] Announcing Razor

2012-05-24 Thread James Turnbull
open source and is just reusing something based on busybox. He's going to source the code and make sure it's published too. We're not trying to hide - it just slipped through the cracks I think. :) James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me:

Re: [Puppet-dev] Re: [Puppet Users] Announcing Razor

2012-05-24 Thread James Turnbull
Stephen Johnson wrote: > From what i can tell its basically a hacked version of tinycore with a > few ruby scripts and gems laid on top. > It's a big more sophisticated than that IMHO :) The policy and state are particularly exciting to me. Regards James Turnbull -- James T

[Puppet-dev] Announcing Razor

2012-05-23 Thread James Turnbull
, takes you through the history, background and workflow of Razor: http://nickapedia.com/2012/05/21/lex-parsimoniae-cloud-provisioning-with-a-razor/ And finally - being open source - you can find the code at: https://github.com/puppetlabs/Razor Regards James Turnbull -- James Turnbull Puppet

[Puppet-dev] Projects.puppetlabs.com outage 5/22/2012

2012-05-22 Thread James Turnbull
Hi all Due to some required maintenance our provider is doing the Redmine projects site will be down from 6.00PM PST to 6.30PM PST tonight (5/22/2012). We apologize for the inconvenience and the short notice. If you have any questions or concerns please contact me. Thanks James Turnbull

Re: [Puppet-dev] Trying to isolate performance issues with config retrieval.

2012-05-15 Thread James Turnbull
Brice Figureau wrote: > On Tue, 2012-05-15 at 00:43 -0700, James Turnbull wrote: >>>> Just getting rid of that yaml serialization -- or switching to JSON -- >>>> would make a huge difference. >>>> >>> I'll sound like a broken record, but that&

Re: [Puppet-dev] Trying to isolate performance issues with config retrieval.

2012-05-15 Thread James Turnbull
s/2892 > Didn't that get supplanted by: https://projects.puppetlabs.com/issues/3714 James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Puppet De

Re: [Puppet-dev] Trying to isolate performance issues with config retrieval.

2012-05-10 Thread James Turnbull
have 4 puppetmasters >> currently so it's easy to target just a few and not the rest >> for comparisons). > > On that note: After spending a few hours hunting yesterday, we > identified the cause of a significant performance regression in > compilation when using m

Re: [Puppet-dev] here is new resource type sysprop v1.0

2012-05-08 Thread James Turnbull
t; latest, } package { "puppet-module": ensure => latest, provider => gem, require => Package["rubygems"], } Still easy. Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message

Re: [Puppet-dev] here is new resource type sysprop v1.0

2012-05-08 Thread James Turnbull
ly it's not - packages work and are the recommended way anyone should manage things like this: $ yum/apt install ruby rubygems $ gem install puppet-module Installing from source IMHO just doesn't scale. Our even better: package { [ "ruby", "rubygems" ]: ensure =

Re: [Puppet-dev] Changes to variable scoping in Telly

2012-04-17 Thread James Turnbull
nd shouldnt > be there. > Whilst I'm not so keen on the @facts syntax I agree with RI. We already have magic variables (which have changed their magical properties several times since my involvement with the project) we don't need anymore magic. James -- James Turnbull Puppe

Re: [Puppet-dev] Taking github noise away from puppet-dev list

2012-04-12 Thread James Turnbull
o segment/split the conversation... James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group,

Re: [Puppet-dev] (puppetlabs/puppet) Ticket/master/2244 plugin mount works with empty directory

2012-02-01 Thread James Turnbull
cially fixes that error since it's not called out in the commit or the ticket. That way people searching for that error will fix this commit and fixed release. James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received t

Re: [Puppet-dev] (puppetlabs/puppet) Ticket/master/2244 plugin mount works with empty directory

2012-02-01 Thread James Turnbull
on so it appears empty. There is a change in user experience here right? The error: "debug: No plugins mount given; autocreating with default permissions" or whatever it is now won't appear right? Shouldn't this be explained in the commit message? Regards James -- James

Re: [Puppet-dev] Pre and post certificate command hooks

2012-02-01 Thread James Turnbull
cal needs. > > Having spent some time writing different transaction auditing for Puppet > I really wanted this to be more generic. > > So I like this as a single outcome but wished we had much more > Ditto - I've always liked the pre/post run commands and would love a

[Puppet-dev] Triage-a-thon - 1/21/2012

2012-01-20 Thread James Turnbull
and announcing progress on Twitter via the @puppetlabs account. For instructions and information on the event see: http://projects.puppetlabs.com/projects/puppet/wiki/Triageathon If you have any questions or issues or need help please don't hesitate to get in touch! Thanks James -- J

Re: [Puppet-dev] Puppet Triage-A-Thon

2012-01-12 Thread James Turnbull
Eric Sorenson wrote: > On Jan 12, 2012, at 10:10 AM, James Turnbull wrote: > >> Weird. Works fine for me with FF and Chrome on Lion. >> >> I've asked Jose to take a look. >> > Yeah I downloaded firefox and it worked -- that pulldown has an ordinal > list

Re: [Puppet-dev] Puppet Triage-A-Thon

2012-01-12 Thread James Turnbull
Weird. Works fine for me with FF and Chrome on Lion. I've asked Jose to take a look. Thanks James On Jan 12, 2012 10:07 AM, "Eric Sorenson" wrote: > On Jan 9, 2012, at 11:36 PM, James Turnbull wrote: > > > You can register for the event here: > > http://tria

Re: [Puppet-dev] Puppet Triage-A-Thon

2012-01-10 Thread James Turnbull
Eric Sorenson wrote: > I'm in, assuming there's functional internet somewhere in Cabo San Lucas :) Lucky bastard :) I'll send you a 3G hotspot :P Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01

[Puppet-dev] Puppet Triage-A-Thon

2012-01-09 Thread James Turnbull
://triagepuppet.eventbrite.com/?ref=ebtn. We hope you'll be interested in attending and helping us make Puppet better. Thanks James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google G

Re: [Puppet-dev] Interest in jruby specific tickets for facter/puppet?

2012-01-09 Thread James Turnbull
tibility. +1 from me. :) James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@g

Re: [Puppet Users] Re: [Puppet-dev] Re: When the lint accumulates...

2011-12-20 Thread James Turnbull
ll my files in /etc/puppet/manifests or modules and pipe all the .pp files through puppet-lint. Regards James Turnbull -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Gro

Re: [Puppet Users] Re: [Puppet-dev] Re: When the lint accumulates...

2011-12-20 Thread James Turnbull
Walter Heck wrote: > > > On 2011-19-12 21:00, James Turnbull wrote: > > So what can you do to help? Well firstly help us identify > any syntax, > language constructions, structures etc that have caused > issues

[Puppet-dev] When the lint accumulates...

2011-12-19 Thread James Turnbull
issues like this. * Send me or the list snippets of Puppet code that cause issues and the output/issue they result in. We'll also look at tracking as many of these as possible and where relevant update the Style Guide with them too. Cheers James -- James Turnbull Puppet Labs 1-503-734-8571 To

Re: Request status (was Re: [Puppet-dev] (puppetlabs/puppet) Closed pull request: Add pkgin package provider)

2011-12-14 Thread James Turnbull
James Turnbull wrote: > wearetherob...@puppetlabs.com wrote: >> On Wed Dec 14 21:48:38 UTC 2011 pull request #199 was closed. >> >> Add pkgin package provider >> <https://github.com/puppetlabs/puppet/pull/199> requested by (mudge) >> > > It'd be

Request status (was Re: [Puppet-dev] (puppetlabs/puppet) Closed pull request: Add pkgin package provider)

2011-12-14 Thread James Turnbull
ast comment on the request - that way we'd know WHY it was closed - especially in cases like this when it wasn't just cleanly merged. Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message beca

[Puppet-dev] Re: [Puppet Users] Announce: Puppet 2.7.8 Available

2011-12-08 Thread James Turnbull
run they become suitable This is awesome. So thrilled about this change. +10 good karma to Nick Lewis and the Engineering folks... :) Cheers James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are su

[Puppet-dev] Re: [Puppet Users] Announce: Puppet 2.6.13rc1 Available

2011-12-07 Thread James Turnbull
ready in RC. Regards James Turnbull -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to

Re: [Puppet-dev] Writing classes.txt during puppet apply

2011-12-07 Thread James Turnbull
reducing option sprawl, I think it's > the right direction. > +1. James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Puppet Developers&qu

Re: [Puppet-dev] need help w/ puppet error when running against my sandbox environment

2011-12-07 Thread James Turnbull
ve catalog from remote server: Error 400 on > SERVER: Could not find class services at /etc/puppet/manifests/site.pp: > 10 on node m0009477.lab.ppops.net > > > Any idea where I should be looking? (I will also check out the book > Pro Puppet by James Turnbull also to see if I can get

[Puppet-dev] Now PMT is a face...

2011-12-06 Thread James Turnbull
It occurred to me that now PMT is a face and because I like turtles we could easily create a package provider for Forge modules: package { "puppetlabs-stdlib": ensure => latest, } I logged a ticket: http://projects.puppetlabs.com/issues/11209 Discussing the idea. Cheers Jame

Re: [Puppet-dev] (puppetlabs/puppet) New pull request: maint/2.7.x - the little indirector cleanup that didn't

2011-12-05 Thread James Turnbull
> model classes, and to ensure that we have less ways to do the same thing > overall. > So if I can summarize? You now don't need to add the extra .indirection method when calling the Indirector that you suddenly had to using 2.7? Is that correct? James -- James Turnbull Puppet L

Re: [Puppet-dev] (puppetlabs/puppet) New pull request: Bug/2.7.x/11057 debug output enhancement

2011-11-28 Thread James Turnbull
/lib/puppet/agent.rb > +++ b/lib/puppet/agent.rb > @@ -46,7 +46,7 @@ class Puppet::Agent >end >true > end > -Puppet.notice "Shutdown/restart in progress; skipping run" unless > block_run > +Puppet.notice "Shutdown/restart in

  1   2   3   4   5   6   7   8   9   10   >