[Puppet Users] Reporting for masterless Puppet?

2012-12-20 Thread Mitchell Hashimoto
Hi, A lazy google search brings up nothing definitive, so I ask the mailing list: Does reporting work with masterless Puppet? Can it be enabled? Best, Mitchell -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email

Re: [Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-18 Thread Mitchell Hashimoto
On Tue, Sep 18, 2012 at 1:46 PM, Jeff McCune wrote: > On Tue, Sep 18, 2012 at 10:15 AM, Mitchell Hashimoto < > mitchell.hashim...@gmail.com> wrote: > >> Thanks! This looks like basically what I was planning on doing, so it is >> good to see that this works. >> &g

Re: [Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-18 Thread Mitchell Hashimoto
Jeff, On Tue, Sep 18, 2012 at 10:02 AM, Jeff McCune wrote: > On Fri, Sep 14, 2012 at 4:48 PM, Mitchell Hashimoto < > mitchell.hashim...@gmail.com> wrote: > >> Hi, >> >> I'd like to DRY up some of my Puppet lib code and wanted to put helper >> class

[Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-14 Thread Mitchell Hashimoto
Hi, I'd like to DRY up some of my Puppet lib code and wanted to put helper classes in other parts of the "lib/" folder in my plugin. What is the best way to access these files? I can think of various ways that may be considered hacks but wanted to know if there was a preferred way. Best, Mitchel

[Puppet Users] Calling custom Puppet function from within a provider

2012-08-14 Thread Mitchell Hashimoto
Hello, I have a custom Puppet function. Am I able to call that function from within my custom provider (written in Ruby)? Best, Mitchell -- 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@googlegr

Re: [Puppet Users] Testing Hiera Lookup with Puppet Master

2012-08-14 Thread Mitchell Hashimoto
On Tuesday, August 14, 2012 12:34:45 PM UTC-7, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Mitchell Hashimoto" > > > To: puppet...@googlegroups.com > > Sent: Tuesday, August 14, 2012 12:13:19 PM > > Subject: [Pupp

[Puppet Users] Testing Hiera Lookup with Puppet Master

2012-08-14 Thread Mitchell Hashimoto
Hello, Is there an easy way to test hiera lookup for a node? A node is not getting the value I expect from Hiera and I want a way to test this. I noticed that `hiera` has an option called `-i` to use the Puppet inventory service. With the latest (RC4 I believe) of Hiera I'm getting the following

Re: [Puppet Users] Re: What data to restore an existing Puppet Master?

2012-08-01 Thread Mitchell Hashimoto
On Wed, Aug 1, 2012 at 3:35 PM, Nick Fagerlund < nick.fagerl...@puppetlabs.com> wrote: > Hey, Mitchell, > > HMM. Sounds like the docs team needs to get on this. > > (<-- is 1/2 the docs team) > > I'm going to name some special directory or file names below. These are > all puppet config settings,

[Puppet Users] What data to restore an existing Puppet Master?

2012-07-31 Thread Mitchell Hashimoto
I'm planning some disaster scenarios for our Puppet master, and was curious what data needs to be restored if I need to rebuild a Puppet master from scratch? i.e. what needs to be backed up? Are all necessary certs in `/var/lib/puppet/ssl`. Should that whole directory get backed up? Or only certai

[Puppet Users] Atomicity of updates on the Puppet master

2012-07-29 Thread Mitchell Hashimoto
Hello, I'm currently setting up some scripts that will pull in new data for Puppet master (modules, manifests, hiera data, etc.) from a Git repository. It works great! However, I'm concerned about atomicity of the whole thing. Does the Puppet master cache the modules/manifests when it starts? If