Re: [Puppet Users] puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
Thanks Ramin. A good tip. Thank-you. On Dec 16, 2013, at 1:49 PM, Ramin K wrote: > No Ruby Mysql bindings aka the mysql gem. > > http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-dependencies > > Ramin > > On 12/16/2013 12:37 PM, Stuart Cracraft wrote: >> And the

[Puppet Users] gem update error

2013-12-16 Thread Stuart Cracraft
gem update --system 1.8.25 --http-proxy=//ourproxy:ourport/ is giving me: ERROR: While executing gem ... (Net::HTTPServerException) 403 "Forbidden" I've confirmed at the proxy rubygems.org is open and also confirmed the port. Has something changed about updating with gem update? Or am I m

[Puppet Users] Re: gem install error

2013-12-16 Thread Stuart Cracraft
You're the man Cory. Works great. Thanks. Stuart On Monday, December 16, 2013 2:37:23 PM UTC-8, Stuart Cracraft wrote: > > Anyone seen this? > > [root@ca-sna-pm01 puppet-dashboard]# !gem > > gem install mysql-2.9.1 > > ERROR: While executing gem ... (Net::HTTPServerException) > > 403 "F

Re: [Puppet Users] gem install error

2013-12-16 Thread Cory Stoker
Some ruby gems are compiled and they need dependencies. In this case you need the MySQL development files. Usually it is an RPM like mysql-devel that you need in addition to gcc, make, etc... The first error is probably because you specify versions in gem differently than how you tried above. F

[Puppet Users] gem install error

2013-12-16 Thread Stuart Cracraft
Anyone seen this? [root@ca-sna-pm01 puppet-dashboard]# !gem gem install mysql-2.9.1 ERROR: While executing gem ... (Net::HTTPServerException) 403 "Forbidden" [root@ca-sna-pm01 puppet-dashboard]# gem install mysql Building native extensions. This could take a while... ERROR: Error in

Re: [Puppet Users] Puppet Labs issue tracker migration 16 Dec 2013

2013-12-16 Thread Charlie Sharpsteen
On Monday, December 16, 2013 11:37:26 AM UTC-8, Jason Antman wrote: > > I've gone through and migrated most of the issues I was watching (and > still care about) that weren't already. > > I ran into 4 issues that show up with a message of: > > "This issue is currently not available for export. I

[Puppet Users] Re: Issues with hiera

2013-12-16 Thread jcbollinger
On Friday, December 13, 2013 11:17:44 PM UTC-6, Toki Winter wrote: > > Hi all, > > I'm running the following versions of Puppet and Hiera: > > [root@centosa manifests]# puppet agent --version > 3.3.2 > [root@centosa manifests]# hiera --version > 1.3.0 > > I have defined my hiera.yaml as follows:

[Puppet Users] Re: Overriding class options with hiera

2013-12-16 Thread jcbollinger
On Monday, December 16, 2013 9:53:49 AM UTC-6, Bilco105 wrote: > > Hi, > > I'm trying to do something with Hiera, whereby the 'default' configuration > for a class is within it's role/profile manifest, which can then be > overridden on a node specific basis by hiera. > > As an example; > > cla

Re: [Puppet Users] Re: puppet-dashboard status report and bottleneck

2013-12-16 Thread Ramin K
No Ruby Mysql bindings aka the mysql gem. http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-dependencies Ramin On 12/16/2013 12:37 PM, Stuart Cracraft wrote: And the installed gems and ruby version. [root@ca-sna-pm01 puppet-dashboard]# gem list *** LOCAL GEMS ***

Re: [Puppet Users] Re: Resource ordering only using Hiera?

2013-12-16 Thread jcbollinger
On Monday, December 16, 2013 10:38:27 AM UTC-6, Joseph Swick wrote: > > On 12/16/2013 10:59 AM, jcbollinger wrote: > > > > > > On Friday, December 13, 2013 3:56:50 PM UTC-6, Joseph Swick wrote: > > > > [...] > > > > What am I missing to get Puppet to evaluate the $resourceX_type > >> vari

[Puppet Users] Re: puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
And the installed gems and ruby version. [root@ca-sna-pm01 puppet-dashboard]# gem list *** LOCAL GEMS *** actionmailer (3.2.13) actionpack (3.2.13) activemodel (3.2.13) activerecord (3.2.13) activeresource (3.2.13) activesupport (3.2.13) archive-tar-minitar (0.5.2) arel (3.0.2) bui

[Puppet Users] Re: puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
Here is the rake trace: [root@ca-sna-pm01 puppet-dashboard]# !1154 rake RAILS_ENV=production db:migrate rake aborted! undefined method `source_index' for Gem:Module (See full trace by running task with --trace) [root@ca-sna-pm01 puppet-dashboard]# !! --trace rake RAILS_ENV=production db:m

[Puppet Users] Re: yamlyzer

2013-12-16 Thread Stuart Cracraft
Is the back-end piece of Puppet Dashboard which implements the CSV-capability of the YAML interpretation available as a standalone? On Thursday, December 12, 2013 3:20:41 PM UTC-8, Stuart Cracraft wrote: > > Hi everybody, > > Is there a command-line program which parses: > > puppetmasters*:/va

[Puppet Users] Re: puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
Here's a little more detail if we try to start the production dashboard server prior to having the previous rake runnable error-free... [root@ca-sna-pm01 puppet-dashboard]# sudo -u puppet-dashboard ./script/server -e production ./script/../config/../vendor/rails/railties/lib/rails/gem_dependenc

[Puppet Users] puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
I followed: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html and have reached the point after puppet dashboard install/configuration MySQL server and MySQL client installation/configuration/startup at Preparing Schema and now receive the error: rake RAILS_ENV=prod

[Puppet Users] Re: Issues with hiera

2013-12-16 Thread Paul Archer
Is your clientcert == 'centosa', or is it 'centosa.example.com'? And have you tested it on the command line: hiera security::tcpwrappers::hostsallow operatingsystem=CentOS On Friday, December 13, 2013 11:17:44 PM UTC-6, Toki Winter wrote: > > Hi all, > > I'm running the following versions of Pu

Re: [Puppet Users] Windows - MSI that shows up in Windows Features instead of Add/Remove Programs

2013-12-16 Thread Rob Reynolds
Ah, I was under the mistaken impression that you were installing IE11 somewhere that is it is built into the box, which would allow you to take advantage of just asking DISM (or the Windows-Feature module found http://forge.puppetlabs.com/opentable/windows_feature) to just add that feature. I woul

Re: [Puppet Users] Puppet Labs issue tracker migration 16 Dec 2013

2013-12-16 Thread Jason Antman
I've gone through and migrated most of the issues I was watching (and still care about) that weren't already. I ran into 4 issues that show up with a message of: "This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in J

Re: [Puppet Users] how to see which classes are assigned to a node?

2013-12-16 Thread Paul Archer
grep /etc/puppet/modules /var/lib/puppet/state/last_run_report.yaml | awk '{print $2}' | awk -F/ '{print $5}' | sort -u -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an e

Re: [Puppet Users] how to see which classes are assigned to a node?

2013-12-16 Thread Paul Archer
I don't have a 'classes.txt' file: root@sftp-test2:/var/lib/puppet/state# l total 44 drwxr-xr-x. 2 root root 4096 Dec 4 13:09 graphs -rw-r-. 1 root root 22128 Dec 13 10:40 last_run_report.yaml -rw-r--r--. 1 root root 521 Dec 13 10:40 last_run_summary.yaml -rw-r-. 1 root root 263 Dec

[Puppet Users] Customizing puppet run log format

2013-12-16 Thread Jay
Hi Friends, Is there any configuration file.. where I can add / remove log formats of puppet run? I need timestamp in the log which is currently missing. Thanks in Advance! Regards, Jay -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsub

Re: [Puppet Users] MySql: allow user root to access from any host

2013-12-16 Thread Matt Zagrabelny
On Sat, Dec 14, 2013 at 7:04 AM, Felix Gläske wrote: > Hey, > I'm doing my first steps with puppet right now and I'm trying to set up a > dev machine. > For this I'm installing MySql and want to do some initial set up. > The server is up and running and also my database is created. > Now I want to

[Puppet Users] MySql: allow user root to access from any host

2013-12-16 Thread Felix Gläske
Hey, I'm doing my first steps with puppet right now and I'm trying to set up a dev machine. For this I'm installing MySql and want to do some initial set up. The server is up and running and also my database is created. Now I want to allow the user root to login from any host because I want to co

[Puppet Users] Issues with hiera

2013-12-16 Thread Toki Winter
Hi all, I'm running the following versions of Puppet and Hiera: [root@centosa manifests]# puppet agent --version 3.3.2 [root@centosa manifests]# hiera --version 1.3.0 I have defined my hiera.yaml as follows: [root@centosa hieradata]# cat /etc/puppet/hiera.yaml --- :backends: - yaml :yaml:

Re: [Puppet Users] Re: Resource ordering only using Hiera?

2013-12-16 Thread Joseph Swick
On 12/16/2013 10:59 AM, jcbollinger wrote: > > > On Friday, December 13, 2013 3:56:50 PM UTC-6, Joseph Swick wrote: > > [...] > > What am I missing to get Puppet to evaluate the $resourceX_type >> variables as a resource type [e.g: File, Service, etc.] to get this to >> work? > > > > Puppe

Re: [Puppet Users] Puppet Labs issue tracker migration 16 Dec 2013

2013-12-16 Thread Erik Dalén
What is the desired workflow for submitting a pull request for a ticket? The old field for branch seems gone and the issue status "In topic branch awaiting review" is gone as well. The workflow menu shows 25 different issue statuses and I have no clue which one to choose. On 10 December 2013 19:

[Puppet Users] Re: Resource ordering only using Hiera?

2013-12-16 Thread jcbollinger
On Friday, December 13, 2013 3:56:50 PM UTC-6, Joseph Swick wrote: [...] What am I missing to get Puppet to evaluate the $resourceX_type > variables as a resource type [e.g: File, Service, etc.] to get this to > work? Puppet DSL does not provide such a feature. It is conceivable -- likely

[Puppet Users] Overriding class options with hiera

2013-12-16 Thread Bilco105
Hi, I'm trying to do something with Hiera, whereby the 'default' configuration for a class is within it's role/profile manifest, which can then be overridden on a node specific basis by hiera. As an example; class profile::base { class { '::ntp': servers => ['a', 'b', 'c', 'd'] } } n

[Puppet Users] Change to issue tracking for Forge & PL Module projects

2013-12-16 Thread Ryan Coleman
As Eric Sorenson noted earlier [1], issue tracking for most projects at Puppet Labs are moving to JIRA. This includes the Puppet Forge and the Puppet Labs modules on the Forge. As of this morning, Forge issues in Redmine have been set to read-only and have been migrated into the FORGE project in t

[Puppet Users] Re: Interpolating hiera variables in hiera itself

2013-12-16 Thread Thomas Eichberger
Would be great if you could post an example here :-) I cannot see yet how to use hiera() here. On Friday, December 13, 2013 8:57:42 PM UTC+1, Guy Knights wrote: > > Well, wouldn't you know it but I just discovered the hiera() lookup > function which does exactly what I want. > > On Friday, 13 De

[Puppet Users] Re: Multiple runs needed to update configs?

2013-12-16 Thread jcbollinger
On Saturday, February 25, 2012 1:11:36 PM UTC-6, Mike Knell wrote: > > Hey folks, > > I've got a fairly basic out-of-the-box puppetmaster/puppet setup (out > of the box on Ubuntu, that is), but am running into a bit of an odd > problem with updating clients. > > The first time a host runs Puppet,

Re: [Puppet Users] Mcollective Concepts

2013-12-16 Thread Dick Davies
The agents on your servers are connected to a pub/sub system (stomp usually). that's the port you're referring to. the commands get sent into that pub/sub system , agents do stuff and send back replies using the same pub/sub setup. you pull the replies off that. there's no direct connection betwe

Re: [Puppet Users] Mcollective Concepts

2013-12-16 Thread Cristian Falcas
Hi, Mco is connecting to the activemq server. port 61613 without ssl, 61614 with ssl. The master server? This will be the machine where you have activemq. And yes, you will need only incoming requests on that port to be enabled. Mco client will also connect only to activemq and put commands on t

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-12-16 Thread David Portabella
hi, yes, this script works quite well! :) https://groups.google.com/d/msg/puppet-users/cHpZlKkPmr4/RRQ6VWsGdMQJ However, we are currently using the "Oracle WebLogic / Fusion Middleware" puppet module, http://forge.puppetlabs.com/biemond/wls/1.3.3 which declares some file resources with the path

[Puppet Users] Re: Pass variable to class from hiera puppetlabs-apache

2013-12-16 Thread jcbollinger
On Friday, December 13, 2013 4:13:22 PM UTC-6, Paul Archer wrote: > > The classes indicator/variable/key (whatever it's officially called) is > only for classes. > Then in the appropriate yaml file, specify: > apache::mpm_module: false > or whatever. It's that easy. > > So your file should look

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-12-16 Thread Felix Frank
Hi, this thread has been going on for a while, and you may have already commented on this, in this case please humor me: Couldn't you collect and interpret the output of puppet apply? On 12/16/2013 02:14 PM, David Portabella wrote: > This seems an overcomplicated issue. Just to step back and loo

[Puppet Users] Mcollective Concepts

2013-12-16 Thread kaustubh chaudhari
Hi All, Hey All! I am trying to understand how Mcollective actually works. Say my master is a mcollective server! and i am running commands from the same server itself. i know that mcollective is a broadcast request to all the nodes in the network. Question is on what port this broadcast re

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-12-16 Thread David Portabella
Hi, thanks again for the info. This seems an overcomplicated issue. Just to step back and look at the global picture: we are just asking to get the list of all resources updated when executing "puppet apply" in a non master/agent puppet environment. this should be a basic functionality; we are n

[Puppet Users] Re: Puppet Labs issue tracker migration 16 Dec 2013

2013-12-16 Thread Charlie Sharpsteen
On Monday, December 16, 2013 1:46:45 AM UTC-8, R.I. Pienaar wrote: > > > I am probably just missing the obvious - in redmine it was possible to > subscribe to an entire project and get all activity. How do I do the same > with Jira? > In JIRA, you can subscribe to any saved issue query and hav

[Puppet Users] Re: Projects.puppetlabs.com undergoing maintenance at 9PM PST

2013-12-16 Thread Charlie Sharpsteen
On Sunday, December 15, 2013 8:46:42 PM UTC-8, Matt Kirby wrote: > > Hello, > > We will be performing maintenance on Puppet Labs redmine at > projects.puppetlabs.com starting at 9PM PST. During this time redmine > will be unavailable. Estimated downtime for maintenance is one hour after > which

[Puppet Users] Re: Puppet Labs issue tracker migration 16 Dec 2013

2013-12-16 Thread R.I. Pienaar
On Tuesday, December 10, 2013 6:51:51 PM UTC, Eric Sorenson wrote: > > Hi, as I mailed about a little while ago[1], we're migrating issue > tracking for Puppet Labs projects from Redmine to JIRA. > > After working through the tooling and integration concerns, we're going > to make the switch o