[Puppet Users] Puppet Dashboard

2012-04-04 Thread niraj
Hi All, I have somehow managed to configure the puppet dashboard, but it is not displaying the nodes and the classes in the dashboard. It is completely empty. Any one has any idea of configuring puppet dashboard so that it displays all the nodes, classes, and reports/ I am newbie so please ex

Re: [Puppet Users] Puppet Dashboard

2012-04-04 Thread Jeff McCune
On Wed, Apr 4, 2012 at 8:27 AM, niraj wrote: > Hi All, > I have somehow managed to configure the puppet dashboard, but it > is not displaying the nodes and the classes in the dashboard. It is > completely empty. Any one has any idea of configuring puppet dashboard > so that it displays all t

[Puppet Users] Re: Puppet Beginners: New list suggestion?

2012-04-04 Thread myeazel
I just started using puppet about 4 months ago and I have to say, it was a lot to take in. I read through the documentation, downloaded the VM to play with, etc. What I found was the documentation was almost overwhelming. Part of the problem was I didn't know what I wanted to know. After having

Re: [Puppet Users] change host file depending on location

2012-04-04 Thread myeazel
Depending on how complex the hosts file needs to be, what LenR may be best or I have sometimes also approached this kind of issue by using parameterized classes can work well too. You can use a define classname ($variables_to_pass_to_template) { } and then you don't have to work with ERB-type c

[Puppet Users] Unable to make Puppet Agent trust Puppet Master server certificate with own CA

2012-04-04 Thread Bruno Harbulot
Hello, I'm trying to set up a puppet master server with a server certificate from my own organisation (but still use Puppet's own CA for the client certificates). On the puppet master server, the certificate was put in /var/lib/puppet/ssl/certs (and the private key in the private_keys directo

[Puppet Users] Unknown function hiera

2012-04-04 Thread Andreas Paul
Hi there, for some reason I can't use hiera functions in my manifests. Here are the relevant config files: cat /etc/puppet/hiera.yaml :hierarchy: - %{environment} - common :backends: - yaml - puppet :yaml: :datadir: '/etc/puppet/environments/%{environment}/hieradata' :puppet:

Re: [Puppet Users] Unknown function hiera

2012-04-04 Thread Martin Willemsma
Hi Andreas, In my believe that message is from your puppetmaster unable to compile the manifest because the hiera function is not present on the master. If you install hiera gem, the functions are not copied to your puppet functions dir. I would recommend checking your gem path on the puppetmaste

[Puppet Users] using content in file as input variables to a class/def?

2012-04-04 Thread Jaakan Shorter
Here is the setup Clients are all under /usr/home/ftp/$client Internal Production is /usr/home/$internaluser I need to make slinks for every client folder under every Internal Production ie: ln -s /usr/home/ftp/$client /usr/home/$internaluser/$client Is there a way to do this from a list with in

Re: [Puppet Users] Unknown function hiera

2012-04-04 Thread Nan Liu
On Wed, Apr 4, 2012 at 9:10 AM, Martin Willemsma wrote: > Hi Andreas, > > In my believe that message is from your puppetmaster unable to compile > the manifest because the hiera function is not present on the master. > If you install hiera gem, the functions are not copied to your puppet > functio

Re: [Puppet Users] Unknown function hiera

2012-04-04 Thread Patrick Debois
FWIW I've submitted this patch today to: - include the gem inside the manifest - load the correct loadpaths - enable relocatable hiera_configdir and hiera_yaml_datasource https://github.com/puppetlabs/hiera-puppet/pull/20 This makes it much easier to have things configured until all the hiera

[Puppet Users] Re: Could not load confine test 'operatingsystem': cannot load such file -- puppet/provider/confine/operatingsystem

2012-04-04 Thread lth
Hi, Thanks for everyone's help. Just an update to this issue. The displayed error was indeed harmless as noted on this thread. The actual error we found in Apache's error_log was: Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (cannot load such file -- rack) We think w

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-04 Thread Mister IT Guru
On 2 Apr 2012, at 10:12, Craig Dunn wrote: > >> Would it be a good idea to have a puppet beginners list, where people can >> post dumb questions, and maybe have some patient people posting links > > [snip] > > Without wanting to pigeon hole or stereotype anyone, my experience from the > IRC

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-04 Thread Mister IT Guru
+1 For Dens idea. I use the stack exchange and a few related linked sites, and it's awesome! Google it, sign up, find some puppet questions that have been posted there. You guys might be able to help :) On 3 Apr 2012, at 06:53, Denmat wrote: > How about a 'serverfault' or 'stackoverflow' or th

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-04 Thread Mister IT Guru
Thanks for the replies from all the puppet lab guys, and the members of this list. It really brighten my day to read all the responses. I've learnt that maybe I'm not so stupid after all! Ah yes, and that a second list is a no no!! (It wasn't my best suggestion, but the community helped me see t

[Puppet Users] fqdn changes on client and connection to master fails

2012-04-04 Thread Romeo Theriault
I have a situation where some of my puppet client machines fqdn's change. After this happens they fail to connect to the puppet master due to an untrusted certificate. It looks like manually setting a "certname" in the client puppet.conf file will work around this issue of the certname relying on t

Re: [Puppet Users] change host file depending on location

2012-04-04 Thread Len Rugen
We run Foreman, so I never think of parameterized classes :-) Another thing we do in some places is concatenated templates, there is a common section and different appendages. On Wed, Apr 4, 2012 at 8:35 AM, myeazel wrote: > Depending on how complex the hosts file needs to be, what LenR may be

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-04 Thread Nigel Kersten
On Wed, Apr 4, 2012 at 1:22 PM, Mister IT Guru wrote: > Thanks for the replies from all the puppet lab guys, and the members of this > list. It really brighten my day to read all the responses. I've learnt that > maybe I'm not so stupid after all! Ah yes, and that a second list is a no > no!! (

[Puppet Users] openstack-puppet mailing list

2012-04-04 Thread Dan Bode
Hi all, I have been working to create a community around a set of modules for configuring and deploying OpenStack. For folks who are interested in our openstack efforts, I created a separate mailing list. http://groups.google.com/group/puppet-openstack I plan to be pretty verbose about the code

[Puppet Users] Customizing a hostname facts

2012-04-04 Thread mac01
Hi, I am trying to override a hostname.rp from path: * /usr/lib/ruby/site_ruby/1.8/facter* as, Facter.add(:hostname) do confine :hostname => "serialnumber" setcode do Facter::Util::Resolution.exec('cat /sys/power/states') end end Is the fact code correct as I want puppet to pick seri