Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Alexander Fortin
On Tuesday, April 15, 2014 1:10:05 PM UTC+2, Felix.Frank wrote: > > On 04/15/2014 09:25 AM, Nikola Petrov wrote: > > I haven't used catalog-diff but I > > am suspecting that it might be a substitute for the rspec tests. Tell me > > No. rspec allows you to implement unit tests to catch certain re

[Puppet Users] Re: puppet-lint questions

2014-04-14 Thread Alexander Fortin
On Monday, April 14, 2014 7:16:39 PM UTC+2, Daniele Sluijters wrote: > > Sometimes things don't become more legible if you're forced to break it > off somehow at 80 chars. We still try very hard to respect the 80 chars but > sometimes, we go over it. > Just a note on the 80 chars limitation: in

[Puppet Users] Re: puppet-lint questions

2014-04-14 Thread Alexander Fortin
On Friday, April 11, 2014 12:32:39 AM UTC+2, Rich Burroughs wrote: > > I saw one of the Puppet Labs webinars about setting up your Puppet > development environment, and at one point it mentioned using a git hook to > run puppet-lint before committing. We do that where I work with "puppet > par

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-14 Thread Alexander Fortin
On Sunday, April 13, 2014 11:57:19 AM UTC+2, Johan De Wit wrote: > > I still am so surprised when asking who is doing some kind of 'testing', > almost nobody raises is hand . > > Most people just don't' see the sense of doing rspec unit tests - why > writing the same code twice ? > > Well,

[Puppet Users] Re: Error when checking out repo with svn+ssh

2014-03-27 Thread Alexander Fortin
On Wednesday, March 26, 2014 8:06:02 PM UTC+1, rupsmaths wrote: > > When i try running puppet agent -t --server > i get the following error: > *Error: Execution of '/usr/bin/svn --non-interactive checkout > svn+ssh://repo' returned 1: svn: To better debug SSH connection problems, > remove the -q

[Puppet Users] Re: Disable SSL when compiling catalogs for testing purposes

2014-03-06 Thread Alexander Fortin
On Thursday, March 6, 2014 3:15:39 PM UTC+1, jcbollinger wrote: > > > Do you see the "ca" in most of those? That stands for "certificate > authority". The one file that doesn't have it, ssl/crl.pem, is a > certificate revocation list, which is also associated with the CA. The > Puppet master

[Puppet Users] Re: Disable SSL when compiling catalogs for testing purposes

2014-03-05 Thread Alexander Fortin
On Wednesday, March 5, 2014 7:07:42 PM UTC+1, jcbollinger wrote: > > > > On Wednesday, March 5, 2014 8:35:40 AM UTC-6, Alexander Fortin wrote: >> >> [...] my understanding is >> that every time we create the catalog, i.e. running >> >> puppet master --c

[Puppet Users] Disable SSL when compiling catalogs for testing purposes

2014-03-05 Thread Alexander Fortin
sable this behavior? Any other suggestions about how to make this catalog creation process as lightweight as possible? -- https://www.vizify.com/alexander-fortin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

[Puppet Users] Re: ignoring changes to a file

2014-03-05 Thread Alexander Fortin
On Wednesday, March 5, 2014 3:41:45 PM UTC+1, kaustubh chaudhari wrote: > > Hi All, > > One of my application requires me to copy a config file after installation > the application. This needs to be done only once after installation > > However this config file is managed by a central server and k

[Puppet Users] Environment supersets using Hiera

2013-02-22 Thread Alexander Fortin
/lib/hiera/devel.yaml - /var/lib/hiera/common.yaml if environment=devel: - /var/lib/hiera/devel.yaml - /var/lib/hiera/common.yaml if environment=production: - /var/lib/hiera/common.yaml I'm going through documentation but seems there's no mention to this kind of setup. Any hint? Thanks!

Re: [Puppet Users] Thoughts on job listings?

2012-05-31 Thread Alexander Fortin
On 5/30/12 11:07 PM, R. Tyler Croy wrote: > I think this is the best idea here, a "This Week in Puppet Jobs" would be a > good email, low noise, high signal :) Oh yes, I like this suggestion too! My +1 -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this

Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-19 Thread Alexander Fortin
ly for features like "projects", so I double click on a project name and I get any previously opened file in a tab. PS still struggling to make Geppetto install PyDev :-/ -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message because you are subscribed to

Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-18 Thread Alexander Fortin
y a stripped down Eclipse with only the > things required for Puppet development). > Did you try PyDev? Is that where the pain came from :) ? No :) I was just scared by the bloat that comes with Eclipse, but I'll give a try to the second option you suggest (Geppetto + languages support)

Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-18 Thread Alexander Fortin
epower here...). Anyway, it looks great for Puppet, but seems to be a pain if you want other syntax check (say, Python). I'll try to find some time and see if I can write a simple syntax Puppet check for Komodo Edit -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message

[Puppet Users] Puppet syntax check for Komodo Edit

2012-02-17 Thread Alexander Fortin
lternatives? Thanks -- Alexander Fortin http://about.me/alexanderfortin/ -- 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@googlegroups.com. To unsubscribe from this group, send e

Re: [Puppet Users] Re: Uninstall Puppet and Facter from OSX

2011-11-29 Thread Alexander Fortin
re of this and that's a shame. PS I went for gem install and everything is working OK now, next time I'll try the createpackage.sh solution for sure. Have a nice day, -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message because you are subscribed to

Re: [Puppet Users] Uninstall Puppet and Facter from OSX

2011-11-29 Thread Alexander Fortin
onf/osx HTH, Yes it does ;) Thanks -- Alexander Fortin http://about.me/alexanderfortin/ -- 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@googlegroups.com. To unsubscribe from th

Re: [Puppet Users] Uninstall Puppet and Facter from OSX

2011-11-29 Thread Alexander Fortin
;m running puppet v2.7.6 installed via gem PS I wasn't able to find the createpackage.sh script you suggested though -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post t

[Puppet Users] Uninstall Puppet and Facter from OSX

2011-11-28 Thread Alexander Fortin
led right now before doing so. Thanks for your time, -- Alexander Fortin http://about.me/alexanderfortin/ -- 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@googlegroups.com. To unsubscribe

Re: [Puppet Users] Re: Multiple nodes.pp files

2011-11-27 Thread Alexander Fortin
ifest file that uses those variables, it doesn't compile: Could not find any files from /home//puppet/files/smb.conf at /home/alex/puppet/manifests/samba.pp:7 on node blah -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message because you are subscribed to the Goog

Re: [Puppet Users] Re: Multiple nodes.pp files

2011-11-22 Thread Alexander Fortin
On 11/22/11 7:37 PM, Aaron Grewell wrote: Curly braces perhaps? content => file("/home/${realuser}/puppet/files/smb.conf"), Tried both with ${realuser} and with ${::realuser}, no luck. -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message be

Re: [Puppet Users] Re: Multiple nodes.pp files

2011-11-22 Thread Alexander Fortin
ealuser/puppet/files/smb.conf"), require => Package["samba"], notify => Service[$sambaservices], } but I get the same output from apply: Could not find any files from /home//puppet/files/smb.conf at /home/alex/puppet/manifests/samba.pp:7 on node blah -- Alexander Fort

Re: [Puppet Users] Re: Multiple nodes.pp files

2011-11-21 Thread Alexander Fortin
in the importing manifest (say, init.pp), it will not be callable from the imported manifest. So: init.pp: $myvariable = "blabla" myresource { $myvariable : ensure => present } import "secondmanifest.pp" ##### secondmanifest.pp: mysersour

Re: [Puppet Users] eggdrop-puppet-notificator

2011-08-31 Thread Alexander Fortin
se no Foreman in the near future here...) If you (or anyone) want to submit a patch I'll be more than happy :) Just ask to be added to the GitHub project and I'll give you RW. -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message because you are subscribe

Re: [Puppet Users] Re: Check for dead clients

2011-08-31 Thread Alexander Fortin
uppet-notificator It's very basic so you can just have a quick look at it for a hint (I used the cli tools "find" and "diff") Hope this helps, -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message because you are subscribed to the Google Groups &qu

Re: [Puppet Users] Re: Announce: Dashboard 1.2.0 is available now

2011-08-31 Thread Alexander Fortin
ions are 2.6.2 (the only exception being FreeBSD 8.2 shipping 2.6.7) Argh... I just can't wait to see the new Dashboard! :D -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To p

[Puppet Users] eggdrop-puppet-notificator

2011-08-31 Thread Alexander Fortin
like very much that Dashboard tells me which node is missing for more than 60mins, but I didn't know how to get notified too, so... I'm sure there are better ways to do it but this was just the easier I've seen, so of course any comment/bug report etc is very appreciated

Re: [Puppet Users] Re: Can a node access a not-imported module's files?

2011-06-15 Thread Alexander Fortin
y, to make this work, eventually both client and master will store the secret somewhere, so I don't think is an issue as far as the secret/catalog is only readable by root. -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message because you are subscribed to

Re: [Puppet Users] Can a node access a not-imported module's files?

2011-06-15 Thread Alexander Fortin
idea to keep secret files stored just on one "secure" place (say, an encrypted folder on my laptop or better) as I'm doing now, then collecting them on a server. It was more a curiosity then a real necessity, many thanks for the explanation though. -- Alexander Fortin http:

[Puppet Users] Can a node access a not-imported module's files?

2011-06-15 Thread Alexander Fortin
t;steal" information from the master? I mean, can mynode see modules/mymodule/files/mysecretfile even if the node 'mynode' is not including that module? -- Alexander Fortin http://about.me/alexanderfortin/ -- You received this message because you are subscribed to the Google Gr