Re: [Puppet Users] Need to know what ports to open for puppet db to talk to puppet server 5

2018-09-11 Thread Gabriel Filion
Hi there! On 2018-09-10 10:31 p.m., David Black wrote: > Need to know what ports to open for puppet db to talk to puppet server 5 According to documentation with only one port (by default 8081 TCP) you should be able to connect to your puppetdb:

[Puppet Users] Re: Duplicate declaration

2018-09-11 Thread Ugo Bellavance
On Tuesday, September 11, 2018 at 9:31:43 AM UTC-4, jcbollinger wrote: > > > > On Monday, September 10, 2018 at 11:18:34 AM UTC-5, Michael Watters wrote: >> >> I'd prefer to see the entire vhost.pp code >> > Here it is: https://pastebin.com/1Qt9ng7b -- You received this message because you

[Puppet Users] Re: adding require to if/elseif statement?

2018-09-11 Thread Jason McMahan
Thanks Michael, What i ended up having to do was create a separate powershell process then run invoke-webrequest there because start-process allows for -wait. exec { 'client_setup': command => '(Start-Process powershell -ArgumentList (Invoke-WebRequest "Invoke-WebRequest

[Puppet Users] Re: adding require to if/elseif statement?

2018-09-11 Thread Michael Watters
You should be able to add a require => Package['client_package'] parameter to the exec resource to resolve this. For example: $file_source = lookup('application.client') if $facts['domain'] == 'internal' { file { 'sccm_setup': path=> 'C:/Windows/ccmsetup/ccmsetup.exe',

[Puppet Users] Re: Duplicate declaration

2018-09-11 Thread jcbollinger
On Monday, September 10, 2018 at 11:18:34 AM UTC-5, Michael Watters wrote: > > I'd prefer to see the entire vhost.pp code but it looks like the issue is > the same as I mentioned previously, you have multiple atqapache::vhost > resources attempting to manage the client base directory. I've

[Puppet Users] Re: adding require to if/elseif statement?

2018-09-11 Thread Jason McMahan
Thanks Michael, I think my problem is not syntax but rather the invoke-webrequest is not actually completing before moving to the package resource. Then as the file doesnt exist the run fails. Back to drawing board. Appreciate the quick reply. On Tuesday, September 11, 2018 at 7:27:49 AM

[Puppet Users] Re: adding require to if/elseif statement?

2018-09-11 Thread Michael Watters
What you have there looks fine but I would change the elsif to an else statement. On Tuesday, September 11, 2018 at 8:08:53 AM UTC-4, Jason McMahan wrote: > > Good day, > I am attempting to add require to an if statement and not sure i am doing > it right. Any help would be greatly

[Puppet Users] adding require to if/elseif statement?

2018-09-11 Thread Jason McMahan
Good day, I am attempting to add require to an if statement and not sure i am doing it right. Any help would be greatly appreciated. If the machine is joined to our internal domain it will use a file resource, if external i am using a invoke-webrequest as the file is on azure blob storage.

[Puppet Users] Need to know what ports to open for puppet db to talk to puppet server 5

2018-09-11 Thread David Black
Need to know what ports to open for puppet db to talk to puppet server 5 -- 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