[Puppet Users] Re: Passenger issues running Puppet

2011-05-13 Thread denmat
Hi, sorry for the late reply but have a look at my config.ru cat /usr/share/puppet/rack/puppetmasterd/config.ru # a config.ru, for use with every rack-compatible webserver. # SSL needs to be handled outside this, though. # if puppet is not in your RUBYLIB: # $:.unshift('/opt/puppet/lib') $0 =

[Puppet Users] ssh_authorized_key loops when options is defined

2011-05-13 Thread rvlinden
Hi all, I have no problem with creating ssh keys for users, but as soon as I specify 'options', puppet keeps repeating and replacing the key with an identical key. I have written the various options in various formats, like one big strings, as an array, with double quotes or single quotes, etc,

[Puppet Users] Re: ssh_authorized_key loops when options is defined

2011-05-13 Thread rvlinden
BTW, the puppet version I use is 2.6.8 on Red Hat 5.6 -- 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 email to

Re: [Puppet Users] ssh_authorized_key loops when options is defined

2011-05-13 Thread Felix Frank
Hi, On 05/13/2011 01:20 PM, rvlinden wrote: as an array ... @authorizedkey { userx_dss: user = userx, type = ssh-dss, key = ...=, options = [ from=\server1.mydomain,server1,192.168.1.2\, ,no-port-forwarding,

[Puppet Users] Re: ssh_authorized_key loops when options is defined

2011-05-13 Thread rvlinden
Felix, If I remove the comma's from the no-port and no-agent, like this options = [ from=\server1.mydomain,server1,192.168.1.2\, no-port-forwarding, no-agent-forwarding, ]; I get one big blob in my authorized_keys file

[Puppet Users] Puppetmaster and Passenger3

2011-05-13 Thread linuxbsdfreak
Hi All, Just had a question if Puppet2.6 works with the latest version of Phusion Passenger (3.0.7). My setup is running with version 2.2.11 of passenger. If yes, then are there any changes in Puppetmaster configuration to be done. Thanks, Kevin -- You received this message because you are

Re: [Puppet Users] Re: ssh_authorized_key loops when options is defined

2011-05-13 Thread Felix Frank
On 05/13/2011 01:49 PM, rvlinden wrote: If I remove the comma's from the no-port and no-agent, like this options = [ from=\server1.mydomain,server1,192.168.1.2\, no-port-forwarding, no-agent-forwarding, ]; I get one big blob in my authorized_keys file Can you post your

[Puppet Users] Re: ssh_authorized_key loops when options is defined

2011-05-13 Thread rvlinden
Felix, I just found the problem. It was in the 'define' I had created. Initially I just used a single string instead of an array and in the define I had this options = ${options}, I just changed it into this options = $options, and now the various array elements are handled correctly. The

[Puppet Users] Re: Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/

2011-05-13 Thread jcbollinger
On May 13, 1:25 am, Simon J Mudd sjm...@pobox.com wrote: Hi, I have been trying to improve the coding of some of my puppet recipes and had some trouble so wrote this:http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/ Comments on the web seem to indicate that extlookup()

[Puppet Users] Re: array being concatenated

2011-05-13 Thread tjmaszc
Thank you very much Nigel. Changing the one line to: create_assoc_symlinks { $assocs: } made it work just as I wanted. Thom On May 12, 8:10 pm, Nigel Kersten ni...@puppetlabs.com wrote: On Thu, May 12, 2011 at 6:21 PM, tjmaszc t...@muse.jhu.edu wrote: Having issues trying to create the same

Re: [Puppet Users] Re: Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/

2011-05-13 Thread R.I.Pienaar
- Original Message - Let me not be taken as an extlookup() zealot. I do like the design as it is, but that doesn't mean it is ideal -- or even good -- for every purpose. One of the advantages of Puppet, however, is that it is fairly easy to modify and extend. If you would like

[Puppet Users] report time determined by client not server?

2011-05-13 Thread Chris Phillips
Howdy, I've just built a VM where the system clock was 2 hours off. Part of the puppet manifest is to get NTP going, so the system itself takes care of itself OK. However I just noticed on Dashboard that the report listed for the build phase was also two hours off. As such I'm given to assume

[Puppet Users] Should this call generate an error?

2011-05-13 Thread Aaron Grewell
I converted a set of classes from include/scope to use the parameterized syntax yesterday, and I ran into an odd behavior that might be considered a bug. I defined a class somewhat like this but more complex: class vmware ( $pkg_list) { package { $pkg_list: ensure = installed,

Re: [Puppet Users] Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/

2011-05-13 Thread hai wu
Are there some sample codes for ENC for complex environments? You mentioned before to code ENC would need a lot of efforts, it would be nice if there are some sample codes for reference .. On 5/13/11, R.I.Pienaar r...@devco.net wrote: - Original Message - Let me not be taken as an

Re: [Puppet Users] Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/

2011-05-13 Thread R.I.Pienaar
- Original Message - Are there some sample codes for ENC for complex environments? You mentioned before to code ENC would need a lot of efforts, it would be nice if there are some sample codes for reference .. writing an ENC isnt hard, writing one thats generic, has a nice UI and

Re: [Puppet Users] report time determined by client not server?

2011-05-13 Thread Patrick
On May 13, 2011, at 8:36 AM, Chris Phillips wrote: Why would you ever want to trust a time stamp from the client instead of just using your own time as you receive the report? In my case, when I run the import rake task, it imports stored reports that might be old. This means that the time

Re: [Puppet Users] report time determined by client not server?

2011-05-13 Thread Ohad Levy
On Fri, May 13, 2011 at 6:36 PM, Chris Phillips ch...@untrepid.com wrote: Howdy, I've just built a VM where the system clock was 2 hours off. Part of the puppet manifest is to get NTP going, so the system itself takes care of itself OK. However I just noticed on Dashboard that the report

[Puppet Users] any behavior difference about 8139 and 8140 remotely?

2011-05-13 Thread jbtzhm
Hi all, I am new to Puppet. I only know that by default puppet master will listen on 8140. and puppet agent with --listen true will accept on 8139. But using openssl and send some http request, the result looks the same. For example, # openssl s_client -connect 192.168.218.184:8139 ... GET /

Re: [Puppet Users] report time determined by client not server?

2011-05-13 Thread Chris Phillips
On 13 May 2011 18:46, Patrick kc7...@gmail.com wrote: On May 13, 2011, at 8:36 AM, Chris Phillips wrote: Why would you ever want to trust a time stamp from the client instead of just using your own time as you receive the report? In my case, when I run the import rake task, it imports

Re: [Puppet Users] Puppet Dashboard on Freebsd 8.2

2011-05-13 Thread Russell Jackson
On 05/12/2011 07:37 PM, Panaman wrote: Is anyone running the puppet dashboard on freebsd 8.2 I am kinda a newb to freebsd but managed to get puppet installed with apache and mysql. But I haven't actually figured out how to get the dashboard to install. I have it running on FreeBSD 8.x.

[Puppet Users] Re: Puppetmaster and Passenger3

2011-05-13 Thread PBWebGuy
What would your recommended versions be or what are the ones that you are presently successful with? Can you list your configured stack? I'm currently on Puppet 2.6.4 but could back down if necessary. I have not been successful with getting Passenger (3.0.7) working with Puppet. Thanks, John

Re: [Puppet Users] Re: Puppetmaster and Passenger3

2011-05-13 Thread Charles Johnson
Here at Vanderbilt we use: passenger (2.2.11) rack (1.0.1) rails (2.3.5) rake (0.8.7) rubygems-update (1.7.2) Server version: Apache/2.2.3 ~Charles~ On Fri, May 13, 2011 at 3:30 PM, PBWebGuy pbweb...@gmail.com wrote: What would your recommended versions be or what are the ones that you are

Re: [Puppet Users] Security of Puppet ACLs..

2011-05-13 Thread Larry Ludwig
It's from hostid command. How exactly is it generated I really don't know their info page is a bit vague. -- For example, here's what it prints on one system I use: $ hostid 1bac013d On that system, the 32-bit quantity happens to be closely related to the system's Internet

[Puppet Users] ubuntu package installs

2011-05-13 Thread Tim Dunphy
hello puppet list My puppet server is now working quite wonderfully. Thanks go out to all who have assisted in getting it to this point. At this point in time my config is now correctly installing packages according to arch,os and release. Centos is working quite well as of now, but I am

Re: [Puppet Users] Re: Puppetmaster and Passenger3

2011-05-13 Thread Adam Heinz
On Fri, May 13, 2011 at 4:30 PM, PBWebGuy pbweb...@gmail.com wrote: What would your recommended versions be or what are the ones that you are presently successful with?  Can you list your configured stack? http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger#Dependency-versions --

Re: [Puppet Users] Re: Puppetmaster and Passenger3

2011-05-13 Thread Patrick
This set came with ruby-enterprise-1.8.7-2010.02: passenger (2.2.15) rack (1.0.1) rails (2.3.8) rake (0.8.7) This was worked for me with puppet 2.6.8 and 2.6.1. Note: When I install puppet using pkg files and RubyEE from source, I needed to add this to my config.ru:

[Puppet Users] puppet resource for group

2011-05-13 Thread Corey Osman
Hi, Why doesn't puppet resource group tell me who belongs to the group? Given the group such as: mg_team:x:501:smruph, cosman, msmith, mhankey With the command: puppet resource group mg_team only returns: group { 'mg_team': gid = '501', ensure = 'present' } I was expecting: group {

Re: [Puppet Users] ubuntu package installs

2011-05-13 Thread vagn scott
It would be convenient if you could download from a debian repository that has the packages you want. The logical place to find that is somewhere under the control of the Amanda people, but they don't seem to have that set up. The debian backports site doesn't have the version you are

Re: [Puppet Users] puppet resource for group

2011-05-13 Thread Nan Liu
On Fri, May 13, 2011 at 4:20 PM, Corey Osman co...@logicminds.biz wrote: Hi, Why doesn't puppet resource group tell me who belongs to the group? Given the group such as: mg_team:x:501:smruph, cosman, msmith, mhankey With the command: puppet resource group mg_team only returns: group {

Re: [Puppet Users] how to rescue a dependency failure and try another one?

2011-05-13 Thread Nan Liu
On Fri, May 13, 2011 at 3:59 AM, 孫 顥 xsunsm...@gmail.com wrote: I am very new to puppet. exec {apt-update: } exec {install-local: } service { apache2: require = Exec[apt-update] } when apt repository has network errors, I wanna puppet do install-local instead, and make service apache2

Re: [Puppet Users] how to rescue a dependency failure and try another one?

2011-05-13 Thread 孫 邕
Hi, I love this idea. Thank you. 2011/5/14 Nan Liu n...@puppetlabs.com On Fri, May 13, 2011 at 3:59 AM, 孫 顥 xsunsm...@gmail.com wrote: I am very new to puppet. exec {apt-update: } exec {install-local: } service { apache2: require = Exec[apt-update] } when apt repository has

Re: [Puppet Users] puppet resource for group

2011-05-13 Thread Nigel Kersten
On Fri, May 13, 2011 at 11:41 PM, Nan Liu n...@puppetlabs.com wrote: On Fri, May 13, 2011 at 4:20 PM, Corey Osman co...@logicminds.biz wrote: Hi, Why doesn't puppet resource group tell me who belongs to the group? Given the group such as: mg_team:x:501:smruph, cosman, msmith, mhankey With

Re: [Puppet Users] Should this call generate an error?

2011-05-13 Thread Nan Liu
On Fri, May 13, 2011 at 11:01 AM, Aaron Grewell aaron.grew...@gmail.com wrote: I converted a set of classes from include/scope to use the parameterized syntax yesterday, and I ran into an odd behavior that might be considered a bug.  I defined a class somewhat like this but more complex:

[Puppet Users] So, clientconfigs.sqlite3 is pretty big

2011-05-13 Thread Robin Lee Powell
I only have like 15 hosts, and the only stuff I'm aware that I'm saving via | |/@@ is ssh keys. It's 600 MiB. That seems really large? Should I just delete it every once in a while? -Robin -- http://singinst.org/ : Our last, best hope for a fantastic future. Lojban