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

2012-07-10 Thread Hai Tao
Can someone help on this? Thanks. On Tue, Jul 10, 2012 at 5:13 PM, Hai Tao wrote: > I receive a lot of errors: > [Tue Jul 10 17:03:17 2012] [error] [client 10.224.78.200] File does > not exist: /usr/share/puppet-dashboard/public/reports > [Tue Jul 10 17:03:19 2012] [error] [client 10.224.78.200]

[Puppet Users] Announce: Puppet 2.7.18 Available [ Security Release ]

2012-07-10 Thread Moses Mendoza
Puppet 2.7.18 is a security release in the 2.7.x branch. The security changes in 2.7.18 address CVEs 2012-3864, 2012-3865, 2012-3866 and 2012-3867. All users of Puppet 2.7.x are encouraged to upgrade when possible to Puppet 2.7.18. More information available at http://puppetlabs.com/security or

[Puppet Users] Announce: Puppet 2.6.17 Available [ Security Release ]

2012-07-10 Thread Moses Mendoza
Puppet 2.6.17 is a security release in the 2.6.x branch. The security changes in 2.6.17 address CVEs 2012-3864, 2012-3865 and 2012-3867. All users of Puppet 2.6.x are encouraged to upgrade when possible to Puppet 2.6.17. More information available at http://puppetlabs.com/security or visit http:

[Puppet Users] Announce: Puppet Enterprise 2.5.2 Available

2012-07-10 Thread Moses Mendoza
Dear Puppet Enterprise Users, Puppet Enterprise 2.5.2 is now available. This is a maintenance release of PE with bug fixes and security updates. All users of Puppet Enterprise 2.5 are strongly encouraged to upgrade when possible to Puppet Enterprise 2.5.2. Puppet Enterprise 2.5.2 includes fixes t

[Puppet Users] Re: puppetdb listening on ipv6 port 8081 , not ipv4

2012-07-10 Thread Clay
Thanks Deepak for reply. this is resolved, the problem is the puppet agent on puppet master can't connect to master itself, which is due to proxy config in the puppet.conf , the above ipv6 is just not showing correctly , but it's working. Clay -- You received this message because you

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

2012-07-10 Thread Hai Tao
I receive a lot of errors: [Tue Jul 10 17:03:17 2012] [error] [client 10.224.78.200] File does not exist: /usr/share/puppet-dashboard/public/reports [Tue Jul 10 17:03:19 2012] [error] [client 10.224.78.200] File does not exist: /usr/share/puppet-dashboard/public/reports [Tue Jul 10 17:03:25 2012] [

[Puppet Users] where is ssh_known_hosts file generated by sshkey ?

2012-07-10 Thread Clay
Hi , I was testing puppet exported resources as in http://docs.puppetlabs.com/guides/exported_resources.html and I had this test class (code is from another post). class ssh_known_hosts{ case $sshrsakey { '': { alert("No sshrsakey found for $fqdn") }

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

2012-07-10 Thread Craig White
On Jul 10, 2012, at 4:39 PM, Hai Tao wrote: > Hi, > > My puppetmaster is running through apache, and now I am setting up > dashboard to be run by apache too. > > I followed docs in > http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#starting-and-managing-delayed-job-workers, >

Re: [Puppet Users] Problems installing dashboard.

2012-07-10 Thread Craig White
On Jul 10, 2012, at 1:14 PM, llow...@oreillyauto.com wrote: > I'm trying to install dashboard. > > I'm using: > > Ubuntu 12.04 LTS (32bit), > Puppet 2.7.17. > ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] > rubygems 1.8.15 > > When I run the db:migrate task, I get the following: > >

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

2012-07-10 Thread Hai Tao
Hi, My puppetmaster is running through apache, and now I am setting up dashboard to be run by apache too. I followed docs in http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#starting-and-managing-delayed-job-workers, but after I restarted httpd, I see a apache welcome page. I

[Puppet Users] Refresh not working with launchd service provider?

2012-07-10 Thread David L Ballenger
Hi, Refresh doesn't seem to be working with the launched service provider on OS X Lion (10.7.4). I've come up with a simple "service" script, plist file and puppet script to apply to demonstrate. The problem. Here's the shell script which logs an initial starting message and then just loops

Re: [Puppet Users] Problems installing dashboard.

2012-07-10 Thread Ramin K
On 7/10/2012 1:14 PM, llow...@oreillyauto.com wrote: I'm trying to install dashboard. I'm using: Ubuntu 12.04 LTS (32bit), Puppet 2.7.17. ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] rubygems 1.8.15 Did I miss a step? Trying to follow http://docs.puppetlabs.com/dashboard/manual/1.2/

[Puppet Users] Re: on puppet master server , puppet agent can't connect to itself

2012-07-10 Thread Clay
I find the problem is this in the puppet.conf , http_proxy_host = proxy.domain.com http_proxy_port = 8080 after I removed these lines , puppet agent on the master server cant connect to itself now. I added these because we are behind proxy and need to use it for "puppet module" to co

Re: [Puppet Users] nodes do not appear in dashboard

2012-07-10 Thread Hai Tao
I like to set up the dashboard to be using apache also by follow this procedures below. After that, do I still need to run workers? Serving Dashboard With Passenger and Apache First, you’ll need to ensure that Apache 2.2 and Phusion Passenger are installed. The Passenger website has installation i

Re: [Puppet Users] nodes do not appear in dashboard

2012-07-10 Thread Jo Rhett
On Jul 10, 2012, at 2:07 PM, Hai Tao wrote: > I am using apache and passenger, instead of webrick. Do I still need > to run the dashboard-worker dameon? Yes. > another quesiton is as puppetmasterd is not running for my apache set > up, how can I make changes take effect when I change the puppet.c

Re: [Puppet Users] Re: nodes do not appear in dashboard

2012-07-10 Thread Hai Tao
I am using apache and passenger, instead of webrick. Do I still need to run the dashboard-worker dameon? another quesiton is as puppetmasterd is not running for my apache set up, how can I make changes take effect when I change the puppet.conf content? Thanks. On Tue, Jul 10, 2012 at 1:53 PM, Co

Re: [Puppet Users] manifest for files executable on windows

2012-07-10 Thread Josh Cooper
Hi Viktoriya, On Tue, Jul 10, 2012 at 1:18 PM, Viktoriya Tochilnikova wrote: > Josh, > > I need to push and install python.msi package on win host. Should I use > "exec" block or "package" instead? I am not sure, pls confirm. THanks! > Use package. Note there are some issues with the current MSI

Re: [Puppet Users] Re: nodes do not appear in dashboard

2012-07-10 Thread Corey Hammerton
the dashboard-worker is the process that takes the report, parses it and inserts it into the DB. It MUST be running. When was the last report from any of you're appearing nodes from? On Tuesday, July 10, 2012 2:25:27 PM UTC-4, Hai wrote: > > I have 6 nodes now, and only 3 shows up in dashboar

Re: [Puppet Users] manifest for files executable on windows

2012-07-10 Thread Viktoriya Tochilnikova
Josh, I need to push and install python.msi package on win host. Should I use "exec" block or "package" instead? I am not sure, pls confirm. THanks!   Viktoriya From: Josh Cooper To: Viktoriya Tochilnikova Sent: Monday, July 9, 2012 7:42 PM Subject: Re: [P

[Puppet Users] Problems installing dashboard.

2012-07-10 Thread llow...@oreillyauto.com
I'm trying to install dashboard. I'm using: Ubuntu 12.04 LTS (32bit), Puppet 2.7.17. ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] rubygems 1.8.15 When I run the db:migrate task, I get the following: root@puppet-master-local:/usr/share/puppet-dashboard# rake RAILS_ENV=production db:mi

Re: [Puppet Users] can puppet-dashboard be installed on CentOS 5.4?

2012-07-10 Thread Jo Rhett
As the previous poster stated, there are numerous posts on the net and within the archives of this list answering your question. You've been ignored for several days because you keep asking questions that indicate you aren't bothering to search. On Jul 5, 2012, at 11:40 AM, Hai Tao wrote: > doe

[Puppet Users] Re: Certificate verify failed when syncing to self

2012-07-10 Thread llow...@oreillyauto.com
Please disregard, my puppet.conf had accidentally gotten overwritten and it was trying to pull from the wrong master as a result. On Tuesday, July 10, 2012 2:04:24 PM UTC-5, llo...@oreillyauto.com wrote: > > I am using puppet to control my master, but currently when the agent runs > (on the mast

[Puppet Users] Re: Trouble installing packages with Puppet on Arch Linux

2012-07-10 Thread Matthew Rayfield
Thanks for your reply jcbollinger! I think that this could actually be a bug. After reading your response I edited my manifest to only install the first package. I then went in and used pacman manually and noticed a pattern: The packages that were getting this error displayed "optional dependen

[Puppet Users] Certificate verify failed when syncing to self

2012-07-10 Thread llow...@oreillyauto.com
I am using puppet to control my master, but currently when the agent runs (on the master) I am getting "err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of

Re: [Puppet Users] The Puppet Way to handle slow resources? (newbie)

2012-07-10 Thread Christopher Wood
(inline) On Tue, Jul 10, 2012 at 11:39:58AM -0700, Dave Anderson wrote: > Hi > > I have a resource that is slow to come into service and I have other > resources that are dependent on the service in order to be configured. I've > been searching for the "puppet way" to do this, but all the optio

[Puppet Users] The Puppet Way to handle slow resources? (newbie)

2012-07-10 Thread Dave Anderson
Hi I have a resource that is slow to come into service and I have other resources that are dependent on the service in order to be configured. I've been searching for the "puppet way" to do this, but all the options I've found don't seem optimal, so I'm assuming there is a better way that I'm m

Re: [Puppet Users] Re: nodes do not appear in dashboard

2012-07-10 Thread Hai Tao
I have 6 nodes now, and only 3 shows up in dashboard. How can I check if the puppetmaster can talk to puppet-dashboard? also what does the dashboard-worker do? does it have to be running? On Tue, Jul 10, 2012 at 11:23 AM, Corey Hammerton wrote: > Can your puppetmaster talk to your puppet-dashboa

[Puppet Users] Re: nodes do not appear in dashboard

2012-07-10 Thread Corey Hammerton
Can your puppetmaster talk to your puppet-dashboard? Because new nodes should by default automatically appear on the dashboard, they have for me. On Tuesday, July 10, 2012 1:45:16 PM UTC-4, Hai wrote: > > I am running dashboard on centos 6.2, with autosign.conf configured with > *. > > I inst

Re: [Puppet Users] update apt key for puppetlabs and verify signature

2012-07-10 Thread rapid7bob
Yes, new to the group -- thanks. It took about 10 minutes to find and had I searched on the keyid and updated before the expiration, it would have been easier. Unfortunately, I was out of the office and it was fairly short notice over a holiday week (at least in the US). Cheers! Bob On Tues

[Puppet Users] nodes do not appear in dashboard

2012-07-10 Thread Hai Tao
I am running dashboard on centos 6.2, with autosign.conf configured with *. I installed puppet on a new node, which can get catalog, but it does not show up in dashboard. Can someone explain it is normal, and how I can make it appear in dashboard automatically? Thanks. Hai Tao -- You received

[Puppet Users] err: Could not request certificate: execution expired

2012-07-10 Thread Ganesh Kumar
Hi Guys, I am trying to executed sign client to server, I give the command to client #puppetd --test -d -v debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] debug: Finishing tra

[Puppet Users] rspec-puppet and tags

2012-07-10 Thread John Leach
Hi, I've got some defines that have different behaviour depending on what tags a node has been tagged with (one class adds some tags to enable support for something else). Has anyone got any advice on how best to test this with rspec-puppet? I've spent quite a bit of time trying to add tag sup

[Puppet Users] Re: puppet newbie

2012-07-10 Thread Marshie8
Thanks guys for all your help, that all now works perfectly. Best wishes, M -- 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/-/vckvMCUUo4kJ. To post to this

Re: [Puppet Users] manifest for files executable on windows

2012-07-10 Thread Viktoriya Tochilnikova
UPDATE: Here is the working version of the manifest file for windows agent. The master with such manifest will send wireshark and winpcap executables to the windows machine and execute them: file { 'C:\Users\vita\Downloads\Wireshark-win32-1.8.0.exe':   ensure => 'present',   sourc

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Matthew Burgess
On Tue, Jul 10, 2012 at 4:18 PM, Marshie8 wrote: > > On Tuesday, July 10, 2012 4:12:42 PM UTC+1, Matthew Burgess wrote: >> >> Then it looks like you're running puppet under its default webrick >> configuration. How do you start your puppetmaster? Via the init >> script? > > > Yes, it's running a

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Marshie8
On Tuesday, July 10, 2012 4:12:42 PM UTC+1, Matthew Burgess wrote: > > Then it looks like you're running puppet under its default webrick > configuration. How do you start your puppetmaster? Via the init > script? Yes, it's running as the puppet user: server-1:~ # ps -ef |grep 'puppetmast

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Matthew Burgess
On Tue, Jul 10, 2012 at 3:57 PM, Marshie8 wrote: > > > On Tuesday, July 10, 2012 3:26:47 PM UTC+1, Andreas Paul wrote: >> >> Of course the file you want to deploy with puppet must be readable by the >> puppetmaster. >> Do you use Apache Passenger, Nginx or webbrick? >> >> If you use Apache Passeng

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Marshie8
On Tuesday, July 10, 2012 3:26:47 PM UTC+1, Andreas Paul wrote: > > Of course the file you want to deploy with puppet must be readable by the > puppetmaster. > Do you use Apache Passenger, Nginx or webbrick? > > If you use Apache Passenger: > > The file /etc/puppet/files/server_file must be read

[Puppet Users] Re: puppetca --clean hostaname ERROR

2012-07-10 Thread Corey Hammerton
Run this command first: # puppetca --list --all It'll output all certs on your puppet master, displayed via FQDNs. Then you simply copy the FQDN and run this: # puppetca clean $fqdn On Tuesday, July 10, 2012 9:34:12 AM UTC-4, Ganesh Ganesh wrote: > > Hi Guys, > > I am trying to remove the sing

Re: [Puppet Users] Puppet not upgrading to newer version of Ruby

2012-07-10 Thread Benjamin Lei
I've tried --prefix but it didn't update (and at that point, it was overwriting it). The original Ruby install was is /usr/bin. On Tue, Jul 10, 2012 at 2:49 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 07/07/2012 03:32 AM, Benjamin Lei wrote: > > > > Huh that's weird :/ How do I

Re: [Puppet Users] Number of characters in string/variable

2012-07-10 Thread jkuskowski
Sweet thanks man!!! On Monday, July 9, 2012 2:43:59 PM UTC-4, Darren Chamberlain wrote: > > $ cat var_l.pp > $var = "i like pie" > $var_l = inline_template("<%= var.length %>") > notice("'$var' is $var_l characters long") > > $ puppet var_l.pp > notice: Scope(Class[main]): 'i like pie' is 10

[Puppet Users] Re: Hiera and environments

2012-07-10 Thread Luke Baker
Hmm, I moved the config file to /etc/puppet/ but my client is still giving me grief. On Tuesday, July 10, 2012 9:15:49 AM UTC-5, Andreas Paul wrote: > > AFAIK hiera-puppet looks for > */etc/puppet/hiera.yaml* > whereas the hiera CLI looks for > */etc/hiera.yaml* > > You can still use the CLI by

Re: [Puppet Users] yum.puppetlabs.com for fedora 17

2012-07-10 Thread Todd Zullinger
Matthaus Litteken wrote: Yes, we are working on packaging Fedora 17, but as Brian suspected, we haven't worked out the kinks in packaging against Ruby 1.9.x. If someone has patches to submit against the spec file in conf/redhat/puppet.spec that will allow for a ruby 1.9 build, please submit a

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Andreas Paul
Of course the file you want to deploy with puppet must be readable by the puppetmaster. Do you use Apache Passenger, Nginx or webbrick? If you use Apache Passenger: The file /etc/puppet/files/server_file must be readable by the user, who owns the /etc/puppet/rack/config.ru file. On Tuesday, Ju

[Puppet Users] Re: Hiera and environments

2012-07-10 Thread Andreas Paul
AFAIK hiera-puppet looks for */etc/puppet/hiera.yaml* whereas the hiera CLI looks for */etc/hiera.yaml* You can still use the CLI by specifying the config file hiera -c /etc/puppet/hiera.yaml sshpackages environment=development or just symlink it :) On Tuesday, July 10, 2012 3:31:43 PM UTC+2, Lu

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Marshie8
On Tuesday, July 10, 2012 11:33:38 AM UTC+1, Matthew Burgess wrote: > > My suggestion would be to take a copy of the file as it is on your > server now, and place it under the control of puppet. The following > simple manifest should do what you're after: > > class server_file { > > file

Re: [Puppet Users] layout question

2012-07-10 Thread llow...@oreillyauto.com
Comments in line. On Tuesday, July 10, 2012 8:39:17 AM UTC-5, Felix.Frank wrote: > > Hi, > > On 07/09/2012 08:17 PM, llowder wrote: > > What would be the best way of handling these? > > that's really hard to say at this level of granularity. > > Can you name a typical example of what can diffe

Re: [Puppet Users] system users class hogging whole cpu

2012-07-10 Thread Felix Frank
On 07/09/2012 09:31 PM, Marco Cancedda wrote: > I guess that was it, please confirm :-) We couldn't possibly, nor have we been in any position to guess this reason from the information given so far. Glad you came through with the debugging. Please note that puppet agent -dv or failing that puppe

Re: [Puppet Users] update apt key for puppetlabs and verify signature

2012-07-10 Thread Felix Frank
Hi, thanks for sharing, but apperently you missed the new key being announced to this group by Matthaus Litteken on July 5th. That would probably have saved you lots of trouble. Cheers, Felix On 07/09/2012 09:30 PM, rapid7bob wrote: > I did a set of google searches looking for the answer to this

Re: [Puppet Users] layout question

2012-07-10 Thread Felix Frank
Hi, On 07/09/2012 08:17 PM, llow...@oreillyauto.com wrote: > What would be the best way of handling these? that's really hard to say at this level of granularity. Can you name a typical example of what can differ among appserver classes? -- You received this message because you are subscribed

Re: [Puppet Users] Crontab overwritten by Puppet

2012-07-10 Thread Felix Frank
Hi, On 07/09/2012 03:48 PM, Kmbu wrote: > Fri Jul 06 22:44:35 +0200 2012 > /Stage[main]/Cre-base/Cron[puppet-run]/ensure (notice): created > Fri Jul 06 22:44:39 +0200 2012 Puppet (notice): Finished catalog run in > 5.54 seconds > > Why would one run suddenly do this? Are you absolutely certain t

[Puppet Users] puppetca --clean hostaname ERROR

2012-07-10 Thread Ganesh Kumar
Hi Guys, I am trying to remove the singing authority for particular host, It's showing error Did I learn something today? If not, I wasted it. [root@telx2NIU68 signed]# ls dvtelx2coastalalgoqa39.localdomain.pem [root@telx2NIU68 signed]# puppetca --clean telx2coastalalgoqa39 notice: Revoked certif

[Puppet Users] Hiera and environments

2012-07-10 Thread Luke Baker
Hey there, I'm new to hiera and I' m looking to configure it to use multiple environments. I'm able to query hiera keys from using the hiera CLI, however my clients seem to be having problems identifying the look up variables. *On the puppet master, CLI query* [root@puppet-dev puppet]# hiera

[Puppet Users] Re: How to create user with using puppet?

2012-07-10 Thread Martinus
You may also find the following link useful: http://itand.me/using-puppet-to-manage-users-passwords-and-ss Martinus. On Tuesday, 10 July 2012 12:49:42 UTC+1, Ganesh Ganesh wrote: > > Hi Guys, > > I am new to puppet world, Guys I want create a user with password, > with affect all mentioned hos

Re: [Puppet Users] How to create user with using puppet?

2012-07-10 Thread kish
On Tue, Jul 10, 2012 at 5:19 PM, Ganesh Kumar wrote: > Hi Guys, > > I am new to puppet world, Guys I want create a user with password, > with affect all mentioned hosts, how to do it, please guide me guys. There is this thread which talks about user creation. https://groups.google.com/forum/?fro

[Puppet Users] How to create user with using puppet?

2012-07-10 Thread Ganesh Kumar
Hi Guys, I am new to puppet world, Guys I want create a user with password, with affect all mentioned hosts, how to do it, please guide me guys. -Ganesh, Did I learn something today? If not, I wasted it. -- You received this message because you are subscribed to the Google Groups "Puppet Users

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Ganesh Kumar
Hi Marshie8 can you tied filebucket #Filebucket config filebucket { main: server => "puppet" } -Ganesh. Did I learn something today? If not, I wasted it. On Tue, Jul 10, 2012 at 4:55 AM, Marshie8 wrote: > Hi, > > I am new to Puppet. > > I need to monitor a file for changes on a serve

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Matthew Burgess
On Tue, Jul 10, 2012 at 9:55 AM, Marshie8 wrote: > Hi, > > I am new to Puppet. > > I need to monitor a file for changes on a server and if it does, copy it > immediately to the clients. But it has permissions 640, and must retain > these. > > Can anyone suggest a manifest for this? Hi, The idea

Re: [Puppet Users] Puppet not upgrading to newer version of Ruby

2012-07-10 Thread Felix Frank
On 07/07/2012 03:32 AM, Benjamin Lei wrote: > > Huh that's weird :/ How do I make it so that ruby installs under > /usr/bin then? > > Here's what I currently do: > > exec { "unload-ruby": > command => "wget > ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p370.tar.gz >> > /tmp/r

Re: [Puppet Users] Array mapping

2012-07-10 Thread Erik Dalén
On 10 July 2012 11:21, Jonathan Gazeley wrote: > Some of my facter variables are formatted as a comma-separated list of > network interfaces, and of system disks. I wish to create separate Nagios > checks for each. When I reference the variable like this, the individual > entries from the list are

[Puppet Users] Array mapping

2012-07-10 Thread Jonathan Gazeley
Hi all, I'm aware that using a "define" can be used to create multiple resources from a list of items, like this: define print { notify{"the message is: ${name}": } } print{["one", "two", "three"]: } This would be the same as making these resources by hand: notify{"the message is: one":

[Puppet Users] puppet newbie

2012-07-10 Thread Marshie8
Hi, I am new to Puppet. I need to monitor a file for changes on a server and if it does, copy it immediately to the clients. But it has permissions 640, and must retain these. Can anyone suggest a manifest for this? Thanks a lot. M -- You received this message because you are subscri