[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 explain in a little brief.


Regards
Niraj K.

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet Dashboard

2012-04-04 Thread Jeff McCune
On Wed, Apr 4, 2012 at 8:27 AM, niraj niraj8...@gmail.com 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 the nodes, classes, and reports/ I am newbie
 so please explain in a little brief.


Hi Niraj,

Nodes won't show up until the puppet agent has finished a complete catalog
run and submitted their report to the Puppet Master.

If you've run puppet agent on your nodes and they're still not showing up,
it might be that the agent is not submitting a report to the master.  A
common overlooked step is to set report = true in puppet.conf on all of the
agents.

Hope this helps,
-Jeff

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 gotten 
used to puppet, I don't think the current documentation is in need of 
review - it is exactly what I need and use now. But for a beginner, it was 
difficult to stay on the learning curve, even the getting started section 
seemed to be tons of information. Luckily I had expert puppet users helping 
me but I couldn't imagine trying to learn this without someone to bounce 
silly questions off of. 

What I think could help beginners the most would be maybe an example 
network where a small network with a master and several clients are set up 
and you can see all the files and how they interact. Essentially have a 
description of what the different clients do (apache, dhcp, ntp, 
database, etc) and then have the folder structure of the manifests 
available to look at. The reason I bring this up was because I was reading 
the Learning Puppet material and thinking to myself, Ok, I get that but 
*how* should I do this? The hardest part I think for a beginner is making 
the leap from understanding the concepts to how those concepts are commonly 
executed in real world manifests. I think a simple demo network would be 
great. Just my thoughts having just come from the beginners camp.

On Friday, March 30, 2012 3:00:54 PM UTC-5, Mister IT Guru wrote:

 Good Evening Guys,

 Let me start by saying that I really admire how far puppet has come in the 
 last year or so, with the launch of the Enterprise version, Puppet Forge 
 and the other innovations from within Puppet Labs, and in particular the 
 community participation. I love the mailing list, even though I've been 
 lurking for over a year. It's this inner shame that compels me to raise 
 this issue. I apologise if this is not the place to mention this, but hey, 
 you've already got this far, so keep reading!

 I get stage fright looking at some of the code fragments that people 
 post to the list and then say This is how far I've got and I'm trying to 
 do X where X is something pretty complex/unique doesn't quite seem like 
 best practice or something that you'll find on a general use linux box. 
 While I have no problem or even issue with this, the problem I find is that 
 when I tell my admin geek friends about puppet, they go to google and 
 switch off when they see what they view as buckets of work to just get 
 started.

 In a nutshell the perception and feedback I get and I feel this myself, is 
 that the competency level of those whose regularly participate in this 
 list, and in other internet forums may just be a bit too good. I feel as if 
 puppet is lacking a sort of nursery area. After all, everyone here is 
 already a 'professional' or so we like to think!

 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 to 
 blog entries, you tube videos (something which I noticed is lacking for 
 puppet, again making it hard for me to evangelise about it, to even get 
 clients to look at it), and get up to speed with you guys.

 I would like a Puppet Nursery - Or failing that, can we get a puppet 
 advance list? :)

 I'm just saying - It worked for a different project, that's part of how 
 ubuntu started to take over the world, it just became accessible to the 
 casual user. Well, there are a bucket load of causal professional linux 
 admins, who I fear may dismiss taking up puppet because they just can't get 
 the time together to learn or keep up with those who puppet 24/7

 It's just an observation, with a request thrown in - If I annoyed you, 
 upset you, hurt your ego or made you feel bad in any way, I'm sorry. If you 
 wish to take it up with me personally, no problem, have your people call my 
 people, and we'll set up the meet - I'm a big guy so bring backup! (just 
 kidding, love peace and all that!) - I'm hoping to stimulate some 
 conversation and debate - how can puppet be one of the first thoughts in 
 the mind of someone who wants to manage from a 2 to 2 thousands machines? - 
 Reach a critical mass amount casual users? Worked for Facebook, Twitter - 
 not so much for Nokia but you get the point.

 SO! Techie Admin Genius People!! Let's Debate 


On Friday, March 30, 2012 3:00:54 PM UTC-5, Mister IT Guru wrote:

 Good Evening Guys,

 Let me start by saying that I really admire how far puppet has come in the 
 last year or so, with the launch of the Enterprise version, Puppet Forge 
 and the other innovations from within Puppet Labs, and in particular the 
 community participation. I love the mailing list, even though I've been 
 lurking for over a year. It's this inner shame that compels me to raise 
 this issue. I apologise if this is not the place to 

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 conditionals. Its a matter of preference in my opinion. So it 
would do something like this:

define location-based-hosts ($my_specific_hosts) {

file { etc/hosts:
ensure = present,
content = template(puppet:///hosts/hosts_template.erb),
}
}

Then call it with:

hosts::location-based-hosts { us-west:
my_specific_hosts = list of the important host entries,
}

And finally, in the hosts_template.erb:

127.0.0.1 localhost
%= my_specific_hosts %

The syntax should be good but I may have missed something. Again its all 
matter of preference but I have all my templates set up this way, that way 
my templates look as close to the end file as possible and all the magic 
happens in my manifests. 





-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/-ttLBhVQCiUJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 
directory), with the right FQDN host name.
The server configuration seems to work fine, since  openssl s_client 
-connect puppetmaster.example.com:8140 shows that certificate indeed.

On the client side, I've changed certs/ca.pem to use my own CA. OpenSSL 
verifies it well with:
   openssl s_client -CAfile ...path-to/ssl/certs/ca.pem -connect 
puppetmaster.example.com:8140

However, puppet agent --test --server puppetmaster.example.com fails with:
   err: Could not retrieve catalog from remote server: SSL_connect 
returned=1 errno=0 state=SSLv3 read server certificate B: certificate 
verify failed. 

(The FQDNs/Common Names are correct, the clocks are fine, and when I revert 
to the Puppet CA server certificate, it works too.)

Where are the trust anchors for the puppet agent meant to be configured if 
it's not in certs/ca.pem?

Best wishes,

Bruno.

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/hrYRp0aGXcsJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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:
:datasource: data


cat environments/dev/hieradata/dev.yaml
---
workers   : - '10.125.127.88'

cat environments/dev/modules/intra3/manifests/wsp.pp
class intra3::wsp {

  #$workers = [ '12.3.4.5' ]
  #$workers = $intra3::data::workers
  $workers = hiera('workers')

  wsp::cfg { tc6_foobar:
remove = false,
vhostname = 'test-foobar',
worker = $workers,
portrange = 121,
prodlevel = 7,
wwwdir = '/www/foobar.enbw.net',
  }

pluginsync is enabled on master and client.
The client picks up changes in the hiera module /lib:

touch dev/modules/hiera/lib/bla.rb

results in:

notice: Ignoring --listen on onetime run
info: Retrieving plugin
notice: /File[/var/lib/puppet/lib/bla.rb]/ensure: defined content as 
'{md5}d41d8cd98f00b204e9800998ecf8427e'
info: Loading downloaded plugin /var/lib/puppet/lib/bla.rb
err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Unknown function hiera at 
/etc/puppet/environments/dev/modules/intra3/manifests/wsp.pp:5 on node

puppet-2.7.12

gem list hiera
hiera (0.3.0)
hiera-puppet (0.3.0)


Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/BcTVaGLa3s4J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 puppetmaster and
confirm the files are present.

 gem env

...
  - GEM PATHS:
 - /usr/lib/ruby/gems/1.8
 - /root/.gem/ruby/1.8
...


ls  /usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/*hier*

Should list: -

/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera_array.rb
/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera_include.rb
/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera_hash.rb
/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera.rb

On my setup I was able to fix this my manually copying the file to the
puppet libdir:

# copy libs from hiera to puppet
cp /usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0/lib/puppet/parser/functions/*
/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions

# restart your puppetmaster - if running behind passenger

For me restarting apache was enough

/etc/init.d/apache restart


---
Kind regards,

Martin Willemsma



2012/4/4 Andreas Paul xorp...@googlemail.com:
 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:
     :datasource: data


 cat environments/dev/hieradata/dev.yaml
 ---
 workers   : - '10.125.127.88'

 cat environments/dev/modules/intra3/manifests/wsp.pp
 class intra3::wsp {

   #$workers = [ '12.3.4.5' ]
   #$workers = $intra3::data::workers
   $workers = hiera('workers')

   wsp::cfg { tc6_foobar:
     remove = false,
     vhostname = 'test-foobar',
     worker = $workers,
     portrange = 121,
     prodlevel = 7,
     wwwdir = '/www/foobar.enbw.net',
   }

 pluginsync is enabled on master and client.
 The client picks up changes in the hiera module /lib:

 touch dev/modules/hiera/lib/bla.rb

 results in:

 notice: Ignoring --listen on onetime run
 info: Retrieving plugin
 notice: /File[/var/lib/puppet/lib/bla.rb]/ensure: defined content as
 '{md5}d41d8cd98f00b204e9800998ecf8427e'
 info: Loading downloaded plugin /var/lib/puppet/lib/bla.rb
 err: Could not retrieve catalog from remote server: Error 400 on SERVER:
 Unknown function hiera at
 /etc/puppet/environments/dev/modules/intra3/manifests/wsp.pp:5 on node

 puppet-2.7.12

 gem list hiera
 hiera (0.3.0)
 hiera-puppet (0.3.0)


 Any ideas?

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/puppet-users/-/BcTVaGLa3s4J.
 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.



--

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 two files ( one for client 
name and the other for internal user names)? where the list format would be 
like : username, uid

 

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/giGi-U4MQKEJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Unknown function hiera

2012-04-04 Thread Nan Liu
On Wed, Apr 4, 2012 at 9:10 AM, Martin Willemsma mwillem...@gmail.com 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
 functions dir.

That's correct. Per https://github.com/puppetlabs/hiera-puppet:

For the moment the Gem install will place the Puppet Parser Function
where Puppet cannot find it, you should copy it out and distribute it
to your master using Pluginsync or something similar

 I would recommend checking your gem path on the puppetmaster and
 confirm the files are present.

 gem env

 ...
  - GEM PATHS:
     - /usr/lib/ruby/gems/1.8
     - /root/.gem/ruby/1.8
 ...


 ls  
 /usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/*hier*

 Should list: -

 /usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera_array.rb
 /usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera_include.rb
 /usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera_hash.rb
 /usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera.rb

 On my setup I was able to fix this my manually copying the file to the
 puppet libdir:

 # copy libs from hiera to puppet
 cp 
 /usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0/lib/puppet/parser/functions/*
 /usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions

However, I would recommend using puppet module path and puppet
pluginsync rather than copying the files to puppet's gem path. If your
module path is /etc/puppet/modules, the following command should get
the function in a location where puppet can find and compile:

ln -s /usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0
/etc/puppet/modules/hiera-puppet

If you want to check out the lastest version of hiera:

git clone git://github.com/puppetlabs/hiera-puppet.git
/etc/puppet/modules/hiera-puppet

HTH,

Nan

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 
is part of Telly.



On 04/04/12 18:17, Nan Liu wrote:

On Wed, Apr 4, 2012 at 9:10 AM, Martin Willemsmamwillem...@gmail.com  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
functions dir.

That's correct. Per https://github.com/puppetlabs/hiera-puppet:

For the moment the Gem install will place the Puppet Parser Function
where Puppet cannot find it, you should copy it out and distribute it
to your master using Pluginsync or something similar


I would recommend checking your gem path on the puppetmaster and
confirm the files are present.


gem env

...
  - GEM PATHS:
 - /usr/lib/ruby/gems/1.8
 - /root/.gem/ruby/1.8
...


ls  /usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/*hier*

Should list: -

/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera_array.rb
/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera_include.rb
/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera_hash.rb
/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions/hiera.rb

On my setup I was able to fix this my manually copying the file to the
puppet libdir:

# copy libs from hiera to puppet
cp /usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0/lib/puppet/parser/functions/*
/usr/lib/ruby/gems/1.8/gems/puppet-2.7.12/lib/puppet/parser/functions

However, I would recommend using puppet module path and puppet
pluginsync rather than copying the files to puppet's gem path. If your
module path is /etc/puppet/modules, the following command should get
the function in a location where puppet can find and compile:

ln -s /usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0
/etc/puppet/modules/hiera-puppet

If you want to check out the lastest version of hiera:

git clone git://github.com/puppetlabs/hiera-puppet.git
/etc/puppet/modules/hiera-puppet

HTH,

Nan



--
You received this message because you are subscribed to the Google Groups Puppet 
Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 we were getting this because Passenger wasn't finding Bundler's 
Gemfile in spite of being in the bundle.  We fixed it by changing the 
DocumentRoot from /etc/puppet/rack/public to /etc/puppet/public (since 
/etc/puppet is where the Gemfile is).

Thanks again,

-LTH


On Wednesday, March 28, 2012 4:07:58 PM UTC-4, lth wrote:

 Hello, 

 I'm having some trouble.  I keep getting the following warnings when 
 trying to run: 

 $ puppet master --no-daemonize 
 /usr/local/build/puppet-bundle/vendor/gems/ruby/1.9.1/gems/ 
 puppet-2.7.12/lib/puppet/external/pson/pure.rb:7:in `module:PSON': 
 iconv will be deprecated in the future, use String#encode instead. 
 Could not load confine test 'operatingsystem': cannot load such file 
 -- puppet/provider/confine/operatingsystem 
 [repeats a number of times] 

 $ ruby -v 
 ruby 1.9.3p0 (2011-10-30) [x86_64-linux] 

 $ which ruby 
 /usr/local/bin/ruby 

 $ cat /etc/redhat-release 
 Red Hat Enterprise Linux Server release 5.7 (Tikanga) 

 Thanks in advance. 

 -LTH

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/HRsFSJ-2PhwJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 channel in particular is that dumb questions that get asked often show 
 that the poster has not read through the online documentation and has jumped 
 straight into the community support channels instead. No-one minds helping a 
 struggling beginner, but the old him who helps himself saying applies and I 
 think for most people, if they genuinely read the excellent language guide 
 properly they would answer the majority of beginner questions on their own.  
 Some people take offense when told on IRC to RTFM, or given an anchor link to 
 the docs in response to a question, but it simply is the best source of 
 information to their issues.
 
 Providing a beginners mailing list IMO would only encourage people to bypass 
 the docs even more.
 
 2p/w :)
 
 Craig
 
 -- 
 Craig Dunn | http://www.craigdunn.org
 Yahoo/Skype: craigrdunn | Twitter: @crayfishX

Good Evening Craig, and thanks for your reply! I appreciate your comments, but 
having reflected more on the point
 Providing a beginners mailing list IMO would only encourage people to bypass 
the docs even more

While this may be true, the number of people searching, finding links via 
twitter, or  having a casual intrest, is only going to go up. And the docs are 
written from the perspective of a technical manual. Docs are great and I 
applaud the effort that goes into it. But it's still just documentation. When 
your in school, college, university, insert place of education here, a 
massive text book is not dropped in your lap on day one, and then your sent off 
into the world.

Every FOSS project pretty much comes with documentation these days - yet we 
have support forums. The same for a lot of technical products that are sold in 
our shops, but everyone has support lines. If documentation worked, most of us 
will be out of work.

I think the community aspect is the key.


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 the like site? One of the 
 issues I find is that previous answers are lost in mail lists and hard to 
 search for. IRC isn't much help for searching previous answers either.
 
 -1 for separate lists.
 
 Den
 
 On 03/04/2012, at 14:30, Michael Stahnke stah...@puppetlabs.com wrote:
 
 Hey, we've been having some mailing list discussion on and off inside
 of Puppet Labs too. Obviously we have a large community that we are
 trying to appeal to, and we keep doing our best to create the
 experience for the user-base.
 
 Breaking the users list into two lists has its pros and cons.
 
 Pros:
 * Less code fragments in emails
 * Advanced users not bogged down with new user questions
 
 Cons:
 * Fragmentation of the user-base
 * Who will monitor/answer questions on a new user list?
 * New people may not learn from more experienced people, because the
 more experienced users may not subscribe to the new-users list
 
 What I really think we need, is a way to provide knowledge to new
 users in an efficient (and non fragmented) way.  In the past we had a
 horrible problem with documentation all over the place, wiki issues,
 blogs from everybody and their brother, etc.  Today, we have narrowed
 those problems with the Learning Puppet series.
 (http://docs.puppetlabs.com/learning/), and lots of other
 documentation improvements on docs.puppetlabs.com.
 
 The points about FAQ make complete sense.  We'd like to address this
 with proper documentation and some other online presence that will be
 rolled out in the in the next quarter or so.
 
 As an interrum, could we have a wiki page where we place questions
 that get asked frequently and have no (or incomplete) associated
 documentation?
 http://projects.puppetlabs.com/projects/puppet/wiki/Frequent_Questions_Without_Answers
 
 
 We also hope that IRC is helpful and remains helpful.  I don't often
 see RTFM comments coming out in #puppet.  When I do, it's quite often
 because their exact question was already answered, with citations, and
 the user still didn't read it.  Also in this thread somebody mentioned
 helping those willing to help themselves.  That's a fair statement,
 but we really want to make this an accepting community to make
 everybody better at their workloads with Puppet.
 
 I hope I've attempted to answer some of the concerns.  I am totally
 willing to revisit this in 90 days or so if the community thinks we
 should be handling this differently.
 
 This is also by no means designed to close this discussion, so please
 weigh in if you have opinions.
 
 Michael Stahnke
 Community Manager
 
 
 
 On Fri, Mar 30, 2012 at 1:00 PM, Mister IT Guru misteritg...@gmx.com wrote:
 Good Evening Guys,
 
 Let me start by saying that I really admire how far puppet has come in the 
 last year or so, with the launch of the Enterprise version, Puppet Forge 
 and the other innovations from within Puppet Labs, and in particular the 
 community participation. I love the mailing list, even though I've been 
 lurking for over a year. It's this inner shame that compels me to raise 
 this issue. I apologise if this is not the place to mention this, but hey, 
 you've already got this far, so keep reading!
 
 I get stage fright looking at some of the code fragments that people post 
 to the list and then say This is how far I've got and I'm trying to do X 
 where X is something pretty complex/unique doesn't quite seem like best 
 practice or something that you'll find on a general use linux box. While I 
 have no problem or even issue with this, the problem I find is that when I 
 tell my admin geek friends about puppet, they go to google and switch off 
 when they see what they view as buckets of work to just get started.
 
 We have a lot of Puppet users on Mac, BSD, and now Windows too, so
 it's not just Linux.
 
 
 In a nutshell the perception and feedback I get and I feel this myself, is 
 that the competency level of those whose regularly participate in this 
 list, and in other internet forums may just be a bit too good. I feel as if 
 puppet is lacking a sort of nursery area. After all, everyone here is 
 already a 'professional' or so we like to think!
 
 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 to 
 blog entries, you tube videos (something which I noticed is lacking for 
 puppet, again making it hard for me to evangelise about it, to even get 
 clients to look at it), and get up to speed with you guys.
 
 I would like a Puppet Nursery - Or failing that, can we get a puppet 
 advance list? :)
 
 I'm just saying - It worked for a different project, that's part of how 
 ubuntu started 

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 the light)

I am really looking forward to Integrated Platform Team Puppet are currently 
working on.

It goes without saying that the more content that gets gobbled up by google and 
indexed, the more lonely newbies that will be rescued by that search bar.

I do have a more confidence puppet. I hope I didn't panic any of Team Puppet, 
you guys are doing a great job, honestly, I've had my butt pulled out the fire 
a good few times because of my basic of the most basic puppet setup, so I'm a 
fan

On 3 Apr 2012, at 21:13, Nigel Kersten wrote:

 
 We do want to be running this, primarily because we want to provide an 
 integrated platform that includes a bit more than just the QA site itself. 
 We'd like to be able to integrate profiles across the Forge, a QA site and 
 even the bug tracker.
 
 It would be great if you were on a QA site, asking questions about 
 developing modules, and to be able to see that the person answering your 
 question has published several awesome Puppet modules that are really 
 popular. Vice versa, it would be great to be able to look at a module and see 
 that the author is a highly engaged member of the community.
 
 So all in all, we do want to provide this as a service by us, and it's 
 difficult to get that level of integration with StackExchange. 
 
 I would like to point out that we've got a growing ServerFault community 
 under the 'puppet' tag, and there are some great people answering Puppet 
 questions there.
 
 This is clearly an even more pressing need than we'd been thinking, so we're 
 going to try and accelerate this.
 
 
 -- 
 Nigel Kersten
 Product Manager, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 the fqdn of the machine. Is this correct?
Are there any gotcha's that I should be aware of before setting the
certname setting in the client puppet.conf?

(I realize I'll have to resign and certs where the newly set certname
is different than the current certname.)

Thanks,

-- 
Romeo

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 matthew.yea...@gmail.com wrote:

 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 conditionals. Its a matter of preference in my opinion. So it
 would do something like this:

 define location-based-hosts ($my_specific_hosts) {

 file { etc/hosts:
 ensure = present,
 content = template(puppet:///hosts/hosts_template.erb),
 }
 }

 Then call it with:

 hosts::location-based-hosts { us-west:
 my_specific_hosts = list of the important host entries,
 }

 And finally, in the hosts_template.erb:

 127.0.0.1 localhost
 %= my_specific_hosts %

 The syntax should be good but I may have missed something. Again its all
 matter of preference but I have all my templates set up this way, that way
 my templates look as close to the end file as possible and all the magic
 happens in my manifests.



 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/puppet-users/-/-ttLBhVQCiUJ.
 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 misteritg...@gmx.com 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!! (It wasn't my best suggestion, but the community helped me see the light)

 I am really looking forward to Integrated Platform Team Puppet are currently 
 working on.

 It goes without saying that the more content that gets gobbled up by google 
 and indexed, the more lonely newbies that will be rescued by that search bar.

 I do have a more confidence puppet. I hope I didn't panic any of Team Puppet, 
 you guys are doing a great job, honestly, I've had my butt pulled out the 
 fire a good few times because of my basic of the most basic puppet setup, so 
 I'm a fan

No apologies necessary at all, and certainly no panic :)

We also love hearing stories about Puppet pulling butts out of fires :)


 On 3 Apr 2012, at 21:13, Nigel Kersten wrote:


 We do want to be running this, primarily because we want to provide an 
 integrated platform that includes a bit more than just the QA site itself. 
 We'd like to be able to integrate profiles across the Forge, a QA site and 
 even the bug tracker.

 It would be great if you were on a QA site, asking questions about 
 developing modules, and to be able to see that the person answering your 
 question has published several awesome Puppet modules that are really 
 popular. Vice versa, it would be great to be able to look at a module and 
 see that the author is a highly engaged member of the community.

 So all in all, we do want to provide this as a service by us, and it's 
 difficult to get that level of integration with StackExchange.

 I would like to point out that we've got a growing ServerFault community 
 under the 'puppet' tag, and there are some great people answering Puppet 
 questions there.

 This is clearly an even more pressing need than we'd been thinking, so we're 
 going to try and accelerate this.


 --
 Nigel Kersten
 Product Manager, Puppet Labs

 --
 You received this message because you are subscribed to the Google Groups 
 Puppet Users group.
 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to 
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/puppet-users?hl=en.




-- 
Nigel Kersten
Product Manager, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 as it progresses and I didn't
want to flood the puppet users group with openstack specific messages.

- Dan

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.