Re: [Puppet Users] Any solutions for server-side facts?

2014-06-20 Thread Matthew Hyclak
I was thinking about this not too long ago myself. It seems a little silly, but creating a custom fact (let's stick with room number) that gets pushed out by a paramaterized class in puppet does what you're looking for I think. The ENC defines the room number, but by having that show up in the cus

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-20 Thread Brian Mathis
Summary: Do not try to control processes directly with Puppet and instead properly integrate your service into your operating system. - It sounds like you are misunderstanding how Puppet integrates into the rest of the system. Puppet should not "kill processes" directly like you would with t

Re: [Puppet Users] Any solutions for server-side facts?

2014-06-20 Thread Atom Powers
I think what you want is the ENC. http://docs.puppetlabs.com/guides/external_nodes.html You may need to write the ENC script yourself, but basically it will pull facts in from any data-source you want. On Fri, Jun 20, 2014 at 2:34 PM, Fine, Thomas wrote: > Hi, > > As I get more into this and l

[Puppet Users] Any solutions for server-side facts?

2014-06-20 Thread Fine, Thomas
Hi, As I get more into this and look at what puppet dashboard (and whatever I replace it with, sigh) can do and what we've been doing, it's great for simple inventory tracking. Except that if it's good at that I might as well get all the information in one place, like the room location, the user

[Puppet Users] Baltimore PUG

2014-06-20 Thread Trevor Vaughan
All, I'd like to invite anyone interested to join us next Wednesday at the first monthly Puppet User's Group Meetup near Baltimore in Columbia, MD. The topic is going to be truly beginner so if you're just curious, new to Puppet, or want to help shape the focus of future Meetups, please join us!

[Puppet Users] RHEL7 facts missing

2014-06-20 Thread Bas Wildemann
I'm looking into Redhat 7.0 at the moment and I discovered some facts missing compared to Redhat 6/ Centos 6 Some of my modules are relying on 'network_ethX' or 'interfaces' I noticed that the 'network_' fact is absent and the 'interface' fact is empty I'm using facter 2.0.2 Anyone experiencing

Re: [Puppet Users] Re: Setting file level ACL

2014-06-20 Thread Rob Reynolds
You are correct. My bad. On Fri, Jun 20, 2014 at 7:53 AM, jcbollinger wrote: > > > On Thursday, June 19, 2014 8:43:23 AM UTC-5, Rob Reynolds wrote: >> >> John, >> Please vote/comment on this issue: https://tickets. >> puppetlabs.com/browse/MODULES-962 >> >> > > I may do so, but I suppose you m

Re: [Puppet Users] Re: Rethinking Puppet modules

2014-06-20 Thread Trevor Vaughan
+1 to everything that John has said. While many Forge modules are not useful to me out of the box, I have had good luck modifying them to meet my needs at any given time. I've also been able to learn new ways of doing things (and not doing things) due to the willingness of people to share. I do

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-20 Thread Christopher Wood
Roughly speaking the service name is the init script name, so if you would manually stop/stop with /etc/init.d/java, then your service name in puppet is also java. node "servername" { Service { "java": ensure = >"Stopped", } } Using "Resource" (initial capital) instead of "resource" (a

[Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-20 Thread Satish Katuru
Hi, I am new to Puppet and We are trying to stop and start any one of the services running on the Puppet master /agent machine. Here is the Scenario: 1. we have a Jboss service running on Puppet master and I am trying to kill this service thru puppet.(this service is runnning with my userid)

[Puppet Users] Unable to generate Certificate for Windows Agent

2014-06-20 Thread KK
Hi All, I am using Linux as master and Windows as Agent. I am doing the following steps for certificate generation. Step 1: - In Linux : I have declared node node "MFSTWSEBOLD06.ca.tels.com" --DECLARED WINDOWS Server Name. { } Step 2: - In Linux service puppetmaster stop (For stopping the

[Puppet Users] 3.6 directory environments, r10k, and hieradata

2014-06-20 Thread Wolf Noble
Hi Guys, I have a few questions about 3.6 directory environments, which we're looking to adopt. Currently the most pressing surrounds the integration of r10k and hiera… I believe I want to store hieradata inside the r10k repos, so that each r10k repo (I'm planning on using these to segregate di

[Puppet Users] Re: Rethinking Puppet modules

2014-06-20 Thread jcbollinger
On Thursday, June 19, 2014 11:09:22 AM UTC-5, Alessandro Franceschi wrote: > > Hi all, > I've written a blog post with my opinions on the current modules ecosystem: > http://www.example42.com/2014/05/31/rethinking-modules-part-1/ > > The post talks about : > What are the reusability features a mo

[Puppet Users] Upgraded a legacy system's agent -- getting funky errors

2014-06-20 Thread Peter Berghold
Just after upgrading one of my legacy systems with a new puppet agent I noticed the agent wasn't running any more. Running the agent in test mode I see: Error: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `exists?' for

Re: [Puppet Users] Re: Setting file level ACL

2014-06-20 Thread jcbollinger
On Thursday, June 19, 2014 8:43:23 AM UTC-5, Rob Reynolds wrote: > > John, > Please vote/comment on this issue: > https://tickets.puppetlabs.com/browse/MODULES-962 > > I may do so, but I suppose you meant to say "Dennis" -- the person who called this thread back from the dead. John -- You

Re: [Puppet Users] Puppet Dashboard behind HTTPS

2014-06-20 Thread Andreas Zuber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello I just came across the same problem and did some reading of the code of the http report plugin and the classes it uses to understand what the problem is. It seams that (at least in the puppet version I use here) it uses the same classes to get

Re: [Puppet Users] Re: Open puppet port(s) to the internet

2014-06-20 Thread Jason Antman
FWIW, two thoughts on this: 1) Tunnel over SSH or VPN. 2) Is it feasible to *not* use a puppetmaster for this, and rather have something on the laptops (cronjob? small daemon?) that pulls down your config repository and runs masterless puppet locally? -Jason On Wed, Jun 18, 2014 at 10:40 AM, Nei

Re: [Puppet Users] Re: Question on directory environments and environment.conf - Puppet Version 3.6.2

2014-06-20 Thread Peter
Hi Denmat, Thanks I should have read the web page a bit closer. Peter. On Friday, 20 June 2014 07:28:16 UTC+10, denmat wrote: > > Hi Peter, > > This is master side only: > http://docs.puppetlabs.com/puppet/latest/reference/environments.html > > On 19 Jun 2014, at 23:29, Peter > wrote: > > Hi Lis