[Puppet Users] Re: How to run shell script in new terminal using puppet.

2015-06-29 Thread jcbollinger
On Thursday, June 25, 2015 at 11:29:15 PM UTC-5, ayy...@orzota.com wrote: 1. I am trying to run 3 shell scripts. In first shell scripts i added some env variable in bashrc file and i sourced. 2. In second shell script contain that env variable. But that env variable is not reflected in

[Puppet Users] Deploy Puppet modules through a Python script ?

2015-06-29 Thread yohann delafollye
Hello, I need to write a Python script that will be deployed on OpenStack instances, it will used to install and configure different softwares according some systems parameters. So i want to deploy Puppet modules through my Python script, localy and Master-less, to automate installations

[Puppet Users] Concatenating files from server into a single file on the client

2015-06-29 Thread Sebastian Rettenberger
Hi, I am new to Puppet and I try to manage authorized_keys file on my servers with Puppet. Up until now, we have cronjob that combines all the files in one directory and stores them in .ssh/authorized_keys on the servers. Is something like this possible with Puppet as well? I have only found

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-29 Thread jcbollinger
On Friday, June 26, 2015 at 7:26:49 PM UTC-5, Aaron Lager wrote: I'm evaluating PE and after the super simple success of the ntp example, I thought I'd try out the /etc/hosts modules. I'm trying to add additional host entries, but all that happens is my existing additional entries

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

2015-06-29 Thread Andrew Coggins
Fixed my issue. I fixed up the hosts file according to this documentation: http://docs.puppetlabs.com/pe/latest/release_notes_known_issues.html#debianubuntu-local-hostname-issue I had puppet pointing to 127.0.0.1 in the hosts file. Changing this to the private IP of the ec2 instance resolved

[Puppet Users] Puppet, ENC, Foreman, Hiera. Best way for coexistence?

2015-06-29 Thread Nicola V
Hello, We're considering to migrate away from node definitions to something more future proof, with the idea to introduce an ENC into our infrastructure. I found some discussions loosely touching the topic from a few years back, and I'd love to hear what would be the way to go now, in 2015.

[Puppet Users] elegant way to hash a line in a file, if present

2015-06-29 Thread Cam Mac
Hi, I wanted to create a recipe for hashing a line in a file (I'd rather hash it than delete it), if the file is present and that particular line is present. I came up with a less than elegant solution and wondered whether someone knows of a better way. The file in question:

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-29 Thread Aaron Lager
Okay, I have my first clue: # THIS FILE IS MANAGED BY PUPPET # /etc/puppetlabs/puppet/environments/production/modules/hosts/templates/ trusty/etc/hosts.erb This file does not existnice! On Monday, June 29, 2015 at 10:06:20 AM UTC-7, Aaron Lager wrote: @John, the host modules are for

Re: [Puppet Users] help with ghoneycutt hosts on PE

2015-06-29 Thread Aaron Lager
The purge_hosts parameter was not set, so should be default to false. I now have it explicitly set to false, and I get the same behavior. How can I figure out where the files are stored, so I can inspect the puppet file to see if there is something else that is set that PE isn't showing on via

[Puppet Users] puppetlabs-apache and mod_jk

2015-06-29 Thread Peter Berghold
Does the apache::vhost facility in puppetlabs-apache support mod_jk redirects in some fashion I'm missing? I'm about to use this module (along with a couple of others) to set up Jenkins on a server of mine for purely research purposes... -- You received this message because you are subscribed

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-29 Thread Aaron Lager
@John, the host modules are for maintaining the /etc/hosts files. On windows it's located in %systemroot%\system32\drivers\etc\hosts ghoneycutt-hosts is the module I'm trying to use. I've tried with the hash both ways: {10.150.28.8:puppet.mybluebolt.com} or {puppet.mybluebolt.com:10.150.28.8}

Re: [Puppet Users] Re: Update Windows Tomcat using Puppet

2015-06-29 Thread Rob Reynolds
On Fri, Jun 26, 2015 at 1:57 AM, Mike A. mike.bren...@gmail.com wrote: If there's no way I can use Puppet to install/update Tomcat directly, should I use Chocolatey instead? You can use Puppet to upgrade Tomcat directly. You've probably already come across puppetlabs-tomcat[1] and realized it

Re: [Puppet Users] Re: Announce: Puppet Agent 1.2, Facter 3, Puppet 4.2, Hiera 3

2015-06-29 Thread Daniel Urist
Are there up-to-date instructions for how to install from the apt repos for jessie? On Fri, Jun 26, 2015 at 12:13 PM, Eric Sorenson eric.soren...@puppetlabs.com wrote: Last night we rolled a patch release which includes a fix for FACT-1055, a regression which inadvertently broke backward

Re: [Puppet Users] Re: PL policy toward fixing known bugs in PE 3.8.x

2015-06-29 Thread Eric Sorenson
On Fri, 26 Jun 2015, Vince Skahan wrote: yup - appreciate the responselet me know if you want me to open a ticket to get this into the next 3.8.x (via my work email). Yep, that's definitely the way to go. https://support.puppetlabs.com/ Eric Sorenson - eric.soren...@puppetlabs.com -

Re: [Puppet Users] Re: Announce: Puppet Agent 1.2, Facter 3, Puppet 4.2, Hiera 3

2015-06-29 Thread Michael Stahnke
On Mon, Jun 29, 2015 at 10:33 AM, Daniel Urist dur...@ucar.edu wrote: Are there up-to-date instructions for how to install from the apt repos for jessie? Install http://apt.puppetlabs.com/puppetlabs-release-pc1-jessie.deb and then use apt-get to install puppet-agent. That should be about it.

Re: [Puppet Users] Re: Announce: Puppet Agent 1.2, Facter 3, Puppet 4.2, Hiera 3

2015-06-29 Thread Melissa Stone
On Mon, Jun 29, 2015 at 11:27 AM, Michael Stahnke stah...@puppetlabs.com wrote: On Mon, Jun 29, 2015 at 10:33 AM, Daniel Urist dur...@ucar.edu wrote: Are there up-to-date instructions for how to install from the apt repos for jessie? Install

[Puppet Users] Re: [announce] puppetlabs-concat 2.0.x release deletion

2015-06-29 Thread Alex Dreyer
On Monday, June 29, 2015 at 12:55:44 AM UTC-7, Alex Harvey wrote: I'm not exactly sure what's going on here but Puppet Forge seems to be still advertising the versions 2.0.0 and 2.0.1 From librarian-puppet install --verbose ... [Librarian] Resolving puppetlabs-concat ( 2.0.0)

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-29 Thread Aaron Lager
So I started over from scratch, and now I get the following error on the agent: sudo puppet agent --test Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 400 on SERVER: can't convert Array into Hash at

[Puppet Users] Re: Command Exceeded Timeout on Basic Shell Commands

2015-06-29 Thread Franck
In case anyone is interested, we figured out what was causing this issue. Being that we run a Ruby on Rails application and naturally Puppet runs on Ruby as well, we actually load TC Malloc memory allocator for our application. By running one of the applying configuration processes in

Re: [Puppet Users] puppetlabs-apache module: anyway to define default parameters for every vhost

2015-06-29 Thread Angel L. Mateo
El 25/06/15 a las 12:47, UK_beginner escribió: I'm using the puppetlabs-apache module (currently v1.5.0) and I'm looking for a way to be able to define some default values for every virtual host. For example, it would be good to set ServerAdmin to 'x...@yy.com' as a default, allowing overrides

Re: [Puppet Users] puppet agent won't start

2015-06-29 Thread Adaryl Wakefield
Grep output: puppet-agent/trusty,now 1.2.1-1trusty amd64 [installed] puppetlabs-release-pc1/trusty,now 0.9.2-1trusty all [installed] I got the same output you did. After checking the services, they appear to be up and running. The issue I'm having now and that I posted about in another thread is

[Puppet Users] Re: API call to certificate_request deletes the request

2015-06-29 Thread Josh Cooper
On Sunday, June 28, 2015 at 10:49:21 AM UTC-7, Mikhail Simin wrote: I'm using Puppet 3.7.3 and I observe this strange behavior when using the API to sign a certificate: == /var/log/apache.log == Jun 28 17:18:07.00 prod-puppetca apache: 127.0.0.1 prod-puppetca:8140 - -

[Puppet Users] Re: [announce] puppetlabs-concat 2.0.x release deletion

2015-06-29 Thread Alex Harvey
I'm not exactly sure what's going on here but Puppet Forge seems to be still advertising the versions 2.0.0 and 2.0.1 From librarian-puppet install --verbose ... [Librarian] Resolving puppetlabs-concat ( 2.0.0) https://forgeapi.puppetlabs.com [Librarian] Checking manifests [Librarian] Module

[Puppet Users] Re: [announce] puppetlabs-concat 2.0.x release deletion

2015-06-29 Thread Alex Harvey
Ah, thanks very much for clearing that up. On Tuesday, June 30, 2015 at 5:50:04 AM UTC+10, Alex Dreyer wrote: On Monday, June 29, 2015 at 12:55:44 AM UTC-7, Alex Harvey wrote: I'm not exactly sure what's going on here but Puppet Forge seems to be still advertising the versions 2.0.0 and