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

2013-12-26 Thread Johan De Wit
I use vim-puppet-lint and syntastic, they are in the https://github.com/scrooloose/syntastic http://puppet-lint.com/ As an example, here is my .vimrc file " http://vimdoc.sourceforge.net/htmldoc/change.html#fo-table execute pathogen#infect() set fo=tcq set nocompatible set modeline syntax on "

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

2013-12-26 Thread Johan De Wit
Stuart, I'm on fedora, and installed it from the rubygem-pry.noarch.rpm I try to avoid gem and alike, cause more problems with versions and so on --- mostly because i think i do not now exactly what I'm doing with gem/bundle and simular things. Grts johan On 12/26/2013 06:35 PM, Stuart Cra

[Puppet Users] Announce: Puppet 2.7.24 is available

2013-12-26 Thread Sam Kottler
Released December 26, 2013. 2.7.24 is a security release in the Puppet 2 series. Please note that this release is supported by the community; Puppet Labs is not responsible for maintaining the release. This release fixes: * CVE-2013-4969: Unsafe use of temp files in File type See http://puppetla

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

2013-12-26 Thread Stuart Cracraft
Hi everybody. My quest for a Ruby debugger is over. This does it: http://stackoverflow.com/questions/1359333/how-do-i-use-ruby-debug-inside-emacs The result is a 6-window split in emacs. One is interactive to rdb. One is the code with the program counter (i.e. the "arrow") One is for varia

[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

[Puppet Users] Announce: Puppet 3.4.1 is available

2013-12-26 Thread Rob Braden
Released December 26, 2013. 3.4.1 is a security release in the Puppet 3 series. This release fixes: * CVE-2013-4969: Unsafe use of temp files in File type See http://puppetlabs.com/security/cve/cve-2013-4969 for details. Andrew Parker (1): 65909fb (#23343) Use `replace_file` to update a f

[Puppet Users] mco package fail with puppet 3.4.0

2013-12-26 Thread Fabrice Bacchella
When I upgrade a node with puppet 3.4.0, puppet-package is broken : ~$ mco package puppet status -I $(facter hostname) -v | [ > ] 0 / 1 The package application failed to run, use -v for full error details: undefined class/module Puppe

[Puppet Users] Puppet Enterprise 2.8.4 is available

2013-12-26 Thread Rob Braden
Dear Puppet Enterprise Users, Puppet Enterprise 2.8.4 is now available. This is a security release of Puppet Enterprise. All users of Puppet Enterprise 2.8.x are strongly encouraged to upgrade when possible to Puppet Enterprise 2.8.4. Puppet Enterprise 2.8.4 includes fixes to address CVE-2013-41

[Puppet Users] Puppet Enterprise 3.1.1 is available

2013-12-26 Thread Rob Braden
Dear Puppet Enterprise Users, Puppet Enterprise 3.1.1 is now available. This is a security release of Puppet Enterprise. All users of Puppet Enterprise 3.x are strongly encouraged to upgrade when possible to Puppet Enterprise 3.1.1 Puppet Enterprise 3.1.1 includes fixes to address CVE-2013-4164,

Re: [Puppet Users] Roles/profile design

2013-12-26 Thread Joseph Swick
On 12/26/2013 12:48 PM, Josh wrote: > Joseph, > > So, the problem with this method appears to be that once you specify > "hiera_include('classes')" in the environment's site.pp, Puppet appears to > try and make Hiera the ONLY source for node classification. I rely on > roles from my ENC and pr

Re: [Puppet Users] Roles/profile design

2013-12-26 Thread Josh
Joseph, So, the problem with this method appears to be that once you specify "hiera_include('classes')" in the environment's site.pp, Puppet appears to try and make Hiera the ONLY source for node classification. I rely on roles from my ENC and profiles for classification as well. Josh > Hi,

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

2013-12-26 Thread Stuart Cracraft
Bizarre. I downloaded pry-0.9.12.4.gem from rubygems.org and then: gem install pry It gave: ERROR: While executing gem ... (RangeError) integer 7516195309 Google has been unhelpful in ascertaining the path forward from the above error for the pry ide tryout If you are aware of the

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

2013-12-26 Thread Stuart Cracraft
Juan, Where is this documented? Stuart On Thursday, December 26, 2013 3:35:23 AM UTC-8, JuanBrein wrote: > I would highly suggest you to use VIM+plugins > > Powerful as any other graphical IDE plus you can run it in any console > plus run on any OS plus free :-) > > On Tuesday, December 24, 20

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

2013-12-26 Thread JuanBrein
I would highly suggest you to use VIM+plugins Powerful as any other graphical IDE plus you can run it in any console plus run on any OS plus free :-) On Tuesday, December 24, 2013 11:21:48 PM UTC, Stuart Cracraft wrote: > > Hi, > > Is there a plain-text visual debugger ide for Linux for Ruby any

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

2013-12-26 Thread Johan De Wit
Hi Stuart, Someone on the dev irc mentioned pry -> http://pryrepl.org/ I learned already a lot trying to write my first custom type and provider 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?

Re: [Puppet Users] rspec-puppet: mocking included params class in defines

2013-12-26 Thread Johan De Wit
I use this one to set parameters for a define in my rspec let(:facts) { { :hostname => 'sambaserver' } } context 'default setting' do let(:params) { { :share_path => '/testpath/share' } } ... end this is an expert of my define define samba::define_share ( share_path, share_br