[Puppet Users] Extra field in generated cron?

2011-05-13 Thread Robin Lee Powell
So on one of my hosts but not at least one other, I'm getting this: [root@beta01 /]# sudo puppetd -tv info: Caching catalog for beta01.c44031.blueboxgrid.com info: /Stage[main]/Ruby/Tidy[/etc/profile.d/rvm.sh]: File does not exist info: Applying configuration version '1305353595' notice: /Stage[m

[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 (http://www.lojban.

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 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: > > class vmware ( $pkg_lis

Re: [Puppet Users] puppet resource for group

2011-05-13 Thread Nigel Kersten
On Fri, May 13, 2011 at 11:41 PM, Nan Liu wrote: > On Fri, May 13, 2011 at 4:20 PM, Corey Osman 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

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 > On Fri, May 13, 2011 at 3:59 AM, 孫 顥 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

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, 孫 顥 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 r

Re: [Puppet Users] puppet resource for group

2011-05-13 Thread Nan Liu
On Fri, May 13, 2011 at 4:20 PM, Corey Osman 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 { 'mg_team': >     

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 intereste

[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] 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: $:.unshift('/usr/lib/ruby/1.8

Re: [Puppet Users] Re: Puppetmaster and Passenger3

2011-05-13 Thread Adam Heinz
On Fri, May 13, 2011 at 4:30 PM, PBWebGuy 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 -- You received this

[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 attempti

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 a

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 wrote: > What would your recommended versions be or what are the ones that you > are presently successf

[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] 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.

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

2011-05-13 Thread Chris Phillips
On 13 May 2011 18:46, Patrick 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 stored repor

[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 / HTTP/1

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 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 listed for > the

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 tim

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 f

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 wrote: > > > - Original Message - > >> >> Let me not be taken as an extlooku

[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] Facter with a gem

2011-05-13 Thread Pietro Monteiro
On 05/13/2011 07:55 AM, Patrick wrote: Facter is run on the clients. Does installing that gem on the clients fix the error? Also, "require 'rubygems'" on the top of the file where you define your facter. -- Pietro Monteiro Senior Developer DECK Monitoring 115 W 8th Ave. Eugene, Oregon 9740

[Puppet Users] Re: multiple resources overrides

2011-05-13 Thread jcbollinger
On May 12, 1:32 pm, Nick Fagerlund wrote: > On May 12, 11:32 am, Nick Fagerlund > wrote: > > > You can read more about the design here... > > Wow, self, way to not post that link. > > http://projects.puppetlabs.com/issues/6911 Thanks, Nick. What I take from that is that resources that do not

[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 that

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 l

[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, 8:07 am, jcbollinger wrote: My apologies for the empty post. I agree that it is silly to suppose that extlookup() is a universal solution, but personally, I don't take that impression from web comments in the first place. In fact, Puppet Labs's own recently updated style guide recom

Re: [Puppet Users] Facter with a gem

2011-05-13 Thread Patrick
On May 13, 2011, at 7:05 AM, patant wrote: > Hi, > > Created a facter that require a gem. The gem is installed on all the servers > involved. > But when I trigger puppet I get an error in the log: > Could not run Puppet configuration client: Could not retrieve local facts: no > such file to lo

[Puppet Users] Facter with a gem

2011-05-13 Thread patant
Hi, Created a facter that require a gem. The gem is installed on all the servers involved. But when I trigger puppet I get an error in the log: Could not run Puppet configuration client: Could not retrieve local facts: no such file to load -- Is there a way to make puppet use/find the gem? Us

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

2011-05-13 Thread 孫 邕
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 run as normal, how can i do that? Thank you in advance. -- -

Re: [Puppet Users] Puppetmaster and Passenger3

2011-05-13 Thread Patrick
On May 13, 2011, at 5:13 AM, linuxbsdfreak wrote: > 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.

[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 wrote: > On Thu, May 12, 2011 at 6:21 PM, tjmaszc wrote: > > Having issues trying to create the same symlink for multiple web > > sites

[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 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() solves "all >

[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

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

[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 su

[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 from="server1.mydomain,server1,192.168.1.2"no-port-forwardi

Re: [Puppet Users] Variable scoping / best practice

2011-05-13 Thread Felix Frank
On 05/12/2011 05:59 PM, Luke Baker wrote: > Hey there, > > I have the following class that defines an array: > > class iptables::hyperion { > system_ips [ > 'ip', > 'ip', > 'ip', > ... > ] > } > > To use this variable in a template, I'm setting it to a 'local' > variable in t

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\"", >

[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 puppet-users+unsubscr...@goo

[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, e