[Puppet Users] Re: directory environemnt doesn't seem to be working for vcsrepo

2016-03-19 Thread J Payne
On Monday, March 14, 2016 at 4:40:34 PM UTC-5, Sans wrote: > Hi there , > > I'm seeing a very strange error, which I cannot figure out where it's coming > from: > > > > > Error: Failed to apply catalog: Parameter revision failed on > Vcsrepo[/var/www/wp007/wp-content]: Invalid value "". Vali

Re: [Puppet Users] How to get a value of fact that has dot in name?

2016-03-19 Thread Francois Lafont
Hello, On 18/03/2016 00:29, Jakov Sosic wrote: > I have interfaces bond0.2 and bond0.3 respectively (VLAN tagged). > > How can I get IP address in hiera? > > > I've tried this: > > > myvar: "%{::networking.interfaces.bond0.2.ip}" > > > but it produces error: > > SERVER: Internal Server E

Re: [Puppet Users] Is there a solid EOL date for the Puppet 3.8 release family?

2016-03-19 Thread Trevor Vaughan
Thanks Carthik. Unfortunately, we need to know this for all of the components, FOSS or otherwise. Thanks for the links. Trevor On Tue, Mar 15, 2016 at 7:51 PM, Carthik Sharma wrote: > HI Trevor, > > For PE, this page might help: > https://puppetlabs.com/misc/puppet-enterprise-lifecycle > For t

[Puppet Users] Re: Code_manager checkout fails during puppet run with a 401/404 error

2016-03-19 Thread Andrew Brader
Evan, If you read the output closely, you'll see the following line: "{\"message\":\"404 Project Not Found\"}" That's a pretty clear indication of the following: 1) Project doesn't exist 2) Project exists but you made a typo in the 'project_name' param 3) The GitLab user you are using to ac

[Puppet Users] Re: Options for notifying external services in case of changing exported resources.

2016-03-19 Thread Jelle Smet
> > As I said, that's a very odd way of doing things. It's odd on at least > two levels: > > 1. it's a bit odd that you want to configure the application by > dynamically submitting data to the service, instead of by directly managing > its configuration data store. This approach has negative

[Puppet Users] Announcing Puppet Server 2.3.0 / Puppet 4.4.0

2016-03-19 Thread Eric Sorenson
I'm really excited to announce the arrival of new feature releases: Puppet 4.4.0 and Puppet Server 2.3.0. The headline feature here is Static Catalogs: file resources with 'puppet:///' source attributes will now include the checksum of the file inside the catalog, rather than requiring additional

Re: [Puppet Users] tidy - remove all files matching a pattern, except the most recently modified file

2016-03-19 Thread Tony Gaetani
I agree. your command is much more concise and readable than what I originally came up with. Thanks. On Wednesday, March 16, 2016 at 3:47:14 PM UTC+1, jcbollinger wrote: > > > > On Wednesday, March 16, 2016 at 6:32:02 AM UTC-5, Tony Gaetani wrote: >> >> The most-recently-modified file is not a r

Re: [Puppet Users] Is there a solid EOL date for the Puppet 3.8 release family?

2016-03-19 Thread Miguel Di Ciurcio Filho
On Wed, Mar 16, 2016 at 10:12 AM, Trevor Vaughan wrote: > Thanks Carthik. Unfortunately, we need to know this for all of the > components, FOSS or otherwise. > I think one can deduce that, if PE 3 series has an EOL set to July 28, 2016, all FOSS components present there will most definitely not b

Re: [Puppet Users] tidy - remove all files matching a pattern, except the most recently modified file

2016-03-19 Thread Tony Gaetani
The most-recently-modified file is not a resource managed by puppet, but I like how you're thinking. Maybe I find a way to configure this file (directory, actually) to be a puppet resource. Thanks for the idea. On Wednesday, March 16, 2016 at 12:46:53 AM UTC+1, Carthik Sharma wrote: > > Is the m

[Puppet Users] Re: puppet catalog compilation job queue idea

2016-03-19 Thread J Payne
On Thursday, January 9, 2014 at 6:23:23 PM UTC-6, Patrick Hemmer wrote: > There's been an idea floating in my mind for quite a while now about using a > job queue for compiling puppet catalogs. I just mentioned the idea on IRC and > a few people really liked the idea, so I thought I'd bring it up

[Puppet Users] Re: override class attributes

2016-03-19 Thread jcbollinger
On Tuesday, March 15, 2016 at 10:19:16 AM UTC-5, TimV wrote: > Again, thanks for the reply. If I understand you correctly, trying to > accomplish an override such as I've setup, is a mixed bag - it might work, > but it's generally not the correct way to do things. > There's no mixture in th

Re: [Puppet Users] tidy - remove all files matching a pattern, except the most recently modified file

2016-03-19 Thread jcbollinger
On Wednesday, March 16, 2016 at 6:32:02 AM UTC-5, Tony Gaetani wrote: > > The most-recently-modified file is not a resource managed by puppet, but I > like how you're thinking. Maybe I find a way to configure this file > (directory, actually) to be a puppet resource. Thanks for the idea. > > Ha

[Puppet Users] Re: Options for notifying external services in case of changing exported resources.

2016-03-19 Thread Jelle Smet
> > If you can get by with less data, and if your catalog runs normally go >> complete without any changes, then you could perhaps also run the agent via >> a scheduler (instead of as a daemon), with the --detailed-exit-codes option >> turned on, and trigger your middleware based on the agent r

Re: [Puppet Users] Re: puppet catalog compilation job queue idea

2016-03-19 Thread jcbollinger
On Tuesday, March 15, 2016 at 12:53:43 PM UTC-5, Eric Sorenson wrote: > > The first and most significant chunk of the direct puppet work, namely a > production-ready version of "static catalogs" is going out in Puppet 4.4.0. > You can preview the documentation for it here: > https://github.com

[Puppet Users] Re: Options for notifying external services in case of changing exported resources.

2016-03-19 Thread jcbollinger
On Thursday, March 17, 2016 at 9:38:36 AM UTC-5, Jelle Smet wrote: > > If you can get by with less data, and if your catalog runs normally go >>> complete without any changes, then you could perhaps also run the agent via >>> a scheduler (instead of as a daemon), with the --detailed-exit-codes

Re: [Puppet Users] Pasword retrievel from external source on node

2016-03-19 Thread Thomas Müller
Am Donnerstag, 10. März 2016 17:01:36 UTC+1 schrieb Craig Dunn: > > > > On Thu, Mar 10, 2016 at 3:09 PM, Thomas Müller > wrote: > >> I'm too interested in how people manage credentials without having it in >> the catalog. >> > > The problem as I see it is that there isn't a blanket approach. I

[Puppet Users] How to get a value of fact that has dot in name?

2016-03-19 Thread Jakov Sosic
Hi guys, I have interfaces bond0.2 and bond0.3 respectively (VLAN tagged). How can I get IP address in hiera? I've tried this: myvar: "%{::networking.interfaces.bond0.2.ip}" but it produces error: SERVER: Internal Server Error: org.jruby.exceptions.RaiseException: (Exception) Hiera type

[Puppet Users] Re: How to get a value of fact that has dot in name?

2016-03-19 Thread Jakov Sosic
On 03/18/2016 12:29 AM, Jakov Sosic wrote: Hi guys, I have interfaces bond0.2 and bond0.3 respectively (VLAN tagged). How can I get IP address in hiera? I've tried this: myvar: "%{::networking.interfaces.bond0.2.ip}" but it produces error: SERVER: Internal Server Error: org.jruby.excepti

[Puppet Users] Re: Options for notifying external services in case of changing exported resources.

2016-03-19 Thread jcbollinger
On Wednesday, March 16, 2016 at 4:36:09 AM UTC-5, Jelle Smet wrote: > > > On Tuesday, March 15, 2016 at 3:50:28 PM UTC+1, jcbollinger wrote: >> >> >> >> On Monday, March 14, 2016 at 11:23:53 AM UTC-5, Jelle Smet wrote: >>> >>> Hi list, >>> >>> >>> I have a Puppet module (internal to the company)

[Puppet Users] Re: connecting puppet servers to puppet db

2016-03-19 Thread Tehmasp Chaudhri
You must make sure that each server's hostname is resolvable by DNS AND that resolvable hostname is indeed the hostname to which the puppet certs are created for. In short, all these errors stem from an improperly setup DNS. I just had the same issues and discovered that as the root cause. I no

[Puppet Users] Re: How to get a value of fact that has dot in name?

2016-03-19 Thread jcbollinger
On Thursday, March 17, 2016 at 6:29:34 PM UTC-5, Jakov Sosic wrote: > > Hi guys, > > I have interfaces bond0.2 and bond0.3 respectively (VLAN tagged). > > How can I get IP address in hiera? > > > I've tried this: > > > myvar: "%{::networking.interfaces.bond0.2.ip}" > > > but it produces erro

Re: [Puppet Users] Is there a solid EOL date for the Puppet 3.8 release family?

2016-03-19 Thread Trevor Vaughan
Certainly possible, but deductions aren't stated facts on URLs that you can put in front of management. Trevor On Wed, Mar 16, 2016 at 10:41 AM, Miguel Di Ciurcio Filho < mig...@instruct.com.br> wrote: > On Wed, Mar 16, 2016 at 10:12 AM, Trevor Vaughan > wrote: > > Thanks Carthik. Unfortunately