Re: [Puppet Users] Puppet caught TERM; calling stop - error

2012-10-10 Thread Will S. G.
? On Wednesday, October 10, 2012 6:06:48 AM UTC-7, Garrett Honeycutt wrote: > > On 10/4/12 8:32 AM, Will S. G. wrote: > > Wed Oct 03 23:26:55 -0700 2012 Puppet (err): Could not retrieve catalog > > from remote server: Error 400 on SERVER: could not obtain a database >

[Puppet Users] Re: Puppet caught TERM; calling stop - error

2012-10-10 Thread Will S. G.
This may be related to the latest kernel: 2.6.32-279.9.1.el6.x86_64. My other CentOS 6.3 hosts with 2.6.32-279.5.2.el6.x86_64 kernel do not experience this issue. Anyone else have this problem? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] Re: Puppet caught TERM; calling stop - error

2012-10-04 Thread Will S. G.
? I've been at it for a while, I cannot figure this out. On Wednesday, October 3, 2012 11:32:48 PM UTC-7, Will S. G. wrote: > > I'm running puppet on CentOS 6.3 x86_64: > >- facter.i386 1:1.6.12-2.el6@puppet >- puppet.noarch 2.7.19-1.el6

[Puppet Users] Puppet caught TERM; calling stop - error

2012-10-03 Thread Will S. G.
I'm running puppet on CentOS 6.3 x86_64: - facter.i386 1:1.6.12-2.el6@puppet - puppet.noarch 2.7.19-1.el6 @puppet - ruby-shadow.x86_641.4.1-13.el6 @puppet Puppetmaster: - facter.x86_64 1:1.6.12-2.el6@puppet - hiera.noarch

[Puppet Users] Using puppet for release management?

2012-04-19 Thread Will S. G.
I'm trying to convince my company to use puppet as the release management engine to publish the bits for Drupal to the web servers. The reason why I want this is to cut off the developers from production, but also create a process and procedure for code release to the stage and production envir

[Puppet Users] Define node environment on puppet master nodes.pp?

2012-04-12 Thread Will S. G.
Hello, Is there a way to define an environment for the prospective nodes in nodes.pp (maybe a default node?) I'd like to be able to define it there and then have my puppet module configure the node puppet.conf (erb template) based on the parameters that’s passed on from the master. Possible? T

[Puppet Users] Defining node environment on master nodes.pp?

2012-04-12 Thread Will S. G.
Hello, Is there a way to define an environment for the prospective nodes in nodes.pp? *I'd like to be able to define it there and then have my puppet module configure the node puppet.conf* (*erb* template) *based* on the parameters that*’s* passed on from the master. Possible? Thanks, Wil

[Puppet Users] Condition based on environment

2012-04-11 Thread Will S. G.
Hi, I'm using one of the git projects for my Apache configuration. I'm now playing with Puppet environments, and I need to define a few parameters based on the environment. For example, I have params.pp: $user = $operatingsystem ? { /RedHat|CentOS/ => 'apache', /Debian|Ubuntu/ => 'w

[Puppet Users] Template condition based on variable

2012-03-02 Thread Will S. G.
I have a template for zabbix_agentd.conf.erb that has the following line in it: <% if has_variable?( "mysqlsrv" ) then %> UserParameter=FromDual.MySQL.check,/usr/local/mysql_performance_monitor/FromDualMySQLagent.pl /usr/local/mysql_performance_monitor/etc/FromDualMySQLagent.conf <% end %> I

Re: [Puppet Users] Puppet condition based on variable.

2012-03-01 Thread Will S. G.
I'm not being descriptive, I know. I'll clarify as pseudo-code; I'm essentially attempting to declare a variable in node.pp as such: node 'util-mysql0' inherits default { $mysqlsr = [define value] } So: - Define variable - Create the condition in the template - If var

Re: [Puppet Users] Puppet condition based on variable.

2012-03-01 Thread Will S. G.
Thanks Den, What if I were to define a string instead of boolean? $mysqlsrv = 'mysqlsrv' That means <% if has_variable?( "mysqlsrv" ) then %> should work, no? Even with your recommended solution, I end up with Could not find value for 'mysqlsrv,' which is what I ran into while troubleshooti

[Puppet Users] Puppet condition based on variable.

2012-03-01 Thread Will S. G.
I have a template for zabbix_agentd.conf.erb that has the following line in it: <% if has_variable?( "mysqlsrv" ) then %> UserParameter=FromDual.MySQL.check,/usr/local/mysql_performance_monitor/FromDualMySQLagent.pl /usr/local/mysql_performance_monitor/etc/FromDualMySQLagent.conf <% end %> I

[Puppet Users] Facter displaying multiple IP addresses?

2012-02-12 Thread Will S. G.
Hi, I have a motd module (not mine) that rewrites /etc/motd with some useful host details. One particular piece of information is the IP address in motd.erb: FQDN: <%= fqdn %> IP: <%= ipaddress %> I have several hosts that have multiple IP addresses, and I need to display them as well. When I

[Puppet Users] Re: Anyone seeing odd agent behaviour with 2.7.10?

2012-02-10 Thread Will S. G.
I was browsing the group to see if anyone else was experiencing the issue. I'm having the same with CentOS 6.2 x86_64. From what I see, puppetd should be running with the user puppet. However, the pid is now owned by root, which is obviously the issue. Someone made a mistake on the puppet RPM spec

[Puppet Users] Example42 MySQL puppet-module

2012-02-09 Thread Will S. G.
Hi there, I thought I understood how this module works, but I guess I missed something. Here is what I have in my nodes.pp node 'mysql' inherits default { include mysql mysql::user { "db1": mysql_password_hash => "db1", mysql_user => "db1",

[Puppet Users] Re: camptocamp / puppet-apache can't get it to work properly.

2011-12-20 Thread Will S. G.
I figured it out, I needed the puppet-common modules installed and included. Thank you for your help this morning. On Dec 20, 1:30 am, "Will S. G." wrote: > > IIRC you only get LSB Facts if you have the necessary LSB package, > > which is redhat-lsb on RHEL I think. >

[Puppet Users] Re: camptocamp / puppet-apache can't get it to work properly.

2011-12-20 Thread Will S. G.
> IIRC you only get LSB Facts if you have the necessary LSB package, > which is redhat-lsb on RHEL I think. That was it; redhat-lsb package was missing, which begs the question, why not require it in the module? There is another error (Puppet::Parser::AST::Resource failed with error ArgumentError

[Puppet Users] camptocamp / puppet-apache can't get it to work properly.

2011-12-20 Thread Will S. G.
Hello, I'm attempting to use the camptocamp / puppet-apache module on one of my CentOS 6 hosts. I defined include apache on my node, imported the modules, and then executed puppetd to run. This is what I see when I run it: err: Could not retrieve catalog from remote server: Error 400 on SERVER: N

[Puppet Users] Re: Puppet node network configuration

2011-11-14 Thread Will S. G.
:52, Will S. G. wrote: > > > > > > > > > > > Hello everyone, > > > I'm fairly new to the DevOps realm, and while I've written my fair > > share of bash loops and such, I figured it was time to learn something > > new. That being said, I&

[Puppet Users] Puppet node network configuration

2011-11-14 Thread Will S. G.
Hello everyone, I'm fairly new to the DevOps realm, and while I've written my fair share of bash loops and such, I figured it was time to learn something new. That being said, I've been working on automating the kickstart process (no cobbler yet). I've configured my Kickstart script (CentOS 6) to