[Puppet Users] problem with dashboard

2012-07-19 Thread lyflyd
Hi: When I start the dashboard server,but all ways failed . Someone can help me ? #sudo -u puppet-dashboard ./script/server -e production Missing these required gems: rack >= 0 You're running: ruby 1.8.7.174 at /usr/bin/ruby1.8 rubygems

Re: [Puppet Users] problems with puppetdb

2012-07-19 Thread Peter Brown
On 20 July 2012 11:20, Chris Price wrote: > Hello Pete, > > Do you have a reliable way to reproduce the port issue that you mentioned? > We'd like to troubleshoot it further but haven't found any way to reproduce > it on our end yet. > > If you're not getting log output in /var/log/puppetdb, can y

Re: [Puppet Users] Re: Query functions for PuppetDB

2012-07-19 Thread Peter Brown
Very cool! My brain has extrapolated a few cool uses already. :) Thanks Erik! On 20 July 2012 03:02, Erik Dalén wrote: > I've released a new version of this module, it no longer requires the > rest_client gem and uses the Puppet HTTP pool instead. > It also supports getting facts for an array o

Re: [Puppet Users] problems with puppetdb

2012-07-19 Thread Chris Price
Hello Pete, Do you have a reliable way to reproduce the port issue that you mentioned? We'd like to troubleshoot it further but haven't found any way to reproduce it on our end yet. If you're not getting log output in /var/log/puppetdb, can you please try the following?: 1. Edit the file /et

Re: [Puppet Users] Re: Query functions for PuppetDB

2012-07-19 Thread Deepak Giridharagopal
On Thu, Jul 19, 2012 at 07:02:32PM +0200, Erik Dalén wrote: > I've released a new version of this module, it no longer requires the > rest_client gem and uses the Puppet HTTP pool instead. > It also supports getting facts for an array of hosts at once. As an > example if you want the IPs of all h

Re: [Puppet Users] Re: problem using apache & passenger to run dashboard

2012-07-19 Thread Hai Tao
Can someone help me in this forum? On Thu, Jul 12, 2012 at 4:42 PM, Hai Tao wrote: > that is almost exactly what I have , except I put the mod_passenger.so > to /var/lib instead of /var/lib64. > >LoadModule passenger_module > /usr/lib/ruby/gems/1.8/gems/passenger-3.0.13/ext/apache2/mod_passen

[Puppet Users] Re: Query functions for PuppetDB

2012-07-19 Thread Nick Fagerlund
On Thursday, July 19, 2012 10:02:32 AM UTC-7, Erik Dalén wrote: > It also supports getting facts for an array of hosts at once. As an > example if you want the IPs of all hosts with Apache class you could > do this: > > $hosts = pdbfactquery(pdbresourcequery([ 'and', [ '=', [ 'node', > 'acti

Re: [Puppet Users] Re: Can puppet manage an image rather than a running host

2012-07-19 Thread Nigel Kersten
On Thu, Jul 19, 2012 at 2:24 PM, jcbollinger wrote: > > > On Thursday, July 19, 2012 3:14:04 PM UTC-5, bluckau wrote: >> >> Hi, >> >> Can puppet manage images (as opposed to running hosts)? >> >> This could be a chroot, an LXC container, etc. >> > > You could perhaps do this with a full-enough chr

[Puppet Users] Re: puppet-spec-helper / rspec and hiera

2012-07-19 Thread Bill O'Neill
I ran into the same issue. The workaround is to checkout the v0.3.0 tag of hiera-puppet. Since I couldn't figure out a way to do it via the .fixtures.yml file I created a new rake task in Rakefile: desc "Checkout the correct tag release of hiera" task :spec_prep_hiera do Rake::Task[:spec_p

Re: [Puppet Users] Re: Query functions for PuppetDB

2012-07-19 Thread Martin Willemsma
2012/7/19 Erik Dalén : > I've released a new version of this module, it no longer requires the > rest_client gem and uses the Puppet HTTP pool instead. > It also supports getting facts for an array of hosts at once. As an > example if you want the IPs of all hosts with Apache class you could > do t

[Puppet Users] Re: Can puppet manage an image rather than a running host

2012-07-19 Thread jcbollinger
On Thursday, July 19, 2012 3:14:04 PM UTC-5, bluckau wrote: > > Hi, > > Can puppet manage images (as opposed to running hosts)? > > This could be a chroot, an LXC container, etc. > > You could perhaps do this with a full-enough chroot environment, especially if you launch the agent on a single-

[Puppet Users] Can puppet manage an image rather than a running host

2012-07-19 Thread bluckau
Hi, Can puppet manage images (as opposed to running hosts)? This could be a chroot, an LXC container, etc. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users

Re: [Puppet Users] How to restart Winbind when hung?

2012-07-19 Thread Adam
Matt, Good thinking, I hadn't thought of that! Even though it does override the usual puppet behavior, if winbind is stopped then that query will also fail; therefore, the functionality is all still there. Thanks! Adam On Wednesday, July 18, 2012 10:59:50 AM UTC-4, Matthew Burgess wrote: >

Re: [Puppet Users] Doubt while using the "--edit" option to start service

2012-07-19 Thread Ryan Coleman
On Thu, Jul 19, 2012 at 11:01 AM, Abhijeet R wrote: > Hi, > > So, this is my first time using puppet. I was reading the introduction given > on the official website here. http://docs.puppetlabs.com/learning/ral.html > > The page has mentioned that using the "--edit" option, I can change a > resouc

[Puppet Users] Doubt while using the "--edit" option to start service

2012-07-19 Thread Abhijeet R
Hi, So, this is my first time using puppet. I was reading the introduction given on the official website here. http://docs.puppetlabs.com/learning/ral.html The page has mentioned that using the "--edit" option, I can change a resouce. So, to test that, I did, $service puppetmaster start $s

[Puppet Users] puppet-spec-helper / rspec and hiera

2012-07-19 Thread llow...@oreillyauto.com
I am trying to write some rspec tests for my modules. Most of them now use hiera. I have a .fixures.yml: --- fixtures: repositories: stdlib: https://github.com/puppetlabs/puppetlabs-stdlib.git hiera-puppet

Re: [Puppet Users] Digest for puppet-users@googlegroups.com - 25 Messages in 12 Topics

2012-07-19 Thread Dan Stranathan
Unsubscribe -- 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...@googlegroups.com. For more options, visit thi

[Puppet Users] Re: Query functions for PuppetDB

2012-07-19 Thread Erik Dalén
I've released a new version of this module, it no longer requires the rest_client gem and uses the Puppet HTTP pool instead. It also supports getting facts for an array of hosts at once. As an example if you want the IPs of all hosts with Apache class you could do this: $hosts = pdbfactquery(pdbre

Re: [Puppet Users] Re: rspec-puppet and puppet doc conflicts

2012-07-19 Thread Nan Liu
On Thu, Jul 19, 2012 at 5:26 AM, Mark Roggenkamp wrote: > Perhaps make your puppet doc rake task depend on the spec_clean task? It > seems like you may not need the symlinks created by rspec-puppet-init as a > dynamic fixture environment is created via .fixtures.yml. Yep, in general rake spec sho

Re: [Puppet Users] Re: Hiera vs LDAP

2012-07-19 Thread Trevor Vaughan
All, Thanks for the responses, I'm certainly seeing the benefits of Hiera over a direct LDAP interface but I do think that an LDAP interface and schema should be on the roadmap. Also, you might want to summarize some of this and add it to the Hiera Wiki. Thanks! Trevor On Thu, Jul 19, 2012 at

Re: [Puppet Users] Problem with puppet-concat

2012-07-19 Thread R.I.Pienaar
- Original Message - > From: "Mark" > To: puppet-users@googlegroups.com > Sent: Thursday, July 19, 2012 5:01:21 PM > Subject: [Puppet Users] Problem with puppet-concat > > Hi > > > I am developing a module to create a simple nas for my work and I am > using the concat module to assemb

[Puppet Users] Problem with puppet-concat

2012-07-19 Thread Mark
Hi I am developing a module to create a simple nas for my work and I am using the concat module to assemble /etc/exports and /etc/samba/smb.conf. I developed my module on my puppet development server and concat worked like a charm, however when I rolled it out to my live servers if kept on fai

[Puppet Users] Problems granting privileges with puppetlabs/mysql

2012-07-19 Thread thijso
First off, I'm not sure if I should be asking questions about puppetlabs modules here, if not, I apologise... I'm trying to at least setup my mysql replication user through the mysql module, but I seem to be unable to divine the correct way to do this. I've tried a number of different variation

[Puppet Users] auto generate client certificates for deployment installation solution

2012-07-19 Thread Laurence Lenberg
Dear all, I'm looking for a solution which manages generation and installation of client certificates. This is required we have a lot of re-installations, so we want to reuse already in place certificates. For security it is sufficient that the host to be part of our-domain.com The solution th

[Puppet Users] Re: cert issues, puppet agent applying configs, problems oh my!

2012-07-19 Thread jcbollinger
Hmm. My first response appears to have been eaten. My apologies if this ends up being a duplicate. On Wednesday, July 18, 2012 4:21:50 PM UTC-5, Zippy Zeppoli wrote: > > So I'm new to puppet and I'm having a bear of a time just getting a test > server going. > Welcome! > I installed puppet

Re: [Puppet Users] Hiera and The Forge

2012-07-19 Thread Jeff McCune
Not explicitly. The forge primarily uses simple tags as metadata. For what it's worth, any module that uses class parameters will automatically work with hiera in Puppet 3.x. We won't be releasing 3.0 for awhile, but it would be great to get your feedback on the 3.x branch on Github. -Jeff On W

[Puppet Users] Re: subscribe is not restarting the service even though the file has changed :(

2012-07-19 Thread Corey Hammerton
What I have done with all my service resources is I declared the start, stop, restart and status parameters. I've never had a problem with subscriptions and notifications. On Thursday, July 19, 2012 5:29:53 AM UTC-4, Praveen Shivashankar wrote: > > Hi All, > > I am managing the config files o

Re: [Puppet Users] run puppet for few modules only, not for all catalogue

2012-07-19 Thread Andrey Kozichev
Thanks a lot Martin! This is exactly what I need. On 19 Jul 2012, at 12:44, Martin Alfke wrote: > Hi > On 19.07.2012, at 11:52, Andrew wrote: > >> I am looking the way to apply only few selected modules to the puppet >> node instead of all catalogue. I need this step to be done as the part >>

Re: [Puppet Users] Integrating Ruby methods into Puppet classes

2012-07-19 Thread R.I.Pienaar
- Original Message - > From: "Axel Bock" > To: puppet-users@googlegroups.com > Sent: Thursday, July 19, 2012 2:54:36 PM > Subject: [Puppet Users] Integrating Ruby methods into Puppet classes > > Hello all, > > I am new to puppet and I am currently designing a set of deployment > rules

[Puppet Users] Re: create_resources function and puppet enc

2012-07-19 Thread jcbollinger
On Wednesday, July 18, 2012 6:13:11 PM UTC-5, Arun S A G wrote: > > Hi, > > I am trying to create multiple users using puppet. I have created a ENC > and trying to use class wrapped defined types with create_resources > function. For some reason things are falling apart. I would really > appre

[Puppet Users] Integrating Ruby methods into Puppet classes

2012-07-19 Thread Axel Bock
Hello all, I am new to puppet and I am currently designing a set of deployment rules for our company web servers. The Puppet DSL brings me quite far, but now I could really use the possibility to extend the DSL with one or two ruby functions. Example: I would like to iterate over all the IP

Re: [Puppet Users] Installing and configuring puppetmaster-passenger

2012-07-19 Thread Felix Frank
Hi, On 07/13/2012 08:26 AM, kalaniS wrote: > debug: Finishing transaction -614452648 > debug: Using cached certificate for ca > debug: Using cached certificate for cd-vgpereravos.domain.com > debug: Finishing transaction -614639588 > debug: Executing '/etc/puppet/etckeeper-commit-pre' > debug: Usi

[Puppet Users] Re: subscribe is not restarting the service even though the file has changed :(

2012-07-19 Thread jcbollinger
On Thursday, July 19, 2012 4:29:53 AM UTC-5, Praveen Shivashankar wrote: > > Hi All, > > I am managing the config files of a service through puppet. This config > file is being created through 2 separate modules and concatenated > together. I am trying to modify the manifest in the module th

Re: [Puppet Users] Re: Hiera vs LDAP

2012-07-19 Thread R.I.Pienaar
- Original Message - > From: "jcbollinger" > To: puppet-users@googlegroups.com > Sent: Thursday, July 19, 2012 2:06:43 PM > Subject: [Puppet Users] Re: Hiera vs LDAP > > >> And, yes, I know that a hiera back-end could be written to support >> LDAP but that would just be an unnecessary

[Puppet Users] Re: Hiera vs LDAP

2012-07-19 Thread jcbollinger
On Wednesday, July 18, 2012 4:09:42 PM UTC-5, Trevor Vaughan wrote: > > So, I was following the thread "how to conditionally add users to a > virtualized group?" and had a bit of a realization that I'm not quite > sure why Hiera is a better backend than LDAP. > > Hiera: > > - Stores hierarchi

[Puppet Users] Re: rspec-puppet and puppet doc conflicts

2012-07-19 Thread Mark Roggenkamp
Perhaps make your puppet doc rake task depend on the spec_clean task? It seems like you may not need the symlinks created by rspec-puppet-init as a dynamic fixture environment is created via .fixtures.yml. Mark On Wednesday, July 18, 2012 5:35:44 PM UTC-4, llo...@oreillyauto.com wrote: > > I re

Re: [Puppet Users] run puppet for few modules only, not for all catalogue

2012-07-19 Thread Martin Alfke
Hi On 19.07.2012, at 11:52, Andrew wrote: > I am looking the way to apply only few selected modules to the puppet > node instead of all catalogue. I need this step to be done as the part > of the maintenance. If you are using modules you can use tags. Each module is also a tag. Example you have

Re: [Puppet Users] Hiera vs LDAP

2012-07-19 Thread Jason Edgecombe
On 07/18/2012 05:42 PM, Aaron Grewell wrote: On Wed, Jul 18, 2012 at 2:09 PM, Trevor Vaughan wrote: So, I was following the thread "how to conditionally add users to a virtualized group?" and had a bit of a realization that I'm not quite sure why Hiera is a better backend than LDAP. In our en

[Puppet Users] `require': cannot load such file -- puppet/util/command_line (LoadError)

2012-07-19 Thread ColinDNZ
Hi all in a VM running openSUSE 12.1 (x86_64) trying to play with puppet produces this error # ruby --version ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] # puppet --version /usr/local/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- puppet/util/co

[Puppet Users] Hiera and The Forge

2012-07-19 Thread Tony Hays
Is there any metadata in the forge that would allow me to search if the module is built with Hiera support? I am just now getting around to running smoothly, and it would be great to be able to see what you other masters have designed. Thanks, Tony -- You received this message because you a

[Puppet Users] run puppet for few modules only, not for all catalogue

2012-07-19 Thread Andrew
I am looking the way to apply only few selected modules to the puppet node instead of all catalogue. I need this step to be done as the part of the maintenance. As of now the only idea I have - is to expose puppet tree via nfs or HTTP, download/mount only modules I need and run puppet in standalone

[Puppet Users] subscribe is not restarting the service even though the file has changed :(

2012-07-19 Thread Praveen Shivashankar
Hi All, I am managing the config files of a service through puppet. This config file is being created through 2 separate modules and concatenated together. I am trying to modify the manifest in the module that installs the service so that whenever this config file changes (when the portion t