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

2016-03-15 Thread Carthik Sharma
HI Trevor, For PE, this page might help: https://puppetlabs.com/misc/puppet-enterprise-lifecycle For the agent, the EOL depends on the end of official support for the platform itself, see: https://docs.puppetlabs.com/guides/platforms.html#puppet-agent-and-operating-system-support-life-cycles I am

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

2016-03-15 Thread Carthik Sharma
Is the most-recently-modified file a resource managed by puppet? If so, you can use tidy with recurse, and tidy will not clean up the managed file. On Tue, Mar 15, 2016 at 4:01 AM, Tony Gaetani wrote: > I would like to have a tidy resource that deletes all files recursively > from directories m

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

2016-03-15 Thread Eric Sorenson
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/puppetlabs/puppet-docs/blob/master/source/puppet/4.4/reference/static_catalogs.m

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

2016-03-15 Thread Tony Gaetani
I would like to have a tidy resource that deletes all files recursively from directories matching a pattern, except for the most recently modified file. Something like this: tidy { 'clean up files except most recently modified one': path => '/path/to/files', recurse => true, rmd

[Puppet Users] Need hide execution window on Windows Scheduled Tasks

2016-03-15 Thread Jesus Vte. Vila
Hi, I'm using Puppet Agent 1.3.5 on Windows Server 2008 and 2012. When I create a Scheduled Task, it creates correctly but every time task is running, it shows the task screen. If the task is running every 5 minutes it's annoying. I've observed Puppet Agent, create task and in the properties, i

[Puppet Users] Re: override class attributes

2016-03-15 Thread TimV
Thank you for the detailed response. > Side note: class names should not contain hyphens. It may or may not > cause actual breakage in your particular version of Puppet, but I advise > you to change it to an underscore, or to simply remove it. > > noted. I'll update the name. > > >> Pupp

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

2016-03-15 Thread jcbollinger
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) which makes use of > exported resources. > The exported resource data stored in PuppetDB is used to configure an > external application. > That sounds like an

[Puppet Users] Re: override class attributes

2016-03-15 Thread jcbollinger
On Monday, March 14, 2016 at 4:36:18 PM UTC-5, TimV wrote: > > Hi - > I am trying to figure out how to best override > resource attributes for a module. I know this might not > be the best way to do things, but it's where I am at currently. > > In summary: > >- I have a module called Apache,

Re: [Puppet Users] PuppetDB: Input to insert-facts-pv-pairs! does not match schema

2016-03-15 Thread Akos Hencz
Hi Wyatt, Thank you for the help! >From the DLO entries I could get the exact command payload and found a malformed structured fact. It had a nested dictionary, where most entries were formed "foo" => "bar", except for one that looked like "\"foo"=>"bar\"". After fixing this, the node managed

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

2016-03-15 Thread Luke Bigum
The error itself is quite clear - you've got an empty string for the parameter 'revision' when you should have something that's not whitespace (according to that regex). To actually figure out why you're getting an empty string, you're going to need to post the relevant portions of app.pp (or i