Getting started

99 views
Skip to first unread message

Brown, Rodrick

unread,
Apr 5, 2012, 4:42:57 PM4/5/12
to puppet...@googlegroups.com

I really hate poor documentation.

 

I’m following along in PDF documentation I downloaded from the official site and I’m stuck after I installed rack & passenger modules from rubygems.

I ran the passenger build script and it compiled and installed into my local apache httpd server successfully.

 

Now where do I find an working example of puppetmaster.conf ?

Which config.ru should I be coping into /usr/share/puppet/rack/puppetmasterd ?

 

Is there a guide on generate the pem files required for use when defining the virtual host settings in puppetmaster?

 

I’m almost fed-up already and I’ve not even gotten 1 agent configured to talk to my sever  

 

Puppet seems way too clumber some with the amount of dependencies required so far.  

 

I almost feel like going back to hacking on my system based on Python & Fabric L

 

--RB


Please visit our website for important disclaimers/disclosures regarding Knight’s products and services:

http://knight.com/KnightEmailDisclaimer.html

Jo Rhett

unread,
Apr 5, 2012, 5:14:39 PM4/5/12
to puppet...@googlegroups.com
You've probably gone about this the hard way.  It would be best to just get the server running without passenger and learn Puppet itself.  You only need passenger when you exceed 50-100 systems. 

Anyway, to answer your questions the config.ru is available in share/puppet (exactly where depending on your OS), and puppetmaster.conf should have been installed when the gem/rpm was installed. But you should probably be using the docs on www.puppetlabs.com rather than the PDF, I suspect they are kept more up to date.

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

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source and other randomness

Christopher Wood

unread,
Apr 5, 2012, 5:24:38 PM4/5/12
to puppet...@googlegroups.com
In your position I would "apt-get install puppet" and then try out some manifests before running my own puppetmaster. Then I would "apt-get install puppetmaster" or something similar. Personally I have never installed from gems and I've been just fine.

(Or pkg_add -r puppet or yum install puppet etc. etc.)

Russell Van Tassell

unread,
Apr 5, 2012, 5:26:03 PM4/5/12
to puppet...@googlegroups.com
It might also be helpful to include your O/S, here ... as there are many linuxes where installing puppet can largely be reduced to installing the right RPMs out of one repository or another (so you worry less about compiling and manufacturing basic configs than just learning how to make puppet go).



Eric Shamow

unread,
Apr 5, 2012, 5:26:05 PM4/5/12
to puppet...@googlegroups.com
Jo,

Very good advice - Rodrick, I'd try the Learning Puppet VM to start and get used to the tool first.  There's an excellent Learning Puppet doc as well -


That should get you started.

-Eric

-- 

Eric Shamow
Professional Services

Tom Barber

unread,
Apr 5, 2012, 5:55:54 PM4/5/12
to puppet...@googlegroups.com
I have to say I find the online documentation very helpful indeed... along with github once you get working with the module.

jcbollinger

unread,
Apr 6, 2012, 9:59:40 AM4/6/12
to Puppet Users


On Apr 5, 4:14 pm, Jo Rhett <jrh...@netconsonance.com> wrote:
> [...] But you should probably be using the docs onwww.puppetlabs.comrather than the PDF, I suspect they are kept more up to date.


There's a PDF? :)


John

Dan White

unread,
Apr 6, 2012, 10:16:14 AM4/6/12
to puppet...@googlegroups.com
http://info.puppetlabs.com/download-pdfs.html

“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

Andreas Haerter

unread,
Apr 6, 2012, 10:40:47 AM4/6/12
to puppet...@googlegroups.com
Hi,

On 05.04.2012 22:42, Brown, Rodrick wrote:
> I really hate poor documentation.
>
> I’m following along in PDF documentation I downloaded from the official
> site and I’m stuck after I installed rack & passenger modules from
> rubygems.

There is a PDF?! OK...

However, Maybe helpful:
<http://blog.andreas-haerter.com/2012/02/05/how-to-start-puppet-system-config-links-resources-tutorials>
-> "How to start" listing


> I ran the passenger build script and it compiled and installed into my
> local apache httpd server successfully.

I personally started by using Puppet without master but "puppet apply"
instead. I created modules and then ran something like

> su -
> puppet apply --verbose --modulepath /your/modules-directory/ -e "class { 'example': } foobar { [...] }"

to learn the stuff before creating master infrastructure and stuff.
BTW: There are masterless users out there (cf. "Masterless" listing at
my blog posting linked above).


> Puppet seems way too clumber some with the amount of dependencies
> required so far.

Seriously: use the packages of your distribution or the YUM/APT repos by
Puppetlabs if you want to start with all the 2.7 features right now (I
would recommend that - why learning and maintain old stuff if you just
start to use Puppet?). Or are you running Puppet on windows (=no
repositories available)?

--
Andreas <http://blog.andreas-haerter.com>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

signature.asc

Michael Stahnke

unread,
Apr 7, 2012, 6:46:23 PM4/7/12
to puppet...@googlegroups.com
But an MSI is available for windows: http://downloads.puppetlabs.com/windows

Andreas Haerter

unread,
Apr 8, 2012, 2:30:17 PM4/8/12
to puppet...@googlegroups.com
On 08.04.2012 00:46, Michael Stahnke wrote:
>>> Puppet seems way too clumber some with the amount of dependencies
>>> required so far.
>>
>> Seriously: use the packages of your distribution or the YUM/APT repos by
>> Puppetlabs if you want to start with all the 2.7 features right now (I
>> would recommend that - why learning and maintain old stuff if you just
>> start to use Puppet?). Or are you running Puppet on windows (=no
>> repositories available)?

> But an MSI is available for windows: http://downloads.puppetlabs.com/windows

Cool, even better. Since when does a Puppet MSI exist?
However: One more reason why I can't understand the "Puppet seems way


too clumber some with the amount of dependencies required so

far"-statement. :-)

signature.asc

Brown, Rodrick

unread,
Apr 9, 2012, 10:46:15 AM4/9/12
to puppet...@googlegroups.com

I’m running 64Bit CentOS 6.2  I’m using the Puppet software from scratch I couldn’t find any RPM’s is there a yum repo for puppet RPM binaries and dependencies? I didn’t see one so I built from source.

 

I need to support roughly ~3000 Linux host, I have a 3 VM’s in my lab right now I’m using to familiarize myself with the software so  ill rather start learning to configure Puppet for a large production deployment instead of just running it in adhoc or simple configuration modes.

 

Thanks.

Dan White

unread,
Apr 9, 2012, 10:48:21 AM4/9/12
to puppet...@googlegroups.com
http://yum.puppetlabs.com/

“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

----- Rodrick Brown <rbr...@knight.com> wrote:
> I'm running 64Bit CentOS 6.2 I'm using the Puppet software from scratch I couldn't find any RPM's is there a yum repo for puppet RPM binaries and dependencies? I didn't see one so I built from source.
>
> I need to support roughly ~3000 Linux host, I have a 3 VM's in my lab right now I'm using to familiarize myself with the software so ill rather start learning to configure Puppet for a large production deployment instead of just running it in adhoc or simple configuration modes.
>
> Thanks.
>
>
> From: puppet...@googlegroups.com [mailto:puppet...@googlegroups.com] On Behalf Of Russell Van Tassell
> Sent: Thursday, April 05, 2012 5:26 PM
> To: puppet...@googlegroups.com
> Subject: Re: [Puppet Users] Getting started
>
> It might also be helpful to include your O/S, here ... as there are many linuxes where installing puppet can largely be reduced to installing the right RPMs out of one repository or another (so you worry less about compiling and manufacturing basic configs than just learning how to make puppet go).
>
>
> On Thu, Apr 5, 2012 at 1:42 PM, Brown, Rodrick <rbr...@knight.com<mailto:rbr...@knight.com>> wrote:
> I really hate poor documentation.
>
> I'm following along in PDF documentation I downloaded from the official site and I'm stuck after I installed rack & passenger modules from rubygems.
> I ran the passenger build script and it compiled and installed into my local apache httpd server successfully.
>
> Now where do I find an working example of puppetmaster.conf ?

> Which config.ru<http://config.ru> should I be coping into /usr/share/puppet/rack/puppetmasterd ?


>
> Is there a guide on generate the pem files required for use when defining the virtual host settings in puppetmaster?
>
> I'm almost fed-up already and I've not even gotten 1 agent configured to talk to my sever
>
> Puppet seems way too clumber some with the amount of dependencies required so far.
>

> I almost feel like going back to hacking on my system based on Python & Fabric :(


>
> --RB
>
> Please visit our website for important disclaimers/disclosures regarding Knight's products and services:
>
> http://knight.com/KnightEmailDisclaimer.html
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.

> To post to this group, send email to puppet...@googlegroups.com<mailto:puppet...@googlegroups.com>.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com<mailto:puppet-users%2Bunsu...@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...@googlegroups.com<mailto:puppet...@googlegroups.com>.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com<mailto:puppet-users...@googlegroups.com>.


> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>
> Please visit our website for important disclaimers/disclosures regarding Knight's products and services:
>
> http://knight.com/KnightEmailDisclaimer.html
>

Luke Tislow

unread,
Apr 9, 2012, 10:51:40 AM4/9/12
to puppet...@googlegroups.com
I think that if you enable the EPEL repo it will be in there. So add the EPEL with -


And then you can yum search and install for puppet/facter

Josh Cooper

unread,
Apr 9, 2012, 12:06:14 PM4/9/12
to puppet...@googlegroups.com
Hi Andreas,

On Sun, Apr 8, 2012 at 11:30 AM, Andreas Haerter <list+pup...@mail-node.com> wrote:
On 08.04.2012 00:46, Michael Stahnke wrote:
>>> Puppet seems way too clumber some with the amount of dependencies
>>> required so far.
>>
>> Seriously: use the packages of your distribution or the YUM/APT repos by
>> Puppetlabs if you want to start with all the 2.7 features right now (I
>> would recommend that - why learning and maintain old stuff if you just
>> start to use Puppet?). Or are you running Puppet on windows (=no
>> repositories available)?

> But an MSI is available for windows: http://downloads.puppetlabs.com/windows

Cool, even better. Since when does a Puppet MSI exist?

The Puppet 2.7.12 MSI was released at the same time as the PE 2.5 release, and we'll continue to make them available for future FOSS and PE releases.

Josh
--
Josh Cooper
Developer, Puppet Labs

Reply all
Reply to author
Forward
0 new messages