[Puppet Users] ENC broken in the strangest way.

2014-03-11 Thread Steve Neuharth
I have an ENC that's set up like this: [master] masterport = 8140 bindaddress = 0.0.0.0 ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY autosign = true storeconfigs = true * environment = production manifest= $confdir/environments/$environment

Re: [Puppet Users] Re: how do I check to see whether a hash value is defined if a parent of the hash value might not even exist?

2014-03-11 Thread Steve Neuharth
("client::${::client}::${::env}::${name}::server_name", "default > value") > > Regards, David > > On 2014-03-11 16:34, Steve Neuharth wrote: > > this works: > > > > # set up our servername > > if $web_conf[$::client] { >

[Puppet Users] Re: how do I check to see whether a hash value is defined if a parent of the hash value might not even exist?

2014-03-11 Thread Steve Neuharth
.${domain}" } } else { $server_name = "${name}.${client_code}.${::env}.${domain}" } but it's SO UGLY. Any recommendations on making it prettier? On Monday, March 10, 2014 3:42:36 PM UTC-5, Steve Neuharth wrote: > > I've got a big hash of info that looks like t

[Puppet Users] how do I check to see whether a hash value is defined if a parent of the hash value might not even exist?

2014-03-10 Thread Steve Neuharth
I've got a big hash of info that looks like this: $web_conf = { my_client => { dev => { ws => { server_name => 'ws.foo.bar', server_aliases => ['ws.dev.bar.foo.com', 'ws.dev.another.foo.com'], }, csr => { server_aliases => ['csr

[Puppet Users] Re: Failed to generate additional resources using 'eval_generate': wrong header line format

2010-11-16 Thread Steve Neuharth
d next name, value pair in object at '} '!closed any ideas? On Nov 12, 12:48 pm, Steve Neuharth wrote: > OK, I unmerged and re-emerged the package and I get the same message. > I also verified that all remnants of the ruby puppet stuff was gone > from site_ruby before I reinsta

[Puppet Users] Re: Failed to generate additional resources using 'eval_generate': wrong header line format

2010-11-12 Thread Steve Neuharth
ering it's plugins and I tried running puppetd on a server with no node defs, no classes, etc... same thing I'll cc: the package maintainer. Maybe he's seen it before. Maybe the gem at http://distfiles.gentoo.org/distfiles/puppet-2.6.2.gem is bad? On Nov 12, 11:57 am, Steve Neuha

[Puppet Users] Re: Failed to generate additional resources using 'eval_generate': wrong header line format

2010-11-12 Thread Steve Neuharth
ov 12, 10:06 am, James Turnbull wrote: > Steve Neuharth wrote: > > I've upgraded to puppet v2.6.2 on ubuntu (clients and server) and now > > I get this error messages related to pluginsync: > > How did you upgrade?  I've seen this when files from previous versions &g

[Puppet Users] Failed to generate additional resources using 'eval_generate': wrong header line format

2010-11-12 Thread Steve Neuharth
I've upgraded to puppet v2.6.2 on ubuntu (clients and server) and now I get this error messages related to pluginsync: info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': wrong header line format err: /File[/var/lib/puppet/lib]: C

[Puppet Users] Re: weird ELF error

2010-10-10 Thread Steve Neuharth
ha! right you are... my yaml files were actually full of errors instead of yaml... looked like thread dumps or something. I removed them and it looks like all is well. thanks! maybe I can get back to my weekend now. ;) On Oct 7, 2:33 am, Felix Frank wrote: > On 10/07/2010 12:43 AM, Steve (steev

[Puppet Users] Re: Could not parse configuration file: StoreConfigs not supported without ActiveRecord 2.1 or higher

2010-09-10 Thread Steve Neuharth
I fixed this by removing everything (gems and packages) and only using portage to install everything (no gem installs). Gentoo does strange things to your ruby lib paths, for example: "PassengerRoot /usr" <-- yes, this actually works in the passenger conf. On Sep 7, 3:36 pm, S

[Puppet Users] Re: Could not parse configuration file: StoreConfigs not supported without ActiveRecord 2.1 or higher

2010-09-07 Thread Steve Neuharth
e it can't initialize rails but all the libs are there. I even went through my packages and deinstalled any potential conflicts from portage... thinking that there would be an old activeRecord package installed from portage or something but I couldn't find any conflicts. On Sep 7, 9:46 am, S

[Puppet Users] Re: Could not parse configuration file: StoreConfigs not supported without ActiveRecord 2.1 or higher

2010-09-07 Thread Steve Neuharth
Gentoo. I'm using apache installed out of portage and then used gem/ passenger-install-apache2-module to install everything else. It seems like a path problem or something. I'm a relative ruby nuby so I'm not sure how to troubleshoot. On Sep 6, 8:09 pm, James Turnbull wrote: &

[Puppet Users] Just upgraded to 2.6 and having trouble with file serving.

2010-09-06 Thread Steve Neuharth
I don't seem to be able to get files from /plugins on my puppetmaster: r...@a1 puppet puppetd --test notice: Ignoring --listen on onetime run info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet:

[Puppet Users] Could not parse configuration file: StoreConfigs not supported without ActiveRecord 2.1 or higher

2010-09-06 Thread Steve Neuharth
I just can't seem to get past this error. I have the following system config: mcp puppet # gem list *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.0) actionpack (3.0.0) activemodel (3.0.0) activerecord (3.0.0) activeresource (3.0.0) activesupport (3.0.0) arel (1.0.1) builder (2.1.2) bundl

[Puppet Users] Re: error in foreman, seem to be missing a column in DB

2010-09-06 Thread Steve Neuharth
to migrate your database: > > seehttp://theforeman.org/projects/foreman/wiki/Upgrade_instructions#Step... > > <http://theforeman.org/projects/foreman/wiki/Upgrade_instructions#Step...> > Ohad > > On Mon, Sep 6, 2010 at 5:14 PM, Steve Neuharth > wrote: > > > I

[Puppet Users] error in foreman, seem to be missing a column in DB

2010-09-06 Thread Steve Neuharth
I've been trying to get foreman to work and I'm getting the following error: Processing DashboardController#index (for 10.10.32.10 at 2010-09-06 08:50:06) [GET] Parameters: {"action"=>"index", "controller"=>"dashboard"} ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'enabled' in 'w

Re: [Puppet Users] Bind Module

2010-06-28 Thread Steve Neuharth
Never seen that before. I laughed so hard that I peed a little. thank you for that. the laughing, not necessarily the peeing. On Mon, Jun 28, 2010 at 10:47 PM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 06/29/2010 01:27 AM, Douglas Garstang wrote: > > Anyone know

Re: [Puppet Users] Variable Scoping = Root Canal

2010-06-27 Thread Steve Neuharth
2010 at 11:28 AM, Steve Neuharth > wrote: >> I think you could do: >> >> node 'node1.fr.xxx.com' { >> include facility::sjc >> $my_ldap_server = $facility::sjc::ldap_server >> include ldap::client >> } > > That seems to work. Not pre

Re: [Puppet Users] Variable Scoping = Root Canal

2010-06-27 Thread Steve Neuharth
I think you could do: node 'node1.fr.xxx.com' { include facility::sjc $my_ldap_server = $facility::sjc::ldap_server include ldap::client } On Sun, Jun 27, 2010 at 2:02 AM, Douglas Garstang wrote: > I've been struggling with puppet variable scope all day, well, for > several months actually. >

[Puppet Users] question about variable scope in nodes

2010-06-24 Thread Steve Neuharth
my node definitions look like this: node basenode { $utility_network = x.x.x.x [...] } node 'mcp.c42' inherits basenode { $my_local_network = $utility_network $my_default_gateway = $utility_default_gateway $my_netmask = $utility_netmask $my_eth1_default_gateway = $

[Puppet Users] gentoo duplicate package names...

2010-06-09 Thread Steve Neuharth
hi guys, I'm a newbie so please be gentle. ;) I'm running puppet on gentoo with the modules from example42. They seem to work well but I'm running into a problem with the way gentoo does certain packages. Redhat and other distros seem to bundle the mysql or openssh packages in mysql-client and mys