[Puppet Users] Rake failing to create puppet dashboard database on RHEL6

2011-06-20 Thread Pheran
Hi folks, I'm trying to install puppet dashboard 1.1.1 on RHEL6 (following some instructions in the excellent Pro Puppet book) but the rake command is failing to create the database like so: # rake RAILS_ENV=production db:create (in /usr/share/puppet-dashboard) Couldn't create database for {"enco

[Puppet Users] Re: Rake failing to create puppet dashboard database on RHEL6

2011-06-20 Thread Pheran
Thanks Jacob, the book either forgot or glossed over creating the database user with those permissions, but they do show how to manually create the database using mysql, so I'll give that a shot. On Jun 20, 12:28 pm, Jacob Helwig wrote: > On Mon, 20 Jun 2011 09:21:04 -0700, Pher

[Puppet Users] Make puppet automatically recognize new files in nodes directory?

2011-06-23 Thread Pheran
So, instead of defining all my nodes in one file, I use what seems to be a fairly common practice, from site.pp I do: import 'nodes/*' Then I have a nodes directory containing a .pp file for each node. The only problem with this setup is that puppet seems oblivious to new node files in the nodes

[Puppet Users] Re: Make puppet automatically recognize new files in nodes directory?

2011-06-23 Thread Pheran
t; touch site.pp? > On Jun 23, 2011 1:01 PM, "Pheran" wrote:> So, instead of > defining all my nodes in one file, I use what seems to > > be a fairly common practice, from site.pp I do: > > > import 'nodes/*' > > > Then I have a nodes directory contai

[Puppet Users] Problems with puppetlabs yum repo

2011-06-16 Thread Pheran
Hi folks, I'm having a couple of problem with the puppetlabs base repo: First problem - puppet dashboard 1.1.1 is missing from the repo (latest there is 1.1.0). This is pretty straightforward. My second problem is weirder. I use the reposync utility (from the yum-utils RPM) to locally mirror yu