[Puppet Users] Importing environmental variables from file via exec

2013-07-17 Thread Przemek
Hi Puppet Community, I prepare manifests and modules to deploy stuff that I need on agent. During building postgres database I have to export some environmental UNIX variables stored in "some_file.conf". Standard procedure to do this is simply run command: root@hostname:/path_to_config_file# .

Re: [Puppet Users] Announce: Facter 1.7.2 Available

2013-07-17 Thread Matthias Saou
Hi, It seems that something has changed in the way the domain is obtained (and broke, in my case) : It seems that for systems with a non-resolvable fqdn, the domain and fqdn are taken from the first resolvable name in the resolv.conf "search" domains, and are empty if none are found. I've created

[Puppet Users] Re: Puppetmaster 2.7.18-5

2013-07-17 Thread setests setests
I found that others are also having similar problems. https://groups.google.com/forum/#!topic/puppet-users/o58A8nLyFWk On Tue, Jul 16, 2013 at 5:22 PM, setests setests wrote: > Hi > > I am running Puppet version 2.7.18-5 with around ~ 100 nodes syncing with > the server with the defaults of ha

Re: [Puppet Users] Re: Puppetmaster 2.7.18-5

2013-07-17 Thread R.I.Pienaar
- Original Message - > From: "setests setests" > To: puppet-users@googlegroups.com > Sent: Wednesday, July 17, 2013 10:12:10 AM > Subject: [Puppet Users] Re: Puppetmaster 2.7.18-5 > > I found that others are also having similar problems. > > https://groups.google.com/forum/#!topic/pupp

[Puppet Users] Firewall module and grouping resources and definitions

2013-07-17 Thread Carlos Sanchez
Hi, I'm using the puppetlabs firewall module and have issues where other definitions that download files are executed between firewall rules being applied, causing the file downloads to fail. Firewall is configured as recommended Firewall { before => Class['maestro_nodes::firewall::post

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread Forrie
Our Master (server) cert has remained intact, last installed on Nov 2 2011. So I don't believe that's the issue. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email

[Puppet Users] Re: Importing environmental variables from file via exec

2013-07-17 Thread jcbollinger
On Wednesday, July 17, 2013 2:56:34 AM UTC-5, Przemek wrote: > > Hi Puppet Community, > > I prepare manifests and modules to deploy stuff that I need on agent. > During building postgres database I have to export some environmental UNIX > variables stored in "some_file.conf". > Standard procedu

[Puppet Users] Re: Manifest that runs before anything else

2013-07-17 Thread jcbollinger
On Tuesday, July 16, 2013 10:13:58 AM UTC-5, Mark Hatch wrote: > > I started making manifest that are classes so that I can declare them and > organize them with groups and nodes in puppet console. I have one > manifest/class that I want to run before anything. I know that there are > ways t

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread jcbollinger
On Tuesday, July 16, 2013 4:32:35 PM UTC-5, Forrie wrote: > > We are not configured to auto-sign certificates. > > Clearly, the client is making a connection to the master: > > > 10.101.0.10 - - [16/Jul/2013:17:23:46 -0400] "GET /production/certificate/ > de-prod-archive.ourdomain.com? HTTP/1.1"

[Puppet Users] Re: Permission problem on puppet master

2013-07-17 Thread jcbollinger
On Tuesday, July 16, 2013 11:41:12 AM UTC-5, Piotr Jasiulewicz wrote: > > Hi John, > > thanks for your answer, lunching via service was the first thing I tried > (which also produces the same error). > > The linux is Ubuntu 13.X > > The startup: > > root@puppet:/etc/puppet# service puppetmaster

[Puppet Users] Re: Permission problem on puppet master

2013-07-17 Thread Piotr Jasiulewicz
Hi John there is no SELinux on this system. Issue still is an issue.. :/ Cheers, Piotr W dniu środa, 17 lipca 2013 16:13:24 UTC+1 użytkownik jcbollinger napisał: > > > > On Tuesday, July 16, 2013 11:41:12 AM UTC-5, Piotr Jasiulewicz wrote: >> >> Hi John, >> >> thanks for your answer, lunching

[Puppet Users] Re: template - need to fail if referencing undefined var

2013-07-17 Thread jcbollinger
On Monday, July 15, 2013 11:25:50 AM UTC-5, Brano Zarnovican wrote: > > Hi, > > I have the following code snippet > > node default { > # $var_a .. is undefined > $var_b = hiera("var_b", undef) > $var_c = undef > > file { "/var/tmp/foo.txt": content => inline_template(" > > <% if

[Puppet Users] Windows Issue: Package ensure: change from absent to present failed

2013-07-17 Thread Josh D
Master: RHEL6 running Puppet 3.2.2 Node: Windows 7 x64 Running Puppet 3.2.3 I have the following rule defined on my Puppet master to push Python to client workstations: package { 'Python 2.7.5 (64-bit)': ensure => installed, source => '\\server\share\Puppet\win64\Python

Re: [Puppet Users] Windows Issue: Package ensure: change from absent to present failed

2013-07-17 Thread Rob Reynolds
Perhaps this could be a permissions error? Can you validate that the user the service runs under can access the c:\Python27 folder and that it can see the registry settings? -- Rob Reynolds *Join us at PuppetConf 2013, August 22-23 in San Francisco - * http://bit.ly/pupconf13 On Wed, Jul 17, 2

[Puppet Users] Installing Puppet on Windows: Error 1053

2013-07-17 Thread Иван Кадочников
Hi all, I have trouble installing puppet open source 3.2.3 from the msi package on Windows 7 Home Basic. The error message is "Service 'Puppet Agent' (puppet) failed to start. Verify that you have sufficient privileges to start system services." I am pretty sure it's not a privileges problem. I

[Puppet Users] Re: Windows Issue: Package ensure: change from absent to present failed

2013-07-17 Thread Josh Cooper
On Wednesday, July 17, 2013 9:19:27 AM UTC-7, Josh D wrote: > > Master: RHEL6 running Puppet 3.2.2 > Node: Windows 7 x64 Running Puppet 3.2.3 > > I have the following rule defined on my Puppet master to push Python to > client workstations: > package { 'Python 2.7.5 (64-bit)': > ensure

Re: [Puppet Users] Re: Windows Issue: Package ensure: change from absent to present failed

2013-07-17 Thread Rob Reynolds
Thanks Josh. I wasn't thinking the install for only one user would be a problem so I didn't mention it. I guess it falls into a different part of the registry (HKCU) as well so it wouldn't show up as installed at all for the other accounts. -- Rob Reynolds Puppet Labs *Join us at PuppetConf 2013,

[Puppet Users] Re: Installing Puppet on Windows: Error 1053

2013-07-17 Thread Josh Cooper
On Wednesday, July 17, 2013 9:27:05 AM UTC-7, Иван Кадочников wrote: > > Hi all, > > I have trouble installing puppet open source 3.2.3 from the msi package on > Windows 7 Home Basic. > The error message is "Service 'Puppet Agent' (puppet) failed to start. > Verify that you have sufficient priv

Re: [Puppet Users] Windows Issue: Package ensure: change from absent to present failed

2013-07-17 Thread Josh D
On Wednesday, July 17, 2013 10:24:15 AM UTC-6, Rob Reynolds wrote: > Perhaps this could be a permissions error? > > Can you validate that the user the service runs under can access the > c:\Python27 folder and that it can see the registry settings? > > It is running as the SYSTEM account. so it s

[Puppet Users] Puppet agent process get stuck

2013-07-17 Thread yannig rousseau
Hi, 3 days ago, we had a production issue where the puppetmaster became unreachable for 20 minute. All of the puppet clients which tried to connect at this time are now failing : "Run of Puppet configuration client already in progress; skipping" Further investigation show that the puppet age

[Puppet Users] Re: PUPPETDB and pgpool II

2013-07-17 Thread Robert Bachmann
ok so I got rid of caching and now in the pgpool.log I see the snippet below. Note that I can use pgpool to quesry the puppetdb to get data 2013-07-17 13:01:28 ERROR: pid 1193: Bind: cannot get parse message "S_1" 2013-07-17 13:01:28 LOG: pid 1193: do_child: exits with status 1 due to error 201

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread Yaniv Kaul
On Wednesday, July 17, 2013 6:00:49 PM UTC+3, jcbollinger wrote: > > > On Tuesday, July 16, 2013 4:32:35 PM UTC-5, Forrie wrote: >> >> We are not configured to auto-sign certificates. >> >> Clearly, the client is making a connection to the master: >> >> >> 10.101.0.10 - - [16/Jul/2013:17:23:46 -04

[Puppet Users] Choosing provider by properties?

2013-07-17 Thread Jakov Sosic
Hi, is it possible to choose the provider based on property? For example, I'm trying to develop two different providers for same type of resource. If i use path location on the local filesystem I want provider "local" to be chosen, and if I use link property, then I want provider "remote" to be c

[Puppet Users] Re: Windows Issue: Package ensure: change from absent to present failed

2013-07-17 Thread Josh D
On Wednesday, July 17, 2013 10:39:51 AM UTC-6, Josh Cooper wrote: > > > Based on http://www.python.org/download/releases/2.5/msi/ I think python > is only being installed for the current user, not all users. You'll have to > specify ALLUSERS=1 to get that behavior. I don't see this explicitly c

RE: [Puppet Users] Announce: Puppet 3.2.3 Available

2013-07-17 Thread Kent R. Spillner
> 3.2.3 is a bugfix release of the Puppet 3.2 series. It fixes some > Windows bugs introduced in 3.2.0, as well as a few performance > problems and miscellaneous bugs. > > === > ## Puppet 3.2.3 Downloads ## > === > > Source: https://downloads.puppetlabs.com

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread Forrie
[ ... ] > Well, that at least narrows it down. The master is not recognizing the > client's certificate-signing request, or is refusing to service it. Does > the master already have a signed certificate for this client (or at least > one bearing the requested certname)? "puppet cert list --

[Puppet Users] Enterprise Puppet 3 with AIX WPAR support

2013-07-17 Thread Larry Sybrandt
Hello All Just wondering where to manage an AIX server with multiple WPARS. At the host level or at each guest level? It seems like one way would be easier than another. I just can't figure out which one that is. -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Windows Issue: Package ensure: change from absent to present failed

2013-07-17 Thread Josh Cooper
On Wednesday, July 17, 2013 11:33:51 AM UTC-7, Josh D wrote: > > > > On Wednesday, July 17, 2013 10:39:51 AM UTC-6, Josh Cooper wrote: >> >> >> Based on http://www.python.org/download/releases/2.5/msi/ I think python >> is only being installed for the current user, not all users. You'll have to

[Puppet Users] Re: Windows Issue: Package ensure: change from absent to present failed

2013-07-17 Thread Josh D
On Wednesday, July 17, 2013 1:56:42 PM UTC-6, Josh Cooper wrote: > > Another user had to modify the NTFS and Share permissions for 'Domain > Computers' to access the share (map the drive)[2]. This is because > LocalSystem doesn't have any credentials with which to access the network. > > Josh >

Re: [Puppet Users] Enterprise Puppet 3 with AIX WPAR support

2013-07-17 Thread Michael Stahnke
On Wed, Jul 17, 2013 at 12:33 PM, Larry Sybrandt wrote: > Hello All > > Just wondering where to manage an AIX server with multiple WPARS. At the > host level or at each guest level? > > It seems like one way would be easier than another. I just can't figure out > which one that is. I played wit

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread Forrie
I'm seeing this error in the logs: Jul 17 16:37:17 server puppet-agent[17835]: (/File[/var/lib/puppet/lib]) Could not evaluate: Could not retrieve information from environment production source(s) puppet:/server.ourdomain.com/plugins But I don't believe this is connected to the aforementioned p

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread jcbollinger
On Wednesday, July 17, 2013 2:33:22 PM UTC-5, Forrie wrote: > > > > [ ... ] >> Well, that at least narrows it down. The master is not recognizing the >> client's certificate-signing request, or is refusing to service it. Does >> the master already have a signed certificate for this client (or

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread Forrie
> I still say the problem is more likely with the master than with the > agent. My working hypothesis is that when you upgraded the master to v3.2 > you broke its certificate-signing functionality. Supposing that the > master's CA certificate was carried over during the upgrade, clients that

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread jcbollinger
On Wednesday, July 17, 2013 12:25:18 PM UTC-5, Yaniv Kaul wrote: > > > How do I verify if multiple copies are installed? > I would suggest using the 'find' command on the master to look for files and directories named 'puppet'. Make sure all the results belong to the same Puppet install. In

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread jcbollinger
On Wednesday, July 17, 2013 4:24:13 PM UTC-5, Forrie wrote: > > > I still say the problem is more likely with the master than with the >> agent. My working hypothesis is that when you upgraded the master to v3.2 >> you broke its certificate-signing functionality. Supposing that the >> master

[Puppet Users] Re: err: Could not call list: header too long

2013-07-17 Thread rleelink
For what it is worth, I also was running into same error, and removed a zero byte cert file and the problem went away. Only in my case, the zero byte file was in /var/puppet/ssl/ca/signed Thanks, Jason! -- You received this message because you are subscribed to the Google Groups "Puppet Users

[Puppet Users] Re: 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-17 Thread Forrie
I do not have separate Puppet installs. At the moment, it's been installed via the Gem, so the master and agent are coming from the same code, running on the original host (it was not rebuilt). It is running under Passenger/Apache, presently. -- You received this message because you are su

Re: [Puppet Users] Announce: Puppet 3.2.3 Available

2013-07-17 Thread Justin Brown
Moses, The Fedora 19 packages have not been updated. Could you issue packages for http://yum.puppetlabs.com/fedora/f19/? Thanks, Justin On Mon, Jul 15, 2013 at 2:18 PM, Moses Mendoza wrote: > 3.2.3 is a bugfix release of the Puppet 3.2 series. It fixes some > Windows bugs introduced in 3.2.0,

[Puppet Users] Puppetmaster 3.2.3 logging different than previous versions

2013-07-17 Thread Cory Stoker
Hello: After upgrading to Puppet 3.2.3 I have noticed that the puppetmaster does not log the catalog compilation time like it did in 3.1.1 or before. This log line used to look like: "myserver puppet-master[19002]: Compiled catalog for myhost in environment production in 1.01 seconds" Even if

[Puppet Users] Unable to use Cloud Provisioner

2013-07-17 Thread shivaraj mathrubai
Hi Guys, I'm unable to load the module cloud provisioner, when I try to run node_aws it gives me the below errors: Error: Could not autoload puppet/face/node_aws/list_keynames: no such file to load -- guid Error: Could not parse application options: Could not autoload puppet/face/node_aws/li

[Puppet Users] Re: Unable to use Cloud Provisioner

2013-07-17 Thread shivaraj mathrubai
I'm using CentOS On Thursday, 18 July 2013 00:21:52 UTC+1, shivaraj mathrubai wrote: > > > Hi Guys, > > I'm unable to load the module cloud provisioner, when I try to run > node_aws it gives me the below errors: > > Error: Could not autoload puppet/face/node_aws/list_keynames: no such file > to

[Puppet Users] best way override variables of parent providers?

2013-07-17 Thread Schofield
I would like to override an instance variable of a parent custom provider. Is it safe to override to the initialize method in the subclass in order override the instance variable? Or is there a better way to do this when writing custom providers? -- You received this message because you are

Re: [Puppet Users] Re: Unable to use Cloud Provisioner

2013-07-17 Thread Justin Stoller
On Wed, Jul 17, 2013 at 4:23 PM, shivaraj mathrubai wrote: > I'm using CentOS > > > On Thursday, 18 July 2013 00:21:52 UTC+1, shivaraj mathrubai wrote: >> >> >> Hi Guys, >> >> I'm unable to load the module cloud provisioner, when I try to run >> node_aws it gives me the below errors: >> >> Error:

[Puppet Users] Re: Puppetmaster 2.7.18-5

2013-07-17 Thread Michael Dodwell
I found 2.7 had a memory leak(s). If you wish to run as web brick I'd suggest restarting on a daily basis. I haven't ran 3.x as web brick so I'm unsure if it's still a problem, running puppet master with apache phusion has solved a lot of those problems for me. On Tuesday, July 16, 2013 9:52

[Puppet Users] Welcome Cloudsmith to Puppet Labs!

2013-07-17 Thread Nigel Kersten
Some of you will already be familiar with Cloudsmith products such as Geppetto, an IDE for Puppet modules, and some of you may be familiar with the excellent work Cloudsmith folks like Henrik have done in areas like the Puppet core parser. We've been working together for a while now, and today we'

Re: [Puppet Users] Re: Windows Issue: Package ensure: change from absent to present failed

2013-07-17 Thread Josh Cooper
On Wed, Jul 17, 2013 at 1:29 PM, Josh D wrote: > On Wednesday, July 17, 2013 1:56:42 PM UTC-6, Josh Cooper wrote: > >> >> Another user had to modify the NTFS and Share permissions for 'Domain >> Computers' to access the share (map the drive)[2]. This is because >> LocalSystem doesn't have any cre

[Puppet Users] Re: Welcome Cloudsmith to Puppet Labs!

2013-07-17 Thread Niels Abspoel
Congratulations, I think this is very good news for the community. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. T

[Puppet Users] Re: PUPPETDB and pgpool II

2013-07-17 Thread Jared Curtis
This error means the client is disconnecting without sending an "I'm Disconnecting" packet. If the client is the puppet master then you probably should file a bug report. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

Re: [Puppet Users] Re: Weird encoding error: "0xF3" to UTF-8 in conversion from ASCII...

2013-07-17 Thread Josh Cooper
On Tue, Jul 2, 2013 at 12:52 AM, Álvaro Acción - CiTIUS < alvaroaccionmon...@gmail.com> wrote: > The output I get is this one: > > C:\Program Files (x86)\Puppet Labs\Puppet\bin>puppet.bat agent > --server=pupbuntu > .inv.usc.es --no-daemonize --verbose --debug --trace > Could not retrieve domain:

Re: [Puppet Users] Puppetmaster 3.2.3 logging different than previous versions

2013-07-17 Thread Josh Cooper
On Wed, Jul 17, 2013 at 4:21 PM, Cory Stoker wrote: > Hello: > > After upgrading to Puppet 3.2.3 I have noticed that the puppetmaster does > not log the catalog compilation time like it did in 3.1.1 or before. This > log line used to look like: > "myserver puppet-master[19002]: Compiled catalog

Re: [Puppet Users] mtime/md5lite with puppet 3.x bug Bug #13199

2013-07-17 Thread Josh Cooper
On Tue, Jun 25, 2013 at 7:12 AM, Stefan Wiederoder < stefanwiedero...@googlemail.com> wrote: > Hello List, > > I´ve tried to switch from md5 checksum to md5lite within all my > configuration to spare a few cpu cycles on my master, > but it didn´t work at all :-( > > Then I´ve found out about bug #

Re: [Puppet Users] Puppet Enterprise no longer catching "Press Enter to Continue" at end of Exec

2013-07-17 Thread Josh Cooper
On Tue, Jul 2, 2013 at 2:19 PM, Scott Crowe wrote: > I have been working on automating our deployment process which includes a > call to an application that expects the user to press Enter when it is > complete. > The puppet agent runs as LocalSystem, and in newer versions of Windows, the LocalSy

Re: [Puppet Users] Re: Dependency Cycle Question

2013-07-17 Thread Josh Cooper
On Wed, Apr 3, 2013 at 7:42 AM, wrote: > Hi John, > > Your explanation should be correct. I believe the registry_key is > behaving like the file resource since I was able to replace the problem > using a file resource instead. > > You are also correct that the registry_key has autorequire implem

[Puppet Users] Re: puppet agent / master version compatibility?

2013-07-17 Thread Axel Bock
Thanks :) . Sounds like good advice, I have adjusted my setup now. Unfortunately that means doing a two-step bootstrap process of a new environment. Greetings, Axel. Am Montag, 15. Juli 2013 14:36:21 UTC+2 schrieb Axel Bock: > > Hello group, > > I am trying to run a puppet agent v3.2.2 again