[Puppet Users] Dynamically adding app servers behind web server

2016-11-18 Thread Ryan Murphy
We have an application that we use for document conversion. It has a web server and can have any number of app servers sitting behind it. The webserver has one configuration file with a parameter that states what app servers it should be contacting. Is there a way in Puppet that I could dynami

[Puppet Users] Detect notify event

2017-05-11 Thread Ryan Murphy
I'm writing a Puppet module that I want to be able to accept a notify event. How does the module detect the notify so that I can instruct resources within to act appropriately? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe fr

[Puppet Users] Stuck trying to iterate through a hiera array

2017-07-21 Thread Ryan Murphy
So my hiera variable looks like this. contacts: 'Group A': 'bmurphy': 'bobmur...@testsite.com' 'cjames': 'chadja...@testsite.com' 'Group B': 'RPrice': 'rodpr...@testsite.com' 'STurpen': 'stevetur...@testsite.com' I need to be able to iterate through contacts, grab

[Puppet Users] Re: Stuck trying to iterate through a hiera array

2017-07-21 Thread Ryan Murphy
The [0] after groupname shouldn't be there. Still didn't work On Friday, July 21, 2017 at 2:21:22 PM UTC-5, Ryan Murphy wrote: > > So my hiera variable looks like this. > > contacts: >'Group A': > 'bmurphy': 'bobmur...@tes

[Puppet Users] Re: Stuck trying to iterate through a hiera array

2017-07-21 Thread Ryan Murphy
Apparently I had another mistype somewhere. Problem solved. On Friday, July 21, 2017 at 2:21:22 PM UTC-5, Ryan Murphy wrote: > > So my hiera variable looks like this. > > contacts: >'Group A': > 'bmurphy': 'bobmur...@testsite.com' >

[Puppet Users] Creating a PowerShell based fact to get Drive Letters and Labels

2017-10-17 Thread Ryan Murphy
So I have the following powershell command that gives me the data I want, but I'm not sure how I can get Puppet to ingest it as a fact. Get-WMIObject Win32_Volume | Where-Object {$_.DriveType -eq "3" -and $_.Label -ne "System Reserved" } | select Name, Label The Output looks like this. Name

[Puppet Users] Re: One master per environment, or one to rule them all?

2017-10-17 Thread Ryan Murphy
I currently have a Production Master and a Non-Production master. This is nice because it makes it easier for us to use Exported Resources and have a Non-Prod Nagios server and a Prod Nagios server. That way regardless of what environment a node is in, on the Non-Prod server they will all show

[Puppet Users] Re: Creating a PowerShell based fact to get Drive Letters and Labels

2017-10-20 Thread Ryan Murphy
hmmm... thanks for the suggestion, I wrote something, but I may give that a try. On Tuesday, October 17, 2017 at 4:22:20 PM UTC-5, Ryan Murphy wrote: > > So I have the following powershell command that gives me the data I want, > but I'm not sure how I can get Puppet to inges

[Puppet Users] Puppet discovery

2017-10-31 Thread Ryan Murphy
Anyone getting Discovery to pull data from a windows server? Their lack of documentation isn't helping. I've probably made one of my servers totally insecure trying to get this to work... it just keeps failing telling me access is denied. What do I need to do on the Windows server to get it w

[Puppet Users] Re: Announce: Puppet Platform 5.5.0 is now available

2018-03-21 Thread Ryan Murphy
What version of PE will contain this? On Tuesday, March 20, 2018 at 3:20:15 PM UTC-5, Molly Waggett wrote: > > Puppet Platform 5.5.0 is a bug-fix and feature release that adds agent > support for Fedora 27, adds several stdlib functions to Puppet's core > functions, improves the puppet config co

[Puppet Users] Anyone use Powershell to sign certs?

2018-04-09 Thread Ryan Murphy
Been trying to write a script that will sign a cert for a new node, but I don't seem to be having any luck. Here is the code I have so far [System.net.ServicePointManager]::ServerCertificateValidationCallback = { $true} $console_server = 'puppetserver' $node = "new-test-server.local" $actio

[Puppet Users] puppet provider password decryption?

2018-04-11 Thread Ryan Murphy
I use eyaml for encrypted data in hiera. https://www.olindata.com/en/blog/2015/02/eyaml-hiera-data-encryption -- 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 pu

[Puppet Users] Deactivating nodes in Puppet using PowerShell

2018-04-18 Thread Ryan Murphy
Ok folks, since I got help last time, thought I'd try again. This time I'm trying to deactivate nodes instead of signing their certs. Here is the code, the first two invoke-restmethods work as expected. But when I try to call the command to Deactivate the node it throws a Schema error. $Error

[Puppet Users] Re: Deactivating nodes in Puppet using PowerShell

2018-04-18 Thread Ryan Murphy
I figured it out. Found the correct version of the documentation that showed the proper URL. Although I think it could be written a little better. But oh well On Wednesday, April 18, 2018 at 12:19:34 PM UTC-5, Ryan Murphy wrote: > > Ok folks, since I got help last time, thought I'

[Puppet Users] concating a string from itself

2018-04-24 Thread Ryan Murphy
So I've hit a limitation in puppet where I can't modify a variable after its been set. how do I work around this. I have a manifest that I need to be able to build up a list of contacts based on certain facts about a server. Here is an example of my (non functioning) code? Can anyone give me