[Puppet Users] Windows woes.....how to send a refresh event to an array of services, with one service depending on one other?

2014-10-02 Thread Stephen Wallace
Hi, I'm using PE 3.1.1 on Win2k8R2. I'm sending a refresh event to a class containing this declaration. service { ['Sentinel RMS License Manager', 'Micro Focus XDB Server for ETD 2.2', 'Micro Focus CES daemon']: ensure = 'running', enable = 'true', } This results in the

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
We try not to use stages at all, unless absolutely necessary and we would love to avoid them if we could. Our puppet code is used on around ~3000 machines in a heterogeneous environment of both various hardwares, os boot systems and applications, so at times its an unnecessary evil It is my

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
We try not to use stages at all, unless absolutely necessary and we would love to avoid them if we could. Our puppet code is used on around ~3000 machines in a heterogeneous environment of both various hardwares, os boot systems and applications, so at times its an necessary evil It is my

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

2014-10-02 Thread Ken Barber
We do this, but could probably live without it. But we do it using the facts indirector and setting it up to cache to puppetdb. So in both cases you use 'puppet facts upload'? ken. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] mod_passenger.so is missing

2014-10-02 Thread Alan Vance
Hi, I'm new to puppet, ruby, passenger etc and am trying to get the free version of puppet installed (fyi, my servers have no internet connection). The steps recommend using apache and passenger. Installed ruby products but mod_passenger.so is missing: rpm -qa | egrep ruby

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
hmmm, I've created a new class trying to replicated the exact same thing with different files, and I cant seem to.. Will have to do a lot more digging to see where this is coming from -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

Re: [Puppet Users] Re: facter error message - what does this mean?

2014-10-02 Thread kaustubh chaudhari
Hi All, yes same with me. I restarted the system and errors are gone. Still was not able to find the root cause. I m good for now after the restart. With Warm Regards Kaustubh.A.Chaudhari (M)-09373102619 On Wed, Oct 1, 2014 at 3:21 PM, jmp242 jp10...@gmail.com wrote: Ok, thanks, it turns

Re: [Puppet Users] Could not retrieve catalog from remote server: end of file reached

2014-10-02 Thread Bret Wortman
Bingo! I set the timeout to 15s on server and agent both (some of our network links are pretty crappy) and now everyone's connecting as before. Thanks for the tip! On Wednesday, October 1, 2014 6:24:07 PM UTC-4, Josh Cooper wrote: On Wed, Oct 1, 2014 at 10:47 AM, Bret Wortman

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
The first error was being thrown out and I didn't see the second one. Its easy to replicate using puppet 3.3.2 node test { class {crond::test:stage=post,} } define crond::job($jobs,$comment,$mail=root) { include crond::cleanup file { /etc/cron.d/${name}.puppet.cron:

[Puppet Users] Re: mod_passenger.so is missing

2014-10-02 Thread Chris Lee
assuming linux you could run yum whatprovides *mod_passenger.so for example on my system it is as follows: mod_passenger-3.0.17-2.el6.1.x86_64 : Apache Module for Phusion Passenger Repo: atds Matched from: Filename: /usr/lib64/httpd/modules/mod_passenger.so

[Puppet Users] Re: mod_passenger.so is missing

2014-10-02 Thread Chris Lee
ps: not so sure about the gems and why its not there? -- 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 view this

[Puppet Users] Error 500

2014-10-02 Thread Jonathan Gazeley
For quite a long time now, we've intermittently been receiving Error 500 when doing puppet runs. There's nothing bad in the puppetmaster log, but the Apache log on the puppetmaster shows a segfault (see below). Any ideas for debugging/fixing this? Thanks, Jonathan [jg4461@radius03 ~]$ sudo

Re: [Puppet Users] Announce: Puppet Server 0.2.0

2014-10-02 Thread jcbollinger
On Wednesday, October 1, 2014 9:34:25 AM UTC-5, Felix.Frank wrote: On 10/01/2014 03:35 PM, Jeffrey Watts wrote: On Wed, Oct 1, 2014 at 8:13 AM, jcbollinger john.bo...@stjude.org javascript: wrote: As for a link, the C++ Frequently Questioned Answers http://yosefk.com/c++fqa/ helped

[Puppet Users] Re: subscribe and refreshonly - expected behavior

2014-10-02 Thread jcbollinger
On Wednesday, October 1, 2014 1:57:04 PM UTC-5, Mike Reed wrote: Hello all, My thanks in advance to anybody with thoughts on this. I have a module in which I would like two resources to be applied/refreshed based on the change of their parent resource. The code looks something like

[Puppet Users] Restarting puppet agent after upgrade

2014-10-02 Thread JonY
I've been having problems (documented here) with upgrading my clients from p-ver 3.5.1 and facter 1.7.5 to 3.7 and 2.2 respectively. (TL;DR - the client gives a facter error with every run and is essentially wedged). I filed a bug but was told restarting the puppet service will clear up this

Re: [Puppet Users] Arbitrary facts - Best practices?

2014-10-02 Thread Ciro Iriarte
El viernes, 26 de septiembre de 2014 15:21:19 UTC-4, Christopher Wood escribió: In your place I'd add a level to my hiera setup and template the bird config. There's a number of different options you could use to classify which node is in which site, from the node yaml in hiera to an

Re: [Puppet Users] Arbitrary facts - Best practices?

2014-10-02 Thread Christopher Wood
On Thu, Oct 02, 2014 at 07:18:24AM -0700, Ciro Iriarte wrote: El viernes, 26 de septiembre de 2014 15:21:19 UTC-4, Christopher Wood escribió: In your place I'd add a level to my hiera setup and template the bird config. There's a number of different options you could

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread jcbollinger
It's not clear to me why the autorequire was added to the Tidy resource type, and in fact I am having trouble even locating it in the Puppet code. I suppose the objective is probably to deal with recursively tidying directories that are wholly or partially managed via recursive File

Re: [Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Christopher Wood
On Thu, Oct 02, 2014 at 01:39:09AM -0700, Chris Lee wrote: We try not to use stages at all, unless absolutely necessary and we would love to avoid them if we could. Have you tried collectors+tagging and chaining? We've had good results with those.

Re: [Puppet Users] Arbitrary facts - Best practices?

2014-10-02 Thread Ciro Iriarte
El jueves, 2 de octubre de 2014 10:51:58 UTC-4, Christopher Wood escribió: On Thu, Oct 02, 2014 at 07:18:24AM -0700, Ciro Iriarte wrote: El viernes, 26 de septiembre de 2014 15:21:19 UTC-4, Christopher Wood escribió: In your place I'd add a level to my hiera setup and

[Puppet Users] custom function error undefined local variable

2014-10-02 Thread Mark Rosedale
I have the following custom function that I'm trying to write. require 'resolv' module Puppet::Parser::Functions newfunction(:getIpAddr, :type = :rvalue) do |arguments| Resolv::DNS.open do |dns| ress = dns.getresources(arguments[0], Resolv::DNS::Resource::IN::A) if ress.any?

[Puppet Users] Custom Providers and Third Party Gems

2014-10-02 Thread Chris Pitman
Hey everyone, I'm hoping someone can enlighten me here: Why is it so hard/complicated to use third party gems when developing a custom provider? It seems to me that pulling in gems should be priority #1, since it allows providers to leverage a lot of development already done in the ruby

[Puppet Users] Re: custom function error undefined local variable

2014-10-02 Thread Mike Skint
just guessing, is this a typo: if ress.any? On Thursday, October 2, 2014 10:23:25 AM UTC-7, Mark Rosedale wrote: I have the following custom function that I'm trying to write. require 'resolv' module Puppet::Parser::Functions newfunction(:getIpAddr, :type = :rvalue) do |arguments|

[Puppet Users] site.pp location for 3.7.1 under environment configs.

2014-10-02 Thread Monkeys Typing
I am attempting to get the final pieces of the Puppet Pulse splunk app to work, and the issue I am having is that the splunk application expects the puppet nodes to have an extra notify that calls out the version of puppet on the box. The readme for the app indicates: Version Reporting

Re: [Puppet Users] Windows woes.....how to send a refresh event to an array of services, with one service depending on one other?

2014-10-02 Thread Rob Reynolds
On Thu, Oct 2, 2014 at 1:00 AM, Stephen Wallace whizbang.wall...@gmail.com wrote: Hi, I'm using PE 3.1.1 on Win2k8R2. I'm sending a refresh event to a class containing this declaration. service { ['Sentinel RMS License Manager', 'Micro Focus XDB Server for ETD 2.2', 'Micro Focus

Re: [Puppet Users] Windows woes.....how to send a refresh event to an array of services, with one service depending on one other?

2014-10-02 Thread Rob Reynolds
On Thu, Oct 2, 2014 at 1:00 AM, Stephen Wallace whizbang.wall...@gmail.com wrote: Hi, I'm using PE 3.1.1 on Win2k8R2. I'm sending a refresh event to a class containing this declaration. service { ['Sentinel RMS License Manager', 'Micro Focus XDB Server for ETD 2.2', 'Micro Focus

Re: [Puppet Users] Puppet 3.7 Directory Environments and Vagrant Configuration

2014-10-02 Thread Aaron Russo
Hey Brendan, I did notice you aren't setting environmentpath in the config section in your gist. Maybe try setting environmentpath in vagrant? See below for what I would try. @@ -31,6 +31,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| puppet.options = --config

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

2014-10-02 Thread Nan Liu
Maybe post to puppet-dev to get the developer's feedback? On Thu, Oct 2, 2014 at 10:54 AM, Chris Pitman cpitm...@gmail.com wrote: Hey everyone, I'm hoping someone can enlighten me here: Why is it so hard/complicated to use third party gems when developing a custom provider? It seems to me

Re: [Puppet Users] Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-02 Thread Rob Reynolds
On Wed, Oct 1, 2014 at 3:30 PM, Brian Morris nomadicextre...@gmail.com wrote: Hello all, There may come a need for me to perform a wide deployment of the Puppet client to Windows servers. I am curious to know how others have accomplished this. Concerns I have: - No other tools are in

[Puppet Users] create a database

2014-10-02 Thread Xavier Artot
Hi, I'm new and I installed the config by default. But when want to create: [default] mysql -u dbuser -p Enter password: ERROR 1045 (28000): Access denied for user 'dbuser'@'localhost' (using password: YES) I found the password and user in puphpet/config.yaml Thanks -- You received

[Puppet Users] login to mysql

2014-10-02 Thread Xavier Artot
Hi, I new, but I don't undestand where is the file configuration, because I do that: mysql -u root -p without password: mysql create database `laura`; ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'laura' mysql -- You received this message because you are

Re: [Puppet Users] Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-02 Thread Brian Morris
Thank you, Rob. I have a lot of reading to do. :) On Thu, Oct 2, 2014 at 3:12 PM, Rob Reynolds r...@puppetlabs.com wrote: On Wed, Oct 1, 2014 at 3:30 PM, Brian Morris nomadicextre...@gmail.com wrote: Hello all, There may come a need for me to perform a wide deployment of the Puppet

Re: [Puppet Users] Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-02 Thread Rob Reynolds
On Thu, Oct 2, 2014 at 5:24 PM, Brian Morris nomadicextre...@gmail.com wrote: Thank you, Rob. I have a lot of reading to do. :) On Thu, Oct 2, 2014 at 3:12 PM, Rob Reynolds r...@puppetlabs.com wrote: On Wed, Oct 1, 2014 at 3:30 PM, Brian Morris nomadicextre...@gmail.com wrote: Hello

Re: [Puppet Users] Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-02 Thread Jim Ficarra
In our organization, we created a chocolatey package for the puppet client hosted on our internal nuget server. We then created a powershell module that includes several tools for our environment, one of which remotely invokes the installation of chocolatey on windows systems in parallel, and

Re: [Puppet Users] Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-02 Thread Brian Morris
Thank you, Jim. I will research your ideas as well. On Thu, Oct 2, 2014 at 4:05 PM, Jim Ficarra jimfica...@gmail.com wrote: In our organization, we created a chocolatey package for the puppet client hosted on our internal nuget server. We then created a powershell module that includes

Re: [Puppet Users] Windows woes.....how to send a refresh event to an array of services, with one service depending on one other?

2014-10-02 Thread Stephen Wallace
Thanks rob! -- 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 view this discussion on the web visit

Re: [Puppet Users] custom function error undefined local variable

2014-10-02 Thread Wil Cooley
On Oct 2, 2014 10:23 AM, Mark Rosedale mrosed...@vivox.com wrote: I have the following custom function that I'm trying to write. Sorry this isn't an answer to your question, but I recently published a module of functions wrapping the standard system get*by* functions (well, wrapping Ruby's