Re: [Puppet Users] Could not find class defined for specific environment when running puppet agent

2017-02-22 Thread Carthik Sharma
Hi, On Wed, Feb 22, 2017 at 8:22 AM, Jamals wrote: > Hi all, > > I have a curious problem that I'd appreciate help/guidance on. > > We are running puppetserver 2.6.0 (puppetmaster.domain.ca) with cobbler > 2.6.11 as our ENC. All our servers/nodes are centos 7.3 > > On the puppet client (node.do

Re: [Puppet Users] 2016.4.2 puppet enterprise

2017-01-09 Thread Carthik Sharma
Hi Ryan, On Mon, Jan 9, 2017 at 9:40 AM, Ryan Vande wrote: > I went to take the test last week, they had questions about live > management. To be honest the testing center monitors were so small all of > the content would not fit on the page, I spent so much time resizing > windows, I ran out of

Re: [Puppet Users] Help with training VM - agent setup

2016-05-11 Thread Carthik Sharma
Hi Alex, On Mon, May 9, 2016 at 11:20 PM, Alex Samad wrote: > Hi > > I have been working through the training vm. ran into a lot of issue with > the agent_setup. > That sounds like the learning VM. Please email the team at learnin...@puppet.com for help. Thanks, Carthik. -- You received th

Re: [Puppet Users] look up hiera hash's subkey within yaml

2016-03-22 Thread Carthik Sharma
This might help: https://docs.puppetlabs.com/hiera/3.1/variables.html#interpolating-hash-or-array-elements Thanks. On Tue, Mar 22, 2016 at 2:14 PM, Brett Swift wrote: > This is a bit nutty, but hopefully there's a way to do this. > > So far I have only been able to get the parent hash, not the

Re: [Puppet Users] Please Confirm: Puppet Directory Environments can not be named "master" ?

2016-03-22 Thread Carthik Sharma
To answer the question in the subject, you're correct, as documented here for Puppet 3.8 https://docs.puppetlabs.com/puppet/3.8/reference/environments_classic.html#allowed-names On Tue, Mar 22, 2016 at 1:41 AM, 'Robert Heinzmann' via Puppet Users < puppet-users@googlegroups.com> wrote: > Hello

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] Quick start guide problem

2016-03-10 Thread Carthik Sharma
Hi Gerard, The registry module does not have a registry class by virtue of not having an `init.pp` file. The quick start guide would need to be updated, and the docs team is aware of this. Thanks, Carthik. On Thu, Mar 10, 2016 at 4:29 AM, Gerard Forcada wrote: > Following Quick start documents

Re: [Puppet Users] helloworld

2016-01-20 Thread Carthik Sharma
helloword versus helloworld (missing l) :) On Wed, Jan 20, 2016 at 8:46 AM, Alex M wrote: > Hi, i have Puppet 3.7.2 on Debian 8.2 x64. I added host Windows Server > 2012 R2 into Puppet. Now i would like to do test manifest (Forder c:/test/ > : present on WS) > > #cat /etc/puppet/modules/hellowor

Re: [Puppet Users] Puppet

2015-02-25 Thread Carthik Sharma
This would be a good guide to start with: https://docs.puppetlabs.com/guides/install_puppet/install_el.html On Thu, Feb 19, 2015 at 5:03 PM, Chetan Singh wrote: > Hi All, > > I am new to this product. Could anyone provide with some guide on how to > build a puppet in my production environment. I

Re: [Puppet Users] Re: How to check if file exists on client without using exec command?

2014-10-11 Thread Carthik Sharma
There isn't a built-in function, so I'd write a function, put it in lib/puppet/parser/functions in your module, enable pluginsync in puppet.conf (so the custom function get synced to the agents), and then use the function in the manifest. Something as simple as: require"puppet" module Puppet::Par