[Puppet Users] Re: Puppet-dashboard not importing automatically the reports

2014-10-15 Thread Juan Sierra Pons
More info about this issue: On the working dashboard installation the logs says: Processing ReportsController#upload (for 10.X.X.X at 2014-10-15 03:28:38) [POST] Parameters: {action=upload, controller=reports} Completed in 40ms (View: 0, DB: 13) | 200 OK

[Puppet Users] how to force tomcat restart using puppet kick and service type ?

2014-10-15 Thread Richard
I'm using the puppetlab-tomcat module.when i want to start tomcat ,i will kick the agent to run this code. tomcat::service{'default': service_ensure = true, catalina_base ='/opt/apache-tomcat/tomcat', } if i want to stop,i will change the service_ensure to false.

[Puppet Users] Re: pkgutil package provider (solaris)

2014-10-15 Thread Frederic Conrotte
Hello Like many enterprises, we have an heterogeneous infrastructure with some CentOS and Solaris machines. I was wondering if there are existing plans about creating for Solaris the equivalent of the yumrepo type ? https://docs.puppetlabs.com/references/latest/type.html#yumrepo Something

[Puppet Users] PDB 1.6: Queries filtering facts with large values might fail

2014-10-15 Thread ak0ska
Hello, We are running PuppetDB 1.6.0. We have fact 'a' in puppetdb that has large numbers occasionally, such as 2930266584. When we launch a query /v3/facts/a with filter '[, value, 1950341121]' it returns code 200 with an empty body, while puppetdb.log shows a new error: 2014-10-15

Re: [Puppet Users] PDB 1.6: Queries filtering facts with large values might fail

2014-10-15 Thread Ken Barber
We are running PuppetDB 1.6.0. We have fact 'a' in puppetdb that has large numbers occasionally, such as 2930266584. When we launch a query /v3/facts/a with filter '[, value, 1950341121]' it returns code 200 with an empty body, while puppetdb.log shows a new error: 2014-10-15 11:20:41,293

Re: [Puppet Users] PDB 1.6: Queries filtering facts with large values might fail

2014-10-15 Thread ak0ska
Thanks for the explanation! On Wednesday, October 15, 2014 1:36:49 PM UTC+2, Ken Barber wrote: We are running PuppetDB 1.6.0. We have fact 'a' in puppetdb that has large numbers occasionally, such as 2930266584. When we launch a query /v3/facts/a with filter '[, value, 1950341121]'

[Puppet Users] Re: One puppet run divided to two puppet runs

2014-10-15 Thread jcbollinger
I'm uncertain which differences between the two logs you find significant. They do appear to have been recorded at different log levels -- that explains why one has Updated: entries and the other does not. The various packages are managed in different order in the two runs, but Puppet

[Puppet Users] Re: LoadError: no such file to load -- facter/util/file_read

2014-10-15 Thread Spriya
Hi Craig, I am using PE. My installation was all in one(master,database,console). Yes i have more than one ruby installed. *ruby -v* *ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]* *$ cd /opt/puppet/bin* *./ruby -v* *ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]* let me

Re: [Puppet Users] puppetlabs-corosync: cs_property doesn't get set

2014-10-15 Thread ge...@riseup.net
Hi, On 14-10-08 22:57:33, ge...@riseup.net wrote: I'm running Debian wheezy, puppet version 2.7.23. I wanted to have a look at the corosync module provided by puppetlabs [1]. [...] After the agent run, corosync and pacemaker gets installed, and the cluster gets set up. However, despite

Re: [Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-15 Thread ge...@riseup.net
Hi James, On 14-10-13 19:58:02, James Eckersall wrote: I had issues when I was first using this module with the primitives. After fixing the issue with cs_property, I'm now running into the same problem like you. Despite cs_primitive being defined in puppet, it doesn't get created. Did you

[Puppet Users] Dynamic environments with r10k using svn instead of git

2014-10-15 Thread Juan Sierra Pons
Hi, I feel pretty comfortable using dynamic environments using r10k and git. BUT I have been asked to try using svn instead of git At the Puppetfile level should be pretty easy as it is well documented [1] mod 'apache', :svn = 'https://github.com/puppetlabs/puppetlabs-apache/trunk', :rev =

[Puppet Users] [SOLVED]Re: Puppet-dashboard not importing automatically the reports

2014-10-15 Thread Juan Sierra Pons
Hi again, Finally I have found the problem. When I migrated the dashboard from webrick to be served by apache I misconfigured the dashboard.conf (at apache level) so I was restricting the puppetmaster to PUT the reports on the proper URL. Location /reports/upload Limit POST # Configuration

Re: [Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-15 Thread james . eckersall
Hi, In the cs_primitive provider, I added debug code to write the updated var to a file in /tmp. I then tried applying that with crm update as the provider does. Crm was returning errors to me that the provider wasn't. I was able to use that to determine that I didn't have all the params set

Re: [Puppet Users] Re: Passing Parameters to Powershell

2014-10-15 Thread Paul Ponzeka
Hopefully this is my last question. How do i get the variable that passes through to powershell to be a proper array? The reason is that i need to run a foreach loop on it, but it sees the variable as one long item instead of multiples if its configured as such: $forwarders =

[Puppet Users] Re: One puppet run divided to two puppet runs

2014-10-15 Thread Marcin Spoczynski
Thanks for the answer, but the main question is why puppet need to have 2 puppet runs instead of one in the 2 nd example? On Wednesday, 15 October 2014 14:11:48 UTC+1, jcbollinger wrote: I'm uncertain which differences between the two logs you find significant. They do appear to have been

Re: [Puppet Users] Re: pkgutil package provider (solaris)

2014-10-15 Thread Wil Cooley
On Oct 15, 2014 3:55 AM, Frederic Conrotte frederic.conro...@gmail.com wrote: Hello Like many enterprises, we have an heterogeneous infrastructure with some CentOS and Solaris machines. I was wondering if lookthere are existing plans about creating for Solaris the equivalent of the yumrepo

[Puppet Users] Puppet Master Disk usage management

2014-10-15 Thread Mark Rosedale
Hello, I'm running puppet with puppetdb and puppet-dashboard all on my master. I want to make sure that I don't get overrun with disk usage by either the master (storing reports) or the dbs for puppetdb (I'm running postgres) or puppet-dashboard (mysql). I'm wondering what some people do to

[Puppet Users] Re: LoadError: no such file to load -- facter/util/file_read

2014-10-15 Thread Craig White
OK - so am I at the moment anyway... # puppet -V 3.6.2 (Puppet Enterprise 3.3.2) I was rather frustrated by not having a system ruby so I did the following... # ln -s /opt/puppet/bin/ruby /opt/puppet/bin/irb /opt/puppet/bin/gem /usr/local/bin which made ruby/gem/irb available to any user any

[Puppet Users] Using r10k to deploy production. How to setup a local dev environment for modules?

2014-10-15 Thread JeremyCampbell
Hi, We're using r10k with a 'control' repo to deploy to our production server following Gary Larizza's excellent series http://garylarizza.com/blog/2014/03/07/puppet-workflow-part-3b/ workflow with r10k. Our current workflow requires engineers to commit changes to the repo on a feature branch

[Puppet Users] PuppetDB curl and puppetdbquery tentative to filter nodes on an array type parameter including a value

2014-10-15 Thread Baptiste Grenier
Hello puppeters, I have check_mk::host resource exported by my nodes, and this resources contain a host_tags parameter that is an array. I am trying to query PuppetDB to filer my nodes to retrieve all the nodes exporting this Check_mk::Host resources containing a specific value (nat) in the

Re: [Puppet Users] Puppet Master Disk usage management

2014-10-15 Thread Dhaval Thakar
Hi, I run following commands to clean reports from mysql filesystem. I am still learning puppet, try this on your test setup. For my requirement dashboard reports for three days is enough. cd /usr/share/puppet-dashboard ; export RAILS_ENV=production ; rake reports:prune upto=3 unit=day cd

[Puppet Users] Sid and Unstable have been removed from apt.puppetlabs.com

2014-10-15 Thread Melissa Stone
As previously announced[1], Sid and Unstable have now been removed from apt.puppetlabs.com [1] - https://groups.google.com/d/msg/puppet-users/qGokHDBC38Q/UmFVKRFA6XYJ -- Melissa Stone Release Engineer, Puppet Labs -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Puppet Master Disk usage management

2014-10-15 Thread Mark Rosedale
That is good information, though I find that the prune command for puppet-dashboard doesn't really seem to have a major impact on disk usage. I did find this as yet another directory where reports are stored /usr/share/puppet-dashboard/spool Looks like that may need the same attention

[Puppet Users] Using gem from new puppetserver custom function?

2014-10-15 Thread Schofield
I am testing out the new puppetserver https://github.com/puppetlabs/puppet-server/blob/master/documentation/install_from_packages.markdownand finding a problem with referencing a gem installed to the local ruby. A custom function is installed to

Re: [Puppet Users] Using gem from new puppetserver custom function?

2014-10-15 Thread Kylo Ginsberg
On Wed, Oct 15, 2014 at 11:50 AM, Schofield dbschofi...@gmail.com wrote: I am testing out the new puppetserver https://github.com/puppetlabs/puppet-server/blob/master/documentation/install_from_packages.markdownand finding a problem with referencing a gem installed to the local ruby. A

Re: [Puppet Users] Puppet Master Disk usage management

2014-10-15 Thread Ramin K
On 10/15/14 9:11 AM, Mark Rosedale wrote: Hello, I'm running puppet with puppetdb and puppet-dashboard all on my master. I want to make sure that I don't get overrun with disk usage by either the master (storing reports) or the dbs for puppetdb (I'm running postgres) or puppet-dashboard

[Puppet Users] Client-side tech stack

2014-10-15 Thread Kylo Ginsberg
[I am forking from the thread announcing Puppet Server 0.2.0, for which this was OT.] Sorry for the delayed response on this - hard to keep up with email at times :) On Fri, Oct 10, 2014 at 4:55 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 10/03/2014 03:50 PM, jcbollinger wrote:

[Puppet Users] Re: how to transfer list of interfaces from hiera to class

2014-10-15 Thread Corey Osman
Your other option if using the future parser is to use the each function and iterate around the hash like you would in any other language. $interfaces = hiera('network_interfaces') # https://docs.puppetlabs.com/references/latest/function.html#each $interfaces.each { |$interface|

[Puppet Users] Re: Custom Providers and Third Party Gems

2014-10-15 Thread Corey Osman
Just to add. If you can remove any gem dependency by reimplementing that functionality inside your own provider or even create some helper code I would try that. There is a section in Nan's book that details how to distribute external helper code inside the module for native types/providers.

Re: [Puppet Users] Re: Puppet facts uploading to PuppetDB

2014-10-15 Thread Corey Osman
I am using this in a puppet post run command to upload the facts that changed after the puppet run. I have run into this problem on many occasions where I like to build a custom UI around displaying custom facts. Because facts only get uploaded to puppetdb before the puppet agent runs so

Re: [Puppet Users] Using gem from new puppetserver custom function?

2014-10-15 Thread Schofield
Thanks for the reply. That does indeed look to be the solution. -- 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 email to puppet-users+unsubscr...@googlegroups.com. To

Re: [Puppet Users] Using gem from new puppetserver custom function?

2014-10-15 Thread Corey Osman
Piggybacking off the same topic. I have a few parsers that use the JSON gem so require 'json' is at the top of my parser which requires the native C extensions. Does the new puppet server come with a jrbuy version of the json gem that contains the functions? How would I write a parser that

[Puppet Users] split PE install console node not reporting

2014-10-15 Thread Difladermaus
New split node install and end of install displayed this issue. Same meesage when try to run puppet agent --test [root@pmc-bashir pe-mcollective]# puppet agent --test Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL* connect returned=1 errno=0

[Puppet Users] SSL POODLE Vulnerability

2014-10-15 Thread Mike Seda
Puppet Developers, Based on the SSL POODLE vulnerability ( https://www.openssl.org/~bodo/ssl-poodle.pdf ), will you be patching WEBrick to deny SSLv3 like you did with SSLv2 ( https://projects.puppetlabs.com/issues/19151 )? Mike -- You received this message because you are subscribed to the

[Puppet Users] how install foreman in suse 11 sp2

2014-10-15 Thread tony jia
My work environment is completely using SUSE 11 SP2 opereating system,now i received a request to use the foreman. but http://software.opensuse.org/; only has home repos. how install foreman better ? -- You received this message because you are subscribed to the Google Groups Puppet Users

[Puppet Users] Re: Could not set 'file on ensure: undefined method `' for 760

2014-10-15 Thread Torsten Amshove
Hi, I just saw there is an update to 2.7.x IN SLES 11 SP3 now - there it is fixed. Regards Torsten -- 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 email to