[Puppet Users] Adding a mailer to Postfix master.cf via Augeas

2011-03-18 Thread Jeremy
Has anyone had any success with adding a new mailer to the Postfix master.cf using Augeas? I know the commands work if I use augtool but I'm having problems translating it into a Puppet module configuration. I'm attempting to set Postfix up to use Amazon Web Services Simple Email Service as suggest

[Puppet Users] Could use another set of eyes to assist

2012-09-27 Thread Jeremy
I've got a puppet module I've written to support deploying a custom PHP web application that a client has developed. The actual application and the fact that it's deployed within AWS is not the problem or important to the issue. I'm looking to see if I someone else can think of a better way to

RE: [Puppet Users] net ads join

2012-03-05 Thread Jeremy Baron
a -q on the grep to suppress output. So, grep -q 'Join is OK' or fgrep -q 'Join is OK' -Jeremy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@g

[Puppet Users] Different behavior for pluginsync between "puppet agent --test" and "service puppet start"

2012-03-08 Thread Jeremy Rosengren
ot;, } } Stop the puppet agent service and running "puppet agent --test -v" executes the classes using the custom facts as expected. I did a ton of searching on this and found what looked like a couple of similar issues, but the resolutions didn't seem to match my exact scenario. Can

Re: [Puppet Users] Re: Check package version in order to proceed with installation (err: Could not update: is already installed)

2012-03-09 Thread Jeremy Baron
On Fri, Mar 9, 2012 at 10:11, Dan White wrote: > What does the command: > > puppet resource package > > tell you about what packages are/are-not installed ? See other thread. (was resolved) https://groups.google.com/d/topic/puppet-users/CE4iP7FtOiY/discussion -Jeremy -- Yo

[Puppet Users] Re: Puppet 3.0 and Hiera

2012-05-04 Thread Jeremy Carroll
We use Hiera backed Puppet here at Klout. Mainly for the reasons of separating configuration data from puppet modules. We have had great success, and I welcome this change to puppet core. Reminds me of some of Chef's "Deep Merge" functionality. Here are a few of my thoughts. - Name spacing v

[Puppet Users] Re: Puppet 3.0 and Hiera

2012-05-04 Thread Jeremy Carroll
We use Hiera backed Puppet here at Klout. Mainly for the reasons of separating configuration data from puppet modules. We have had great success, and I welcome this change to puppet core. Reminds me of some of Chef's "Deep Merge" functionality. Here are a few of my thoughts. - Name spacing v

[Puppet Users] Hiera ordered hashes

2012-07-02 Thread Jeremy Carroll
During DevOpsDays it was brought up that there may be a patch for ordered hashes with Hiera. Without this patch, all of my catalogs are compiled in random order. Any links to a patch that I can back-port, or a commit #? -- You received this message because you are subscribed to the Google Group

[Puppet Users] cron provider fails to parse some entries with leading whitespace

2011-09-15 Thread Jeremy Thornhill
recognize valid syntax in crontabs to begin with. Jeremy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+uns

Re: [Puppet Users] Re: Collection Questions

2011-10-11 Thread Jeremy Kindy
> Does that work? > I wish it did. However, what you proposed results in an error. I think the collection is expecting a attribute name on the left. Error 400 on SERVER: Could not parse for environment production: Syntax error at 'in'; expected '|>' Jeremy -- Yo

[Puppet Users] Issue after upgrading to 0.25.4

2010-04-21 Thread Jeremy Hansen
ctivelabs.com/issues/2863 seems to suggest this was fixed in 0.25.2, but we're clearly seeing it in 0.25.4. Any ideas on a fix? Thanks -jeremy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email t

[Puppet Users] New user - Issue using Generic::Mkuser in the ghoneycutt/generic module.

2010-10-08 Thread Jeremy Carroll
I'm trying to automatically create users as a requirement for ssh keys to work. Here is my issue. I am getting this error from the agent. The SSH part works fine, but it will not create the user due to a dependency issue. I do not know how to debug this. err: Could not run Puppet configuration cli

Re: [Puppet Users] Re: New user - Issue using Generic::Mkuser in the ghoneycutt/generic module.

2010-10-08 Thread Jeremy Carroll
That worked. Thanks for the tip. On Fri, Oct 8, 2010 at 12:30 PM, Garrett Honeycutt wrote: > On Oct 8, 8:59 am, Jeremy Carroll wrote: > > I'm trying to automatically create users as a requirement for ssh keys > > to work. Here is my issue. I am getting this error from th

[Puppet Users] Puppet-dashboard does not show "last 30 puppet runs".

2010-11-09 Thread Jeremy Carroll
The list is totally blank. I see no errors in production.log. Does anybody know of a way I can troubleshoot this problem? Here is a screenshot of the issue. http://imgur.com/Lt2fn.png Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

Re: [Puppet Users] Re: agent needs to make two runs before master compiles new catalog

2010-11-09 Thread Jeremy Carroll
I am having the same issue, and am running about the same stack. CentOS 5.5 facter (1.5.8) fastthread (1.0.7) passenger (2.2.15) puppet (2.6.2) puppet-module (0.3.0) rack (1.1.0) rake (0.8.7) stomp (1.1.6) On Tue, Nov 9, 2010 at 2:50 PM, Kent wrote: > Patrick, thanks for the speedy reply once

Re: [Puppet Users] Re: agent needs to make two runs before master compiles new catalog

2010-11-09 Thread Jeremy Carroll
I have these same options in my config.ru as well. --- # a config.ru, for use with every rack-compatible webserver. # SSL needs to be handled outside this, though. # if puppet is not in your RUBYLIB: # $:.unshift('/opt/puppet/lib') $0 = "master" # if you want debugging: # ARGV << "--debug" ARG

Re: [Puppet Users] Re: Merge folders

2011-05-23 Thread Jeremy Kindy
for every one). Have you had any luck with this? I'm trying to do something similar with multiple sources for one directory where each node has a different set of sources. I can explicitly set the list of sources on a per-node basis, but whenever I try to set it using modules, it fails. Th

Re: [Puppet Users] Re: minor change in inkling/postgresql – PostgreSQL

2012-09-05 Thread Jeremy Kitchen
retty new to puppet and the variable scoping scares me a bit, so I'd like to see some good examples of how people are doing overridable defaults like this! -Jeremy pgpLiSTCqzjBj.pgp Description: PGP signature

[Puppet Users] Re: Puppet Idioms for distributing RPMs and/or buildign source tarballs?

2009-02-23 Thread Jeremy Pruitt
s building from source, I just create a puppet definition like so: http://pastie.org/397821 And I use it like this: http://pastie.org/397827 If there is a better way out there, I'm all ears! :) Anyways, I hope that helped in some way. - Jeremy On Feb 23, 7:40 am, "Michael L. Artz&q

[Puppet Users] problem with conditionals

2009-05-07 Thread Jeremy Hansen
` == '/home/hadoop'" } The idea is the usermod would only get executed if the user's home directory was something other then /home/hadoop. But I see in the client logs that regardless of the condition, the usermod command gets run each and

[Puppet Users] Re: problem with conditionals

2009-05-07 Thread Jeremy Hansen
RijilV wrote: > 2009/5/7 Jeremy Hansen : > >> I'm new to puppet. I'm trying to use some real case examples to better >> understand how Puppet works. >> >> Here's my case: >> >>exec { "usermod -d /home/hadoop -s /bin/bash hado

[Puppet Users] Re: Problematic provider dependencies

2009-05-13 Thread Jeremy Thurgood
On Wed, May 13, 2009 at 20:59, Evan Hisey wrote: > You should be able to do this using the the require and before > metatypes. Have the package{"mysql": before => Exec["mysql-config]}. > Some thing liek that should get teh ordering correct for you. The problem is that the provider suitability re

[Puppet Users] Re: Problematic provider dependencies

2009-05-14 Thread Jeremy Thurgood
On Thu, May 14, 2009 at 00:35, Mike Renfro wrote: > I may be naive here, since I've never written my own types, but I'm > wondering if a puppet definition for mysql_user would be better than > writing a native puppet type. Something like: > >   mysql_user { "u...@localhost": password_hash => "has

[Puppet Users] how do I dictate order?

2009-05-14 Thread Jeremy Hansen
installing the package first, then doing a usermod/groupmod to set the uid/gid and it's trying to run the init commands before the package is installed, etc. Thanks -jeremy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[Puppet Users] Re: how do I dictate order?

2009-05-15 Thread Jeremy Hansen
I thought about this too. I'll do some looking and see of I can find a recipe. Thanks! -jeremy James Turnbull wrote: > Also I believe there is a Splunk module for Puppet that was developed > already. Perhaps Google might turn it up as an example of how to do > this. I seem

[Puppet Users] Re: Problematic provider dependencies

2009-05-19 Thread Jeremy Thurgood
On Tue, May 19, 2009 at 07:58, Andrew Shafer wrote: > > What version of Puppet are you running? 0.24.4 -- it's the one that's in the Ubuntu Hardy repository. I could upgrade, but I would prefer to avoid the effort of setting up appropriate repositories if I can. > The goal is to be able to set

[Puppet Users] Could not retrieve catalog: Could not find node

2009-06-03 Thread Jeremy Hansen
ppetmaster is saying this: Could not call: Could not find node 'blah'; cannot compile Any clues on how to debug. Thanks -jeremy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" gro

[Puppet Users] Re: Could not retrieve catalog: Could not find node

2009-06-03 Thread Jeremy Hansen
Actually, puppet seems to be doing this for any NEW host. What went wrong? -jeremy Jeremy Hansen wrote: > This one is driving me a little crazy. > > This is a Xen host. The first we're trying to get into puppet. I > continuously get: > > Could not retrieve catal

[Puppet Users] Re: Could not retrieve catalog: Could not find node

2009-06-03 Thread Jeremy Hansen
James Turnbull wrote: > Jeremy Hansen wrote: > >> This one is driving me a little crazy. >> >> This is a Xen host. The first we're trying to get into puppet. I >> continuously get: >> >> Could not retrieve catalog: Could not find node 'bla

[Puppet Users] Re: Could not retrieve catalog: Could not find node

2009-06-03 Thread Jeremy Hansen
include inventory-client include snmpd include sudo include ssh include resolvconf include ossec-hids-client include hosts } > - JimP > > On Jun 3, 2009, at 7:12 PM, Jeremy Hansen wrote: > > >> Actually, puppet seems to be doing this for any NEW host. What >>

[Puppet Users] Re: Could not retrieve catalog: Could not find node

2009-06-04 Thread Jeremy Hansen
David Schmitt wrote: > Jeremy Hansen schrieb: > >> notice: Starting Puppet server version 0.24.8 >> debug: Allowing authenticated client blah(10.10.10.11) access to >> puppetmaster.getconfig >> debug: Our client is remote >> debug: Executing '/u

[Puppet Users] Removing nodes from puppetdb

2012-11-29 Thread Jeremy Custenborder
Hello all, I'm using version 3.0.1 with puppetdb and so far it's been great. Good job on reducing catalog compile times. The only problem I'm running into is decommissioning a node. Before I would just run this : puppet node clean This would remove the node from store configs. I would then

[Puppet Users] How to create a simple, custom type?

2013-09-12 Thread Jeremy Martini
On my file system, I have a classpath.txt file, which contains a java classpath. The classpath contains wildcards, and I need to remove the wildcards, and have it expanded out to list out all the .jar files individually. So, instead of classpath.txt containing: C:/lib1/*;C:/lib2/* I Need: C

[Puppet Users] Re: puppet-dashboard cert::create_key_pair and cert::request fails

2013-12-03 Thread Jeremy Anderson
Did you ever get this resolved? I'm running into the same thing. If/when I get it figured out, I'll post what it was, but I'm hoping that maybe you've solved it in the meantime. On Monday, October 14, 2013 5:28:54 AM UTC-5, Robert Schaffar-Taurok wrote: > > Hi! > > I am already successfully us

[Puppet Users] Re: puppet-dashboard cert::create_key_pair and cert::request fails

2013-12-04 Thread Jeremy Anderson
with the config. sodabrew's version is at: https://github.com/sodabrew/puppet-dashboard/ Once I followed the steps in that readme, everything worked great. On Tuesday, December 3, 2013 1:03:39 PM UTC-6, Jeremy Anderson wrote: > > Did you ever get this resolved? I'm running int

[Puppet Users] Case Trouble w/ Boolean

2014-04-09 Thread Jeremy Frady
Hey there, Thanks for taking the time to read this. My end objective is to utilize a yaml boolean, in this case couchDbServer, as an entry for a case that dictates whether a file is present or not. I do not want to use stdlib to achieve this. Following is the code: class datadog { $dat

Re: [Puppet Users] new forge module: solaris smf wrapper

2014-06-14 Thread Jeremy Kitchen
ut one could also argue that your package manager should drop a proper init script (or SMF svc, in this case) in place for you. *shrug* -Jeremy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop r

Re: [Puppet Users] Puppet web server stops after being started

2016-08-06 Thread Jeremy Barlow
name: "puppetlabs catalog" }, ... ] } For reference, you can see the complete content of the Puppet Server auth.conf file for the 2.4.0 packages here <https://github.com/puppetlabs/puppetserver/blob/2.4.0/ezbake/config/conf.d/auth.conf> . --- Jeremy On Friday

[Puppet Users] Re: Beware breaking updates on puppetserver v2.5.0 with external CA, downgrade ALSO destructive

2016-08-18 Thread Jeremy Barlow
On Thursday, August 18, 2016 at 9:53:37 AM UTC-7, Ben West wrote: > > The configuration for running Open Source puppetserver with an external CA > changed in v2.4 -> v2.5, explained in more detail here: > > https://docs.puppet.com/puppetserver/latest/bootstrap_upgrade_notes.html#cacfg > > If you

Re: [Puppet Users] Puppet web server stops after being started

2016-08-23 Thread Jeremy Barlow
etlabs/puppet/ssl > ... and restart the puppetserver service. puppetserver should recreate the "ssl" directory after it restarts and re-generate its own private key and certificate. Hope it starts up for you after that. --- Jeremy On Tuesday, August 23, 2016 at 9:41:18 AM UT

Re: [Puppet Users] Puppet web server stops after being started

2016-08-29 Thread Jeremy Barlow
ement a fix for SERVER-528 <https://tickets.puppetlabs.com/browse/SERVER-528> sometime soon. --- Jeremy Am Dienstag, 23. August 2016 20:15:36 UTC+2 schrieb Jeremy Barlow: >> >> Michael, >> >> It looks like it got further that time but a different error came up this &g

Re: [Puppet Users] Puppet web server stops after being started

2016-08-31 Thread Jeremy Barlow
web server again > > The output of the log is attached to this post > > Just an idea, could it be better to remove the installation completly and > try to reinstall everything? > > > Am Montag, 29. August 2016 18:10:18 UTC+2 schrieb Jeremy Barlow: >> &g

[Puppet Users] Announce: Puppet Server 2.6.0 and 1.2.0 are available

2016-09-08 Thread Jeremy Barlow
We’re happy to announce the 2.6.0 and 1.2.0 releases of Puppet Server. These are backward compatible feature and bug fix releases for versions 2.5.0 and 1.1.3, respectively. *NOTE*: If you are upgrading to version 2.6.0 from a version earlier than 2.5.0 and you have modified the “bootstrap.cfg

Re: [Puppet Users] puppetserver error "Service ':CaService' not found" when following puppet install guide

2016-09-10 Thread Jeremy Barlow
On Friday, September 9, 2016 at 7:25:48 AM UTC-7, Daniel Creed wrote: > > I have the same error, but even with the ca.cfg file. > > Assuming you are using Puppet Server 2.5.0 or 2.6.0, you might check to see that the "BOOTSTRAP_CONFIG" variable in your "/etc/sysconfig/puppetserver" or "/etc/def

[Puppet Users] Re: Ruby issue for installing "google-api-client" gem

2016-10-05 Thread Jeremy Barlow
Puppet Server is currently using JRuby from its 1.7.x release line, fixed to emulate MRI Ruby version 1.9. Eventually, we hope to be able to have Puppet Server use the JRuby 9000 line, which intends to be compatible with MRI Ruby 2.x. SERVER-1586

[Puppet Users] Re: Puppetserver & content logging

2016-12-21 Thread Jeremy Barlow
I don't think there's any way to register the TeeFilter without making changes to the library, trapperkeeper-webserver-jetty9 , that Puppet Server uses to integrate the Jetty web server. If you just wanted to get the response body bu

[Puppet Users] Re: Puppetserver & content logging

2017-01-04 Thread Jeremy Barlow
Hi Thomas, On Friday, December 23, 2016 at 3:11:53 AM UTC-8, Thomas Müller wrote: > > Hi Jeremy > > Am Mittwoch, 21. Dezember 2016 22:31:34 UTC+1 schrieb Jeremy Barlow: >> >> I don't think there's any way to register the TeeFilter without making >> changes

[Puppet Users] Announce: Puppet Server 1.0.8 available!

2015-03-30 Thread Jeremy Barlow
We're pleased to announce that Puppet Server 1.0.8 is now available. This release is a bug fix / maintenance release in the Puppet Server 1.x series. In accordance with the Semantic Versioning specification, this release contains fixes for bugs reported against the 1.0.2 rel

[Puppet Users] Re: Fresh Puppet PE 3.8 install error

2015-05-04 Thread Jeremy Barlow
lem that we'll use for tracking the longer-term fix - see https://tickets.puppetlabs.com/browse/SERVER-592. We would be interested in learning if there are any users who continue to encounter this problem after trying the workaround. --- Jeremy On Wednesday, April 29, 2015 at 1:41:20 P

[Puppet Users] Announce: Puppet Server 2.1.1 and 1.1.1 available!

2015-06-18 Thread Jeremy Barlow
We're pleased to announce that Puppet Server 2.1.1 and 1.1.1 are both now available! Both of these releases are backwards compatible bug fix and security releases in their respective Semantic Versioning major versions. This email is a combined announcement for 2.1.1 and 1.

[Puppet Users] Announce: Puppet Server 2.2.0 available!

2015-11-19 Thread Jeremy Barlow
Puppet Server 2.2.0 is now available. This is a feature release which, based on contributions from Brice Figureau, introduces a new Clojure-based auth.conf for Puppet Server. This initiative was previously described in the "RFC 22: HTTP Authorization Framework" thread here: https://groups.goog

[Puppet Users] Re: Announce: Puppet Server 2.2.0 available!

2015-11-21 Thread Jeremy Barlow
On Friday, November 20, 2015 at 3:43:38 PM UTC-8, Ellison Marks wrote: > > As I didn't see it in the documentation there, is there any documentation > on migrating settings from the old format and file to the new one? > The documentation under http://docs.puppetlabs.com/puppetserver/2.2/config

[Puppet Users] Re: Announce: Puppet Server 2.2.0 available!

2015-12-19 Thread Jeremy Barlow
on. The writeup on the old auth.conf seems much > more clear on how to use it: > https://docs.puppetlabs.com/puppet/latest/reference/config_file_auth.html. > > On Saturday, November 21, 2015 at 9:19:54 AM UTC-8, Jeremy Barlow wrote: >> >> >> ... >> >> I

[Puppet Users] Re: Puppet Server Crashing often

2015-12-19 Thread Jeremy Barlow
Has your Puppet Server written any content into the " /var/log/puppetlabs/puppetserver/puppetserver-daemon.log" file? Memory-related errors will often be written here instead of to the "/var/log/puppetlabs/puppetserver/puppetserver.log" file. For example, you may see something like: # > # jav

[Puppet Users] Re: Significance of ca_name?

2016-04-04 Thread Jeremy Barlow
On Saturday, April 2, 2016 at 4:36:46 AM UTC-7, dE wrote: > > The documentation says -- > > The name to use the Certificate Authority certificate. >> > > Which sound like wrong grammar. The correct one must be -- > > > The name to use for the Certificate Authority certificate. > > > On my master,

Re: [Puppet Users] Re: Could use another set of eyes to assist

2012-09-28 Thread Jeremy T. Bouse
On Fri, Sep 28, 2012 at 11:38 AM, jcbollinger wrote: > > > On Thursday, September 27, 2012 11:56:28 AM UTC-5, Jeremy wrote: >> >> I've got a puppet module I've written to support deploying a custom PHP >> web application that a client has developed. The ac

Re: [Puppet Users] Re: Could use another set of eyes to assist

2012-09-28 Thread Jeremy T. Bouse
On Fri, Sep 28, 2012 at 5:37 PM, jcbollinger wrote: > > > On Friday, September 28, 2012 10:53:45 AM UTC-5, Jeremy wrote: >> >> >> The use of the "YAML.load(open(args[0]))" call was in fact to support >> both local and network files. In this case I'

Re: [Puppet Users] Re: Could use another set of eyes to assist

2012-10-01 Thread Jeremy T. Bouse
On Mon, Oct 1, 2012 at 12:13 PM, jcbollinger wrote: > > On Saturday, September 29, 2012 12:03:33 AM UTC-5, Jeremy wrote: >> >> >> On Fri, Sep 28, 2012 at 5:37 PM, jcbollinger wrote: >> >>> [...] >>> >>> How big are the real deployment file

Re: [Puppet Users] Workaround for user password hash

2014-02-05 Thread Jeremy T. Bouse
I believe Chuck is on the right path.. Just from a simple test (https://gist.github.com/jbouse/8830543) this shows that using the double quotes is incorrect. On 05.02.2014 13:25, Chuck Anderson wrote: On Wed, Feb 05, 2014 at 09:48:59AM -0800, zerozerouno...@gmail.com wrote: I needed a "user" p

Re: [Puppet Users] Mcollective client installation

2014-02-17 Thread Jeremy T. Bouse
Last time I installed PE and looked at the Mcollective install it wasn't using SSL but rather PSK only. On 02/17/2014 02:48 PM, José Luis Ledesma wrote: > > I don't know how puppet enterprise works with mco, but in the open > source version you have to create a certificate for the user you are > g

Re: [Puppet Users] facter doesn't show ec2 facts on aws vpc

2014-04-27 Thread Jeremy T. Bouse
FACT-185 is the ticket I've been following for this issue. I haven't upgraded my AWS instances that are EC2-VPC vs EC2-Classic. The classic works, but VPC has been failing due to the fact that the EC2 fact depends on a constant MAC address which is not the case in VPC instances. On 27.04.2014

Re: [Puppet Users] RabbitMQ module release plan

2014-05-14 Thread Jeremy T. Bouse
On 14.05.2014 11:54, Stephen Boissiere wrote: Hi all, I'm hoping somebody can tell me if a new release of the Rabbit MQ plugin is imminent, or if not, how stable/tested the latest on github is? There's at least one fix I'd like to get hold of but I don't want to take any undue risks with our li

Re: [Puppet Users] Module repository organization

2014-05-16 Thread Jeremy T. Bouse
On 05/16/2014 09:29 AM, Johan Sunnerstig wrote: > Hello, > > I'm just wondering how people with a decent collection of modules are > organizing their modules and repositories? > We currently have one big repository with everything in it, and three > branches, basically stuff moves alpha -> beta ->

Re: [Puppet Users] Code deployment strategy sanity check

2014-05-16 Thread Jeremy T. Bouse
Guy, With ensure set to present all puppet will do is ensure that the software package is installed. Regardless of what version it will simply validate that it is installed and if it isn't it will trigger and install of the current version. You can then make use of 'mco package update ' to tr

Re: [Puppet Users] Module repository organization

2014-05-18 Thread Jeremy T. Bouse
On 05/18/2014 07:47 AM, David Schmitt wrote: > Hi, > > thank you Jeremy for sharing your setup. That looks very nice indeed! > > I do have a few questions, which might help further the understanding of > r10k deployments. > > * How is r10k used with local vagrant develo

Re: [Puppet Users] Re: EC2 autoscaling reusing hostnames

2014-05-27 Thread Jeremy T. Bouse
On 27.05.2014 07:23, Hugh Cole-Baker wrote: Am I missing a configuration option in the manual to somehow disable SSL certificate validation? Does everybody add a cron job to their puppet master to stop the puppetmaster daemon and blow away its SSL directory then restart it at exactly 12:00AM ever

Re: [Puppet Users] Re: EC2 autoscaling reusing hostnames

2014-05-27 Thread Jeremy T. Bouse
On 27.05.2014 08:00, Hugh Cole-Baker wrote: On Tuesday, 27 May 2014 12:56:05 UTC+1, Jeremy wrote: This actually sounds like a useful tool. Is this something you're (or would) consider releasing as OSS for others to make use of? I've put my autosign script up on a GitHub gist and at

Re: [Puppet Users] node name in certificates

2014-05-27 Thread Jeremy T. Bouse
On 26.05.2014 12:48, Sri Krishna G wrote: hi all, i am using VM clones for testing puppet. when i try to add a new node, though i change the host name definition, the certificates generated still show the old node name. [root@puppet-razor ssl]# ls [root@puppet-razor ssl]# pwd /etc/puppetlabs/

Re: [Puppet Users] Re: EC2 autoscaling reusing hostnames

2014-05-27 Thread Jeremy T. Bouse
On 27.05.2014 11:06, Felipe Salum wrote: I work around this by using a cloudinit script during the autoscale instance launch that gets the instance-id of the instance, rename the hostname and update /etc/hosts before running puppet. Cloud-init helps but there are limitations. I use cloud-init

Re: [Puppet Users] is there any any wat to create directoryies using hiera

2014-05-28 Thread Jeremy T. Bouse
On 28.05.2014 11:03, Supriya Uppalapati wrote: Hi, I have created directories in puppet/manifests/init.pp more init.pp class createdirectory { file { [ "/u01/app/","/u01/oracle", "/u01/oracle/product", ]: ensure => "directory", owner => "oracle", group => "oinstall", recurse => true, mod

Re: [Puppet Users] Applying exec only 1x - Dell OMSA setup

2014-09-28 Thread Jeremy T. Bouse
On 28.09.2014 21:26, JonY wrote: My instructions for setting up the repo and such for Dell OpenManage start with this command "wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash". It turns out the .cgi file has some cumbersome logic in it to determine OS and so forth - m

Re: [Puppet Users] Git Repo Strategy

2014-09-30 Thread Jeremy T. Bouse
environment setup so that all I do is commit to the GitHub repo which triggers Jenkins CI jobs that validate and push out to the puppet master. Once validated after being pushed out I can promote my job and it is merged from one branch to the next and runs through the cycle again. Regard, Jeremy signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Is there a puppet module for installing Zookeeper in cluster mode?

2014-10-05 Thread Jeremy T. Bouse
Hi there, I have written both Zookeeper and Solr4 puppet modules; however, currently as it was done on company time/resources and they have yet to establish/approve an Open-Source policy we're unable to share it without violating our employment contracts. We have done everything we can to be

Re: [Puppet Users] puppet module for checking CVE's

2014-10-10 Thread Jeremy T. Bouse
Granted I haven't completed taking a good look at the code yet, but to address Felix's concerns. What about a method of caching successful (ie: non-vulnerable) CVE fact results for an administratively configured time? This could limit the number of facts that have to run through their logic

Re: [Puppet Users] Tiered, Automatic addition deletion of Puppet Clients/Nodes

2014-10-10 Thread Jeremy T. Bouse
Dennis, Essentially it sounds like you're describing exactly what Amazon Launch Configurations (LC) and Auto Scaling Groups (ASG) are meant to do with the launching of new instances based on triggered events. You either can use the CloudWatch metrics as triggers or your own processes that

Re: [Puppet Users] packages via puppet

2014-10-16 Thread Jeremy T. Bouse
On 10/16/2014 10:02 AM, AAB !! wrote: > Secondly, would the following execute "apt-get update" every time on > agent's scheduled execution (runinterval) ? or would it only run for the > first time and would not run unless some changes are made to this class > file on puppet master ? > >ex

Re: [Puppet Users] Re: Dynamic Environments and Hiera

2014-11-03 Thread Jeremy T. Bouse
As far as I'm aware hiera is not going to go look back at itself in this case and actually pick up the new hierarchy. Instead you're going to have to set a custom fact on the host in question that sets "role" to "test" and then it should be able to be picked up. Also I believe you're going to n

Re: [Puppet Users] R10K deploy module module_name doesn't update Puppetfile of environments

2014-12-01 Thread Jeremy T. Bouse
Simon, Think of the Puppetfile like a Puppet manifest... It is a desired end-state declaration... You don't just run r10k to update a single module, you run the deploy environment to deploy that environment to make it match what the Puppetfile specifies. In this case an r10k environment is a

Re: [Puppet Users] Cloud init configuration management with Puppet

2015-08-24 Thread Jeremy T. Bouse
I believe you're looking at it from the wrong view point if you're trying to simply use an existing AMI and not for the creation of a new AMI to load. The cloud-init configuration can be manipulated using the user-data passed to the EC2 instance on initialization just as you can trigger the p