Re: [Puppet Users] inherited roles

2014-06-04 Thread Stuart Cracraft
and roll it up to the equivalent of chef roles. But it looks clumsy. Comments? On Jun 04, 2014, at 04:19 PM, Robin Bowes wrote: What do you mean by "inherited roles"? R. On 4 June 2014 23:02, Stuart Cracraft wrote: What's the best way to do inherited roles for servers?

[Puppet Users] inherited roles

2014-06-04 Thread Stuart Cracraft
What's the best way to do inherited roles for servers? chef seems to excel at this whereas in Puppet it is wordy (at best). -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [Puppet Users] dashed by dashboard

2014-01-08 Thread Stuart Cracraft
Thanks Sam. > On Jan 7, 2014, at 1:58 AM, Sam Kottler wrote: > > > > >> On Mon, Jan 6, 2014 at 8:51 PM, Stuart Cracraft wrote: >> Okay, took care of that. Thanks. >> >> Now, when doing per page 170 in chapter 7 (chapter puppet consoles) in

Re: [Puppet Users] "the Foreman" in Pro Puppet, 2nd edition

2014-01-06 Thread Stuart Cracraft
Have subscribed and posted. On Monday, January 6, 2014 1:05:58 PM UTC-8, jmslagle wrote: > Maybe try the foreman mailing list? > > Thanks, > > Jason > > On 01/06/2014 04:02 PM, Stuart Cracraft wrote: > > Chapter 7 explains after installing Foreman

[Puppet Users] "the Foreman" in Pro Puppet, 2nd edition

2014-01-06 Thread Stuart Cracraft
Chapter 7 explains after installing Foreman that to start the installer: ruby /usr/share/foreman-installer/generate_answers.rb is necessary. But the generate_answers.rb file isn't there. yum list | grep foreman | head -2 shows foreman-installer.noarch 1:1.3.1-1.el6 @foreman foreman-rele

Re: [Puppet Users] dashed by dashboard

2014-01-06 Thread Stuart Cracraft
Okay, took care of that. Thanks. Now, when doing per page 170 in chapter 7 (chapter puppet consoles) in Pro Puppet by Krum et al, I have: ruby /usr/share/foreman-installer/generate_answers.rb but it does not have a file generate_answers.rb anywhere in the /usr/share/foreman-installer tree. H

Re: [Puppet Users] dashed by dashboard

2014-01-06 Thread Stuart Cracraft
st-client) >= 1.6.1 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # On Monday, December 30, 2013 3:22:07 PM UTC-8, Stuart Cracraft wrote: > I would take any reasonable console > as long as it has a very visual operatio

Re: [Puppet Users] external node classifier with a back-end

2013-12-31 Thread Stuart Cracraft
e as code to look at only, I wouldn't expect you to get it > installed and running without some serious Python knowledge. > > -Jason > > On 12/06/2013 12:59 PM, Stuart Cracraft wrote: >> HI Jason, >> >> No I have no hesitations at all and yes, I would enjoy s

Re: [Puppet Users] dashed by dashboard

2013-12-30 Thread Stuart Cracraft
I would take any reasonable console as long as it has a very visual operation and is trivial to install. Dashboard definitely is not the latter in my 'umble opinion. On Dec 30, 2013, at 3:17 PM, Felix Frank wrote: >>> 3. What can you rule out as possible causes by now? >> >> ++ While I appr

Re: [Puppet Users] puppet 3.3.2 with ruby 2.1.0

2013-12-27 Thread Stuart Cracraft
system ruby load path. > For custom ruby use, the 3 main options are install from source, > install from a gem, or roll your own native package with the correct > pathing for the updated ruby's load path. > >> On Fri, Dec 27, 2013 at 3:12 PM, Stuart Cracraft >> wro

Re: [Puppet Users] puppet 3.3.2 with ruby 2.1.0

2013-12-27 Thread Stuart Cracraft
're trying out? > > On Fri, Dec 27, 2013 at 2:59 PM, Stuart Cracraft > > > wrote: > > Tried ruby 2.0.0 but same: > > > > # /etc/init.d/puppetmaster start > > > > Starting puppetmaster: > > /usr/local/lib/ruby/2.0.0/rubygems/core_ext

Re: [Puppet Users] puppet 3.3.2 with ruby 2.1.0

2013-12-27 Thread Stuart Cracraft
Tried ruby 2.0.0 but same: # /etc/init.d/puppetmaster start Starting puppetmaster: /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require': cannot load such file -- pupp\ et/util/command_line (LoadError) from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_re

[Puppet Users] puppet 3.3.2 with ruby 2.1.0

2013-12-27 Thread Stuart Cracraft
Has anyone else seen this? ruby is 2.1.0 and puppet is 3.3.2. # /etc/init.d/puppetmaster start Starting puppetmaster: /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- puppet/util/command_line (LoadError) from /usr/local/lib/

[Puppet Users] Re: ruby visual debuggers/ide's for Linux

2013-12-26 Thread Stuart Cracraft
consists of: open emacs visit the .rb source file do meta-x (i.e. escape-key) and then rdebug window splits. type help. Commands include step, next, print, break, etc. Stuart P.S. I prefer Emacs to GUI editors other than Xcode. OnTuesday, December 24, 2013 3:21:48 PM UTC-8, Stuart C

[Puppet Users] book

2013-12-26 Thread Stuart Cracraft
I'm about 20% through my first reading of Pro Puppet, 2nd Edition. It has great examples, is simply written and has clearly been well-edited. You would be well-advised to snap up a copy and commence in-depth. -- You received this message because you are subscribed to the Google Groups "Pupp

Re: [Puppet Users] ruby visual debuggers/ide's for Linux

2013-12-26 Thread Stuart Cracraft
gt; > Grts > > Johan > > > > On 12/25/2013 12:21 AM, Stuart Cracraft wrote: > > Hi, > > > > Is there a plain-text visual debugger ide for Linux for Ruby anyone > > can mention? > > > > Stuart > > > > -- > > You received

[Puppet Users] Re: ruby visual debuggers/ide's for Linux

2013-12-26 Thread Stuart Cracraft
esday, December 24, 2013 11:21:48 PM UTC, Stuart Cracraft wrote: >> >> Hi, >> >> Is there a plain-text visual debugger ide for Linux for Ruby anyone can >> mention? >> >> Stuart >> >> -- You received this message because you are subscribed to the

Re: [Puppet Users] dashed by dashboard

2013-12-25 Thread Stuart Cracraft
"nothing", you jumped the gun by posting. > > There may be other aspects that don't spring to my mind right now. I > recommend reviewing the community guideline. ++ Be glad to. Where is it posted? > > On 12/24/2013 08:15 PM, Stuart Cracraft wrote: >> Thoughts

Re: [Puppet Users] ruby visual debuggers/ide's for Linux

2013-12-25 Thread Stuart Cracraft
asking about a Ruby IDE, not a Puppet IDE, perhaps this question > would be better asked of a Ruby list, or even better, a search engine... > > On 12/24/2013 06:21 PM, Stuart Cracraft wrote: >> Hi, >> >> Is there a plain-text visual debugger ide for Linux for Ruby anyon

[Puppet Users] ruby visual debuggers/ide's for Linux

2013-12-24 Thread Stuart Cracraft
Hi, Is there a plain-text visual debugger ide for Linux for Ruby anyone can mention? Stuart -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsub

[Puppet Users] Re: Access denied for user 'dashboard'@'localhost' to database 'dashboard_production'

2013-12-24 Thread Stuart Cracraft
This is helpful. On Friday, July 6, 2012 2:08:53 PM UTC-7, Hai wrote: > followed the instruction for installing dashboard, and created user > > mysql -pmy_password -e "CREATE DATABASE dashboard CHARACTER SET > utf8;CREATE USER 'dashboard'@'localhost' IDENTIFIED BY 'my_password'; GRANT > ALL PRI

Re: [Puppet Users] Re: Puppet Pro, 2nd edition - status directly from APress

2013-12-24 Thread Stuart Cracraft
to get a > hard-copy of the book :) > > Krum, Spencer "Pro Puppet (Professional Apress)" > Voraussichtliches Lieferdatum: 28. Juni 2014 - 30. Juni 2014 > > > > On 12/22/2013 02:59 AM, Stuart Cracraft wrote: > > hey did some ruby and cured those bl

Re: [Puppet Users] Re: Puppet Pro, 2nd edition - status directly from APress

2013-12-21 Thread Stuart Cracraft
hey did some ruby and cured those blues away. > On Dec 21, 2013, at 5:55 PM, Felix Frank > wrote: > > Uhm, what is now? > >> On 12/20/2013 11:35 PM, Stuart Cracraft wrote: >> It's all too money-centric and materialist. >> >> What a shame. > &g

[Puppet Users] Re: yamlyzer

2013-12-20 Thread Stuart Cracraft
end end end end end # Bless Ygor. Merry Christmas everybody On Thursday, December 12, 2013 3:20:41 PM UTC-8, Stuart Cracraft wrote: > > Hi everybody, > > Is there a command-line program which parses: > > puppetmasters*:/var/lib/puppet/reports/*/*

[Puppet Users] Re: Puppet Pro, 2nd edition - status directly from APress

2013-12-20 Thread Stuart Cracraft
Must be good. Mine is set to arrive on 12/24 according to Amazon, so we'll see. It's all too money-centric and materialist. What a shame. On Friday, December 20, 2013 6:45:24 AM UTC-8, Ygor wrote: > I queried the publisher directly because depending what site you look at, > you get info that

Re: [Puppet Users] new puppet book revision

2013-12-19 Thread Stuart Cracraft
ll, > > There was some problem between the publishing company and the printing > company that caused the book to be delayed for so long. Amazon now says the > book is "in stock" so I'm assuming the problem has been resolved. > > Let us know if you have any feedba

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-12-18 Thread Stuart Cracraft
that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > ------ > *From: *"Stuart Cracraft" > > *To: *puppet...@googlegroups.com > *Sent: *Wednesday, December 18, 2013 1:01:42 PM > *Subject: *Re: [Puppet

[Puppet Users] ruby

2013-12-18 Thread Stuart Cracraft
How would I convert this program to output exactly the same thing but only for all the (noop) operations. We keep puppet in noop mode to audit its actions before they are applied. Thus it is necessary to ensure we understand exactly what all the nodes noop operations would be if we listed the noo

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-12-18 Thread Stuart Cracraft
ure they can give you a > hand with whatever you need done. > > Jason > >> On 12/18/2013 12:55 PM, Stuart Cracraft wrote: >> What we are looking for is a Ruby program which takes the contents of >> >> /var/lib/puppet/reports/*/*.yaml >> >> a

Re: [Puppet Users] new puppet book revision

2013-12-18 Thread Stuart Cracraft
Okay, let us know your assessment of the book as well after you get further into it. And your critiques. On Wednesday, December 18, 2013 7:32:51 AM UTC-8, Benito Mourelo Caldeiro wrote: > On mar, 2013-12-17 at 14:27 -0800, Stuart Cracraft wrote: > > It looks like Amazon/publisher

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-12-18 Thread Stuart Cracraft
What we are looking for is a Ruby program which takes the contents of /var/lib/puppet/reports/*/*.yaml and reports in detail on everything changed or proposed for change if in noop mode (file permissions, modes, user creates, etc.) Stuart On Wednesday, November 27, 2013 7:12:48 AM UTC-8, Dav

Re: [Puppet Users] new puppet book revision

2013-12-18 Thread Stuart Cracraft
Johan, Same in US as far as I see. Stuart > On Dec 18, 2013, at 12:22 AM, Johan De Wit wrote: > > In europe the delivery date from march 2014, moved to 24 december 2013. > > > > >> On 12/17/2013 11:27 PM, Stuart Cracraft wrote: >> It looks like Amazon/pub

Re: [Puppet Users] Re: yamlyzer

2013-12-17 Thread Stuart Cracraft
:45:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/local/bin/yaml2csv.rb:7 [root@ca-sna-pm01 bin]# Stuart On Tuesday, December 17, 2013 2:20:47 PM UTC-8, Stuart Cracraft wrote: >

Re: [Puppet Users] puppet-dashboard status report and bottleneck

2013-12-17 Thread Stuart Cracraft
> > > Which indicated the version of rubygems is not compatible with the > rails application. > > On Mon, Dec 16, 2013 at 10:36 PM, Stuart Cracraft > > > wrote: > > Thanks Ramin. > > > > A good tip. > > > > Thank-you. &

[Puppet Users] new puppet book revision

2013-12-17 Thread Stuart Cracraft
It looks like Amazon/publishers/authors/etc. have revised the new puppet book date: http://www.amazon.com/Pro-Puppet-Spencer-Krum/dp/1430260408/ref=sr_1_3?ie=UTF8&qid=1387318030&sr=8-3&keywords=puppet+3 Fun! -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] Re: yamlyzer

2013-12-17 Thread Stuart Cracraft
y 1.9.3. > > Jeff > >> On 12/16/2013 03:29 PM, Stuart Cracraft wrote: >> Is the back-end piece of Puppet Dashboard which implements the CSV-capability >> of the YAML interpretation available as a standalone? >> >>> On Thursday, December 12, 2013 3:20:41 PM UTC-

Re: [Puppet Users] Re: recursive descent

2013-12-17 Thread Stuart Cracraft
Dec 17 09:17:55 UTC 2013 > Subject: [Puppet Users] Re: recursive descent > > That is very, very disturbing. > >> On Wednesday, December 11, 2013 2:25:04 PM UTC-8, Stuart Cracraft wrote: >> >> I want to recursively descend infinitely through a directory tree in regards

[Puppet Users] Re: recursive descent

2013-12-17 Thread Stuart Cracraft
That is very, very disturbing. On Wednesday, December 11, 2013 2:25:04 PM UTC-8, Stuart Cracraft wrote: > > > I want to recursively descend infinitely through a directory tree in > regards to ensuring: > > (a) owner, group, permission > (b) existence of the full path, a

Re: [Puppet Users] puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
Thanks Ramin. A good tip. Thank-you. On Dec 16, 2013, at 1:49 PM, Ramin K wrote: > No Ruby Mysql bindings aka the mysql gem. > > http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-dependencies > > Ramin > > On 12/16/2013 12:37 PM, Stuart C

[Puppet Users] gem update error

2013-12-16 Thread Stuart Cracraft
gem update --system 1.8.25 --http-proxy=//ourproxy:ourport/ is giving me: ERROR: While executing gem ... (Net::HTTPServerException) 403 "Forbidden" I've confirmed at the proxy rubygems.org is open and also confirmed the port. Has something changed about updating with gem update? Or am I m

[Puppet Users] Re: gem install error

2013-12-16 Thread Stuart Cracraft
You're the man Cory. Works great. Thanks. Stuart On Monday, December 16, 2013 2:37:23 PM UTC-8, Stuart Cracraft wrote: > > Anyone seen this? > > [root@ca-sna-pm01 puppet-dashboard]# !gem > > gem install mysql-2.9.1 > > ERROR: While executing gem ... (Net::HTT

[Puppet Users] gem install error

2013-12-16 Thread Stuart Cracraft
Anyone seen this? [root@ca-sna-pm01 puppet-dashboard]# !gem gem install mysql-2.9.1 ERROR: While executing gem ... (Net::HTTPServerException) 403 "Forbidden" [root@ca-sna-pm01 puppet-dashboard]# gem install mysql Building native extensions. This could take a while... ERROR: Error in

[Puppet Users] Re: puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
) treetop (1.4.12) tzinfo (0.3.37) [root@ca-sna-pm01 puppet-dashboard]# ruby --version ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] [root@ca-sna-pm01 puppet-dashboard]# On Monday, December 16, 2013 11:46:04 AM UTC-8, Stuart Cracraft wrote: > I followed: > &g

[Puppet Users] Re: puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
-10.0.4/lib/rake/application.rb:70:in `run' /usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/bin/rake:33 /usr/bin/rake:19:in `load' /usr/bin/rake:19 [root@ca-sna-pm01 puppet-dashboard]# On Monday, December 16, 2013 11:46:04 AM UTC-8, Stuart Cracraft wrote: > I followed: > > http

[Puppet Users] Re: yamlyzer

2013-12-16 Thread Stuart Cracraft
Is the back-end piece of Puppet Dashboard which implements the CSV-capability of the YAML interpretation available as a standalone? On Thursday, December 12, 2013 3:20:41 PM UTC-8, Stuart Cracraft wrote: > > Hi everybody, > > Is there a command-line program which parses: > &g

[Puppet Users] Re: puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
!' from ./script/../config/boot.rb:113 from ./script/server:2:in `require' from ./script/server:2 [root@ca-sna-pm01 puppet-dashboard]# Stuart On Monday, December 16, 2013 11:46:04 AM UTC-8, Stuart Cracraft wrote: > I followed: > > htt

[Puppet Users] puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
I followed: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html and have reached the point after puppet dashboard install/configuration MySQL server and MySQL client installation/configuration/startup at Preparing Schema and now receive the error: rake RAILS_ENV=prod

[Puppet Users] Re: Puppet Dashboard: how to connect?

2013-12-13 Thread Stuart Cracraft
Okay, now puppet-dashboard is installed on my Puppet Master and I am ready and ripe. How do I access the dashboard? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an emai

Re: [Puppet Users] Re: Puppet Dashboard: how to connect?

2013-12-13 Thread Stuart Cracraft
; Jeff > > On 12/13/2013 04:50 PM, Stuart Cracraft wrote: > > Great! > > What is the .repo file format for the optional channel for rhel 6. > > I would like to install puppet-dashboard using the above as soon as > possible. > > Stuart > > On Friday, Dec

Re: [Puppet Users] Re: Puppet Dashboard: how to connect?

2013-12-13 Thread Stuart Cracraft
m-rake package, available in > centos 6 or in the optional channel for rhel 6. > > On Fri, Dec 13, 2013 at 9:44 AM, Stuart Cracraft > > > wrote: > > yum install puppet-dashboard gives a requirement for dependency > resolution: > > > > Error:

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-12-13 Thread Stuart Cracraft
You ask a great question. Also, it would be great if we could get the actual Unix cli equivalent of what Puppet is proposing to do. On Friday, December 13, 2013 5:30:19 AM UTC-8, David Portabella wrote: > Given this puppet manifest (test.pp): > $dir = '/tmp' > file {'myfile': > path => "$dir/

[Puppet Users] Re: Puppet Dashboard: how to connect?

2013-12-13 Thread Stuart Cracraft
UTC-8, Stuart Cracraft wrote: > Hi - I run puppet 3.3.2 currently of Open Source Puppet. > > I am looking for anyone who has run Puppet Dashboard. > > How do I connect to the dashboard? > > Stuart > > -- You received this message because you are subscribed to the G

[Puppet Users] Puppet Dashboard: how to connect?

2013-12-13 Thread Stuart Cracraft
Hi - I run puppet 3.3.2 currently of Open Source Puppet. I am looking for anyone who has run Puppet Dashboard. How do I connect to the dashboard? Stuart -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop r

Re: [Puppet Users] yamlyzer

2013-12-12 Thread Stuart Cracraft
John, I will look into this tomorrow. It sounds like the solution. Thanks very much. Stuart On Dec 12, 2013, at 8:32 PM, John Warburton wrote: > On 13 December 2013 15:07, Stuart Cracraft wrote: > Our Security Group would like to have complete visibility to logs in simple > for

Re: [Puppet Users] yamlyzer

2013-12-12 Thread Stuart Cracraft
t; On Dec 12, 2013, at 11:07 PM, Stuart Cracraft wrote: > >> Great. >> >> Okay - anyone additionally, how would you extend Dan's script to dump the >> entirety of a Puppet YAML >> to a plain text report. >> >> I know, I know. It sounds borin

Re: [Puppet Users] yamlyzer

2013-12-12 Thread Stuart Cracraft
ets of our cloud. On Dec 12, 2013, at 8:03 PM, Dan White wrote: > No. > I whipped that sample up in about 10 minutes. > > It provides a starting point for you to develop what you want. > > On Dec 12, 2013, at 8:09 PM, Stuart Cracraft wrote: > >> Do you personally use

Re: [Puppet Users] yamlyzer

2013-12-12 Thread Stuart Cracraft
Do you personally use something more comprehensive with all fields enabled? > On Dec 12, 2013, at 4:59 PM, Dan White wrote: > > >> On Dec 12, 2013, at 6:20 PM, Stuart Cracraft wrote: >> >> >> Hi everybody, >> >> Is there a command-line program

Re: [Puppet Users] parsing puppet YAML

2013-12-12 Thread Stuart Cracraft
Where did this go? On Friday, May 21, 2010 9:44:33 PM UTC-7, Luke Baker wrote: > Hey there, > > > > I’ve playing with parsing some of the yaml data that puppet creates. Has > anyone had luck doing this with python or the like? It seems that in every > yaml file, there is a comment at the top

[Puppet Users] yamlyzer

2013-12-12 Thread Stuart Cracraft
Hi everybody, Is there a command-line program which parses: puppetmasters*:/var/lib/puppet/reports/*/*.yaml into simple a simple (though lengthy) report perhaps with column/field/etc. selection based on a straightforward method. Holler if you know of any. I know this was queried by me on thi

Re: [Puppet Users] examples of puppet yaml output

2013-12-12 Thread Stuart Cracraft
Well, obviously, but... What if you do not have a lot of data or want more yaml's for testing against? Will anyone give me all their yaml's? I'd like thousands and thousands to test against. On Thursday, December 12, 2013 1:05:50 PM UTC-8, Ygor wrote: > /var/lib/puppet/reports > on a puppet m

[Puppet Users] examples of puppet yaml output

2013-12-12 Thread Stuart Cracraft
Greetings Puppeteers!!! Where can I get a very large set of puppet yaml output? I want to run my new yamlyzer program over it as a test. I don't want to run it against anything small. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubsc

Re: [Puppet Users] recursive descent

2013-12-12 Thread Stuart Cracraft
Sure does John. Thanks for your interest! Do we know when the Puppet 3.0 book is coming out? It's showing as a very, very long delay at Amazon... On Thursday, December 12, 2013 7:17:17 AM UTC-8, jcbollinger wrote: > > > On Wednesday, December 11, 2013 4:38:02 PM UTC-6, Stuart

Re: [Puppet Users] recursive descent

2013-12-11 Thread Stuart Cracraft
http://christian.hofstaedtler.name/blog/2008/11/puppet-managing-directories-recursively.html On Wednesday, December 11, 2013 2:36:05 PM UTC-8, Stuart Cracraft wrote: > > The tree has to already exist. > > One would think having the ability > to instantiate a tree from a seedling

Re: [Puppet Users] recursive descent

2013-12-11 Thread Stuart Cracraft
The tree has to already exist. One would think having the ability to instantiate a tree from a seedling would be useful. Sent from my iPhone > On Dec 11, 2013, at 2:25 PM, Stuart Cracraft wrote: > > > I want to recursively descend infinitely through a directory tree in r

[Puppet Users] recursive descent

2013-12-11 Thread Stuart Cracraft
I want to recursively descend infinitely through a directory tree in regards to ensuring: (a) owner, group, permission (b) existence of the full path, all the leaves, out to the final leaf, e.g. /somedir/somesubdir/{file1,file2,file3,somesubdirtoo} and so forth This could be done tr

[Puppet Users] Re: audit

2013-12-10 Thread Stuart Cracraft
ssage YAML files into reasonability... On Tuesday, December 10, 2013 7:11:10 AM UTC-8, jcbollinger wrote: > > > On Monday, December 9, 2013 5:12:42 PM UTC-6, Stuart Cracraft wrote: >> >> >> Assume the following question is in regards to Puppet 3.3.2. >> >

[Puppet Users] audit

2013-12-09 Thread Stuart Cracraft
Assume the following question is in regards to Puppet 3.3.2. So my question is in relation to audit. file { '/some/random/path/through/the/tree/to/a/file': owner => 'luke', group => 'rebelalliance', mode => '0444', audit => all } And more specifically: will the named file be force-owne

[Puppet Users] crontab

2013-12-09 Thread Stuart Cracraft
Hi, I'd like to establish and maintain a standard crontab using Puppet. What is best practice? I don't want to invent too much. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, se

[Puppet Users] mail

2013-12-09 Thread Stuart Cracraft
Anybody know if Puppet has a way to email directly from a manifest in the DSL? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googleg

Re: [Puppet Users] external node classifier with a back-end

2013-12-06 Thread Stuart Cracraft
ld be arranged, though it's not > really up to the "just run this puppet module and it installs the ENC" > stage yet. > > -jantman > > On 12/04/2013 05:10 PM, Stuart Cracraft wrote: > > Hi Ygor/Dan, > > Postgres has better DR. > > We like Postg

[Puppet Users] Re: Automatic installation of puppet agent from puppet master

2013-12-06 Thread Stuart Cracraft
You can have autosign enabled on the puppet master but I don't recommend it. You want to have control over the initial deployments since by just blanket auto-signing, you may run into some major issues with too much change too suddenly. As you gain experience, you can bulk sign in chunks once you

Re: [Puppet Users] external node classifier with a back-end

2013-12-04 Thread Stuart Cracraft
And if you do not want to store secretive (complete) company data in PuppetDB but instead an alternative securable database, what then pray tell? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving

[Puppet Users] puppetmaster and nodes upgraded

2013-12-04 Thread Stuart Cracraft
3.2.1 to 3.3.2 puppetmaster(s) and associated node(s) passed test(s) one case was a straight "yum upgrade" with puppet labs yum service (the puppet master). the others from a private/local rpm repo I maintain. Didn't see anything weird. Did have to install libselinux-ruby though... Stuart

Re: [Puppet Users] external node classifier with a back-end

2013-12-04 Thread Stuart Cracraft
tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > ------ > *From: *"Stuart Cracraft" > > *To: *puppet...@googlegroups.com > *Sent: *Wednesday, December 4, 2013 4:33:51 PM > *Subject: *[Puppet Users] external node classifier wit

[Puppet Users] external node classifier with a back-end

2013-12-04 Thread Stuart Cracraft
Hi everybody! Anyone have a back-ended external node classifier to a Postgres database they could throw my way? Stuart -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an

[Puppet Users] Re: external node classifiers

2013-12-04 Thread Stuart Cracraft
Chapter 5 at page 119 in the Pro Puppet book of 2011 by Turnbull/McCune has good explanation and scripts, in Shell, Perl, Ruby. On Tuesday, December 3, 2013 3:50:47 PM UTC-8, Stuart Cracraft wrote: > Hi, > > I'd like to use ENC:: > > http://docs.puppetlabs.com/guides

[Puppet Users] external node classifiers

2013-12-03 Thread Stuart Cracraft
Hi, I'd like to use ENC:: http://docs.puppetlabs.com/guides/external_nodes.html to keep hardwired customizations away from our classes and other files as much as possible particularly for the node name, but potentially as esoteric as a machine configuration, file permission, service name, et

Re: [Puppet Users] Re: Announce: Puppet 3.4.0-rc1 Available

2013-12-03 Thread Stuart Cracraft
ml > >> On Tue, Dec 3, 2013 at 2:33 PM, Stuart Cracraft wrote: >> What is the upgrade methodology / documentation to take a 3.2.1 system to >> 3.4.0-rc1 ? >> >>> On Tuesday, December 3, 2013 11:42:51 AM UTC-8, Melissa Stone wrote: >&

Re: [Puppet Users] noop = true and what for test?

2013-12-03 Thread Stuart Cracraft
Thanks for sharing this. > On Dec 3, 2013, at 2:52 PM, John Warburton wrote: > >> On 4 December 2013 04:54, Stuart Cracraft wrote: >> The rationale for the above methodology is: hosting firm doing database >> hosting in a (very) >> highly secured environment see

[Puppet Users] Re: cli-driven list-file-based ad-hoc runs

2013-12-03 Thread Stuart Cracraft
ult. On Monday, December 2, 2013 11:23:52 AM UTC-8, Stuart Cracraft wrote: > Currently, I have > > /etc/puppet/puppet.conf > > on my nodes with > > [main] > : > noop = true > > [agent] > : > > And puppet is running as: > > /usr/bin/ruby /u

[Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread Stuart Cracraft
Scary. On Wednesday, November 27, 2013 9:17:44 PM UTC-8, Glenn Poston wrote: > > My external fact script takes 5s to run. > > With external fact... > puppet takes 2.5m to run > facter takes 33s to run > > Without external fact... > puppet takes 27s to run > facter takes 0.68s > > Bottom line... th

Re: [Puppet Users] noop = true and what for test?

2013-12-03 Thread Stuart Cracraft
not an exciting use case. --Stuart December 3, 2013 7:37:00 AM UTC-8, jcbollinger wrote: > > > On Tuesday, December 3, 2013 2:18:25 AM UTC-6, Stuart Cracraft wrote: >> >> >> The rationale expressed to me has to do with non-specific >> auditing/security requirements.

[Puppet Users] Re: Puppet module testing & code coverage...

2013-12-03 Thread Stuart Cracraft
Gavin, Congratulations on your momentous decision. And it is an important one. You may want to go to www.amazon.com and pick up How Google Tests Software by Whittaker, Arbon, and Carollo. It is also a serious effort. Stuart Afternoon all > > I've read a fair few blogs, slideshares and other s

Re: [Puppet Users] cli-driven list-file-based ad-hoc runs

2013-12-03 Thread Stuart Cracraft
hat, and has been superseded by > MCollective. To do this in a compliant way, you will need to build an > MCollective infrastructure. Scheduling the desired puppet runs should > become trivial then. > >> On 12/02/2013 08:23 PM, Stuart Cracraft wrote: >> some-magical-puppet-co

Re: [Puppet Users] noop = true and what for test?

2013-12-03 Thread Stuart Cracraft
e test that we're doing it on a different git branch, > and we use "--environment=" to run against that other branch. > > I'm not sure if this is helpful, maybe you already know about it :) > > > Rich > > > > On Tue, Nov 26, 2013 at 5:07 PM, Stu

[Puppet Users] cli-driven list-file-based ad-hoc runs

2013-12-02 Thread Stuart Cracraft
Currently, I have /etc/puppet/puppet.conf on my nodes with [main] : noop = true [agent] : And puppet is running as: /usr/bin/ruby /usr/bin/puppet agent --verbose On the Puppet Master: /etc/puppet/manifests/nodes.pp node 'basenode' { include baseclass } : node 'somep

Re: [Puppet Users] analyzing Puppet's actions and proposed actions via comprehensive reporting

2013-11-29 Thread Stuart Cracraft
I took care of this on Friday with a 30-line Perl script. Handy-dandy! On Nov 27, 2013, at 1:46 PM, Stuart Cracraft wrote: > Anyone know of a Ruby, Perl, Python, Bash, etc. script to do this already > written? > > Summarize /var/lib/puppet/reports/*all hosts*/*.yaml > Assume

[Puppet Users] analyzing Puppet's actions and proposed actions via comprehensive reporting

2013-11-27 Thread Stuart Cracraft
Anyone know of a Ruby, Perl, Python, Bash, etc. script to do this already written? Summarize /var/lib/puppet/reports/*all hosts*/*.yaml Assume infinite store in above. For any given period in the above, summarize: action that was performed by puppet or would be performed if in noop includin

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-11-27 Thread Stuart Cracraft
Get the book Learning Ruby. Worth it. > On Nov 27, 2013, at 7:44 AM, Dan White wrote: > > Very nice. > I am still learning Ruby and this will help > > Thanks. > > “Sometimes I think the surest sign that intelligent life exists elsewhere in > the universe is that none of it has tried to con

[Puppet Users] Re: noop = true and what for test?

2013-11-26 Thread Stuart Cracraft
And, also, update the runinterval = NN in the [agent] section of the puppet.conf. It would be great if Puppet had even more centralized control... The agent/node still has too much need-to-visit... On Tuesday, November 26, 2013 4:30:14 PM UTC-8, Stuart Cracraft wrote: > Hi, > > W

[Puppet Users] Re: noop = true and what for test?

2013-11-26 Thread Stuart Cracraft
puppet master. Desirable and controllable Stuart On Tuesday, November 26, 2013 4:30:14 PM UTC-8, Stuart Cracraft wrote: > Hi, > > When I put > > noop = true > > in /etc/puppet/puppet.conf > > on the node in question, I observe no changes. Great. Goo

Re: [Puppet Users] Can't find good tutorial/how-to

2013-11-26 Thread Stuart Cracraft
I took Puppet Fundamentals in LA last week and there were THREE instructors for a teacher/student ratio I haven't seen since private school. Way to go Luke and Nigel and reports > On Nov 26, 2013, at 3:52 PM, Rich Burroughs wrote: > > I took the Puppet Fundamentals class a few months ago

[Puppet Users] noop = true and what for test?

2013-11-26 Thread Stuart Cracraft
Hi, When I put noop = true in /etc/puppet/puppet.conf on the node in question, I observe no changes. Great. Good But also, I see because of report = true absolutely zero information in the yaml regarding what would have been changed. Is there an equivalent to the above for "test = true

Re: [Puppet Users] Re: get a *structured* version of the puppet agent output

2013-11-26 Thread Stuart Cracraft
Understood. But, we have some real good troubleshooters here. And we want to get at core fixes. Not just log-examination, esoteric thought and bandaids. > On Nov 26, 2013, at 12:49 PM, Christopher Wood > wrote: > > (inline) > >> On Tue, Nov 26, 2013 at 10:43:31AM -

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-11-26 Thread Stuart Cracraft
t;puts line.name >print "status: " >puts line.status >print "when: " >puts line.time > end >end >end >puts "---

Re: [Puppet Users] Can't find good tutorial/how-to

2013-11-26 Thread Stuart Cracraft
Why is this not moderated? > On Nov 26, 2013, at 11:21 AM, Dan White wrote: > > My apologies to all for the inappropriate response. > > “Sometimes I think the surest sign that intelligent life exists elsewhere in > the universe is that none of it has tried to contact us.” > Bill Waterson (Calv

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-11-26 Thread Stuart Cracraft
Puppet Labs: What report generators do you have and provide at your website so that we can report intelligently? Stuart > On Nov 26, 2013, at 11:15 AM, "R.I.Pienaar" wrote: > > > > - Original Message - >> From: "Stuart Cracraft" >> To:

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-11-26 Thread Stuart Cracraft
Who will share a report generator for the yaml reports generated by puppet so that we do not have to reinvent wheel after wheel after wheel!! > On Nov 26, 2013, at 11:08 AM, "R.I.Pienaar" wrote: > > > > - Original Message - >> From: "S

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-11-26 Thread Stuart Cracraft
What we want is not more complexity, but more simplicity! I could go into puppet config print reportdir and then to its /var/lib/puppet/reports then to the host directories of interest and grep out message. But that seems a very sorry state of affairs. Puppetmasters speak UP! On Tuesd

Re: [Puppet Users] Re: set password to never expire for a user

2013-11-26 Thread Stuart Cracraft
password_max_age is less destructive. I chose it. On Tuesday, November 26, 2013 6:23:19 AM UTC-8, jcbollinger wrote: > > > On Monday, November 25, 2013 5:11:13 PM UTC-6, Stuart Cracraft wrote: >> >> I have direction to use puppet >> rather than the OS and exec...

  1   2   3   >