Re: [Puppet Users] puppet and CI

2013-08-02 Thread David Schmitt
On 01.08.2013 16:35, Stefan Wiederoder wrote: Hello puppet users, I扉e setup gerrit/jenkins on a box to add versioniong/CI to my puppet setup. I惴 a jenkins/git beginner, therefore I扉e googled to find bits and pieces which I扉e put together. It愀 working fine so far, the only drawback is that my

[Puppet Users] Benefits of retrofitting Puppet to a legacy fleet

2013-08-02 Thread Alex Harvey
Hi all, I am going to have a meeting to sell the idea of retrofitting Puppet to a fleet of already-built legacy Unix systems to a skeptical management (as opposed to only using it to build new linux systems, where I don't need to sell the idea). Here, legacy Unix means AIX, Solaris, HP-UX,

[Puppet Users] Wildcards in file resourses -- yet another time

2013-08-02 Thread Ivan Lysov
Hi All! I want to grant spetial permissions on some core files. So it would be nice to use something like file { /var/lib/monitorium/core* : mode = 0644, } But that obviously doesn't work. Any people with the same problem i've googled used some workarounds like managing

Re: [Puppet Users] puppet and CI

2013-08-02 Thread Stefan Wiederoder
Hello David, What checks are you doing that take 6 minutes? A simple syntax check and erb evaluation takes around 30s on a big repo over here. I´ve to admit that I´m using puppet-lint with all options, which throws a lot of warnings I´ll eliminate a few options. bye , Stefan -- You

[Puppet Users] Exporting Load Balancer Worker Resources

2013-08-02 Thread fuzzy186
Hi, Recently i've studying puppet by reading and doing the examples from this book: Pro puppet. books.sysadmins.su/system/files/Pro.Puppet.pdf On page 145 from this book there is example about Exporting Load Balancer Worker Resources. I created the files inside already existing apache module.

Re: [Puppet Users] Exporting Load Balancer Worker Resources

2013-08-02 Thread Kent R. Spillner
On Aug 2, 2013, at 1:39, fuzzy186 fuzzy...@o2.pl wrote: Hi, Recently i've studying puppet by reading and doing the examples from this book: Pro puppet. books.sysadmins.su/system/files/Pro.Puppet.pdf ... What should I do to make it work ? The problem is you're using a pirated copy of

Re: [Puppet Users] Benefits of retrofitting Puppet to a legacy fleet

2013-08-02 Thread Ashley Penney
On Fri, Aug 2, 2013 at 4:26 AM, Alex Harvey alexharv...@gmail.com wrote: Hi all, I am going to have a meeting to sell the idea of retrofitting Puppet to a fleet of already-built legacy Unix systems to a skeptical management (as opposed to only using it to build new linux systems, where I

[Puppet Users] Re: Wildcards in file resourses -- yet another time

2013-08-02 Thread jcbollinger
On Friday, August 2, 2013 3:39:32 AM UTC-5, Ivan Lysov wrote: Hi All! I want to grant spetial permissions on some core files. So it would be nice to use something like file { /var/lib/monitorium/core* : mode = 0644, } But that obviously doesn't work. Any people with

[Puppet Users] Re: escape sequence within generate function

2013-08-02 Thread jcbollinger
On Thursday, August 1, 2013 2:37:03 PM UTC-5, Jacob McCoy Wade wrote: I'm looking for some help in getting the proper escape sequence within the generate function. Ultimately what I'm trying to do is generate some random strings, store them as variables, and use those variables to

[Puppet Users] Re: More node definition complexity

2013-08-02 Thread jcbollinger
On Thursday, August 1, 2013 12:01:28 PM UTC-5, Worker Bee wrote: Hi Everyone; First, thanks for your help! I am trying to create a way to categorize hosts based on both/either/or the name of the host as well as the location of the host. Right now, I have .pp files that categorize the

Re: [Puppet Users] Puppet Support for Windows

2013-08-02 Thread jcbollinger
On Thursday, August 1, 2013 5:45:29 PM UTC-5, Josh Cooper wrote: Hi John, On Thu, Aug 1, 2013 at 6:00 AM, jcbollinger john.bo...@stjude.orgjavascript: wrote: On Wednesday, July 31, 2013 8:22:01 AM UTC-5, cha...@lyricalsoftware.comwrote: Hopefully my $0.02 can we worth something

[Puppet Users] custom provider question

2013-08-02 Thread gilbertc777
Hi all, I am using the sysctl provider from fiddyspence and it is doing a great job managing my system tuning. However, one thing that I would like to do is extend the provider to simply add the ability to insert a comment as part of the values that get written out so that visually on a

[Puppet Users] Re: escape sequence within generate function

2013-08-02 Thread Jacob McCoy Wade
On Friday, August 2, 2013 6:43:01 AM UTC-7, jcbollinger wrote: On Thursday, August 1, 2013 2:37:03 PM UTC-5, Jacob McCoy Wade wrote: The closest I've come is to use: $random_1 = generate('/bin/sh', '-c', '\/bin/cat /dev/urandom | /usr /bin/tr -dc \'a-z0-9\' | /usr/bin/fold -w 8 |

[Puppet Users] crapload of files to check permissions and ownership

2013-08-02 Thread root
Very new to Puppet and I need to create a class that checks the file permissions and ownership for 60- 100 files. Some of the files will be named differenty or have a different path depending on the OS. I am aware of the core_permissions class demonstrated in the Puppet 3.0 Quick Start,

Re: [Puppet Users] crapload of files to check permissions and ownership

2013-08-02 Thread Dan White
Your link is for posting a new message to this group on Google Groups. Perhaps you wanted this: http://www.puppetcookbook.com/posts/remove-duplicated-file-resource-attributes.html You say you want to check file permission/ownership. Do you want to make any changes if things are not how you

[Puppet Users] Re: Wildcards in file resourses -- yet another time

2013-08-02 Thread Rahul Khengare
Hi Ivan, You can try putting the all file names in array variable and use that array variable in file resource. File resource of puppet support array structure. This might work. On Friday, August 2, 2013 2:09:32 PM UTC+5:30, Ivan Lysov wrote: Hi All! I want to grant spetial permissions

Re: [Puppet Users] Re: Wildcards in file resourses -- yet another time

2013-08-02 Thread Dan White
+1 on that. exec a shell command. Look at it this way: How can you get the list of files without running a shell command ? Short answer: You cannot, so make it a chmod instead of an ls command and you are done. “Sometimes I think the surest sign that intelligent life exists elsewhere in

Re: [Puppet Users] crapload of files to check permissions and ownership

2013-08-02 Thread ygor
[Please respond to THE LIST and not directly/privately] OK, then if you want to manage 100+ files, you need to either LIST 100+ files or manage the file tree using the 'recurse' parameter. There is another thread here recently asking about wildcards in file resources. They were told that

[Puppet Users] It's my mistake or a bug about define a variable in class?

2013-08-02 Thread cvvnx1
Version: puppet-3.2.3-1.el6.noarch.rpm -- I just try to create a class as parameters container like this: cat /etc/puppet/modules/ssh/manifests/params.pp EOF class ssh::params { $ssh_package_name = $::operatingsystem ? { 'solaris' = 'openssh',

[Puppet Users] Exporting Load Balancer Worker Resources

2013-08-02 Thread fuzzy186
Hi, Recently i've studying puppet by reading and doing the examples from this book: Pro puppet. books.sysadmins.su/system/files/Pro.Puppet.pdf On page 145 from this book there is example about Exporting Load Balancer Worker Resources. I created the files inside already existing apache

[Puppet Users] Re: open source Puppet 3 cannot compile catalog on newly built Puppetmaster

2013-08-02 Thread GregC
Hey Josh did you have an opprotunity to look into this issue? On Thursday, July 25, 2013 10:54:20 AM UTC-4, GregC wrote: Following the instructions from puppetlabs for yum install on Red Hat 6, no problems When I try to run a puppet test I get the following error, there are no manifest

[Puppet Users] puppet dashboard certificate request fails

2013-08-02 Thread espe
Hi, if I send the certificate request from puppet dashboard to the puppet master, I get the error SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed The master log gives me this message: [2013-08-02 22:28:22] ERROR OpenSSL::SSL::SSLError: