[Puppet Users] Re: Cannot run hadoop commands from manifest file

2014-03-20 Thread Shouvanik Haldar
Thanks for the reply. Somehow hadoop command is not getting recognised. I am still getting error err: /Stage[main]//Exec[hadoop-get-scoop]/returns: change from notrun to 0 failed: hadoop fs -copyToLocal s3://xxx-xxx-/scripts/mysql-connector-java.jar /home/hadoop/mysql-connector-java.jar ret

Re: [Puppet Users] Create variable as result of command execution

2014-03-20 Thread Roman Alekseev
Thank you! This is also working: /usr/sbin/nginx -V 2>&1 | /bin/grep -oP "http-proxy-temp-path=.*?\s" | /usr/bin/awk -F\'=\' {\'print $2\'} среда, 19 марта 2014 г., 17:31:45 UTC+4 пользователь jcbollinger написал: > > > > On Wednesday, March 19, 2014 4:03:26 AM UTC-5, Roman Alekseev wrote: >>

Re: [Puppet Users] append registry array (REG_MULTI_SZ) with puppet

2014-03-20 Thread Josh Cooper
Hi Helen, On Wed, Mar 12, 2014 at 9:24 AM, Helen Paterson wrote: > > Hi, > > When add values to a key using the below puppet code it clears the current > values on the server. Is there away to simply append a reg key value ? > Not currently. Please file a ticket at https://tickets.puppetlabs.co

Re: [Puppet Users] Re: Windows msi needed to udpate dns server list

2014-03-20 Thread Josh Cooper
On Wed, Mar 19, 2014 at 6:02 AM, Paul Tötterman wrote: > Does anyone have a suggestion of how to do this using and msi? I plan to >> use the puppet agent to run the msi to make the updates, but if someone has >> a different suggestion on puppet to mange that list of IP addresses on >> windows, we

Re: [Puppet Users] How to debug catalog transfer? (new idea!)

2014-03-20 Thread Andy Spiegl
> Okay, now we know that the problem has to do with the user SYSTEM. > What could he be missing? Maybe an environment variable? I have an idea! I was playing around with foreman and noticed a new error message: root@foreman:~# /etc/puppet/node.rb winpet1 Could not send facts to Foreman: "\x84"

[Puppet Users] use pe-http or ad a second http server

2014-03-20 Thread Evan Hisey
This is more a better practice than "can I do this" question. I need to server up the puppet agent repos and centos http install tree via HTTP from the the same box as puppet console. It is saner to use the pe-http or setup a second httpd instance on the same box? Evan -- You received this mess

Re: [Puppet Users] How to debug catalog transfer?

2014-03-20 Thread Andy Spiegl
On 2014-03-19, 13:32, Rob Reynolds wrote: > I meant change the puppet agent service to another user in the services > console just to rule that out. Oh, I see! I just did that, used the user ADMINISTRATOR and ... IT WORKED! Okay, now we know that the problem has to do with the user SYSTEM.

Re: [Puppet Users] conditional statement in config.pp

2014-03-20 Thread Peter Bukowinski
On Mar 20, 2014, at 1:26 PM, John wrote: > Below is a my current config,.pp file I'm trying to create a condition > that says > > if (/etc/ldap.conf contains the string host1.mydomain.com or > host2.mydomain.com) > Then install an sshd_ldap.erb template > else if (/etc/ldap.conf contai

[Puppet Users] conditional statement in config.pp

2014-03-20 Thread John
Below is a my current config,.pp file I'm trying to create a condition that says if (/etc/ldap.conf contains the string host1.mydomain.com or host2.mydomain.com) Then install an sshd_ldap.erb template else if (/etc/ldap.conf contains the string hostB.mydomain.com or hostA.mydomain.com)

Re: [Puppet Users] Announce: puppetdb-stencil 0.0.1

2014-03-20 Thread Nikola Petrov
This looks nice. Although I think that for the usecase you are presenting with nagios resources it will be much easier to use puppetdbquery[1]. The script you wrote might have other usecases. Nice work again :) -- Nikola On Thu, Mar 13, 2014 at 02:56:18PM -0700, Daniele Sluijters wrote: > Good n

Re: [Puppet Users] Error installing MySQL Module : 'You must have Puppet 0.25.0 or greated' whereas I've installed version 2.7.11

2014-03-20 Thread Mayeul Rousselet
Hi Ryan, I've added the puppet apt repo to get the last version (3.4.3) and now I can install the MySQL module. Thank you very much for your quick response, Mayeul Le jeudi 20 mars 2014 16:49:09 UTC+1, Ryan Coleman a écrit : > > > > > On Thu, Mar 20, 2014 at 3:19 AM, Mayeul Rousselet > > > w

Re: [Puppet Users] Error installing MySQL Module : 'You must have Puppet 0.25.0 or greated' whereas I've installed version 2.7.11

2014-03-20 Thread Ryan Coleman
On Thu, Mar 20, 2014 at 3:19 AM, Mayeul Rousselet < mayeul.rousse...@gmail.com> wrote: > Hi, > > I am on Ubuntu 12.04.2 LTS (launched in a VM). > I've installed puppet and ruby1.9.1 through apt-get. > I've installed puppet-module through gems > > When I try to install the module puppetlabs-mysql (

[Puppet Users] Error installing MySQL Module : 'You must have Puppet 0.25.0 or greated' whereas I've installed version 2.7.11

2014-03-20 Thread Mayeul Rousselet
Hi, I am on Ubuntu 12.04.2 LTS (launched in a VM). I've installed puppet and ruby1.9.1 through apt-get. I've installed puppet-module through gems When I try to install the module puppetlabs-mysql (puppet module install puppetlabs-mysql) I have the following error : 'You must have Puppet 0.25.0