Just as I said if I have a choice of using tar file from the source I
will always favor it over rpms cooked in unknown environment.

I actually found the fix for the tar file method - the 'installation/
configuration' writeup on puppetlabs just miss setting ownership on /
etc/puppet and /var/lib/puppet.
The complete set of commands is (as root):

tar xzvf puppet-2.6.4.tar.gz
cd puppet-2.6.4
ruby install.rb
cd /etc/puppet
puppet --genconfig > puppet.conf
mkdir -p /etc/puppet/manifests
cd /etc/puppet/manifests
cat <<EOF > site.pp
# site.pp
file { "/etc/sudoers":
    owner => root, group => root, mode => 440
}

EOF
puppetmasterd --mkusers
cd /var/lib/puppet
chown -R puppet:puppet .
cd /etc/puppet
chown -R puppet:puppet .

puppetmasterd


On Jan 5, 10:46 am, "[email protected]" <[email protected]> wrote:
> On Jan 5, 2011, at 10:24 AM, pzi wrote:
>
>
>
> > After a quick read of the 'Installation Guide' at puppetlabs.com I see
> > that there is either tar or distro options. I looked at distro option
> > and see that for redhat there is only outdated
> > puppet-0.25.5-1.el5.noarch.rpm  
> > athttp://download.fedora.redhat.com/pub/epel/5/x86_64/
> > . No rpms for 2.6.4. Anyway that EPEL source of rpms would be my last
> > option.
> > Tried the latest tar option with puppet-2.6.4.tar.gz and see that that
> > install.rb is very buggy - there are serious permission problems. The
> > steps from the 'Installation Guide' do not produce a running server:
>
> > tar xzvf puppet-2.6.4.tar.gz
> > cd puppet-2.6.4
> > ruby install.rb
> > cd /etc/puppet
> > puppet --genconfig > puppet.conf
> > mkdir -p /etc/puppet/manifests
> > cd /etc/puppet/manifests
> > cat <<EOF > site.pp
> > # site.pp
> > file { "/etc/sudoers":
> >    owner => root, group => root, mode => 440
> > }
> > EOF
> > puppetmasterd --mkusers
> > puppetmasterd
>
> > The puppetmasterd does not start. You have to start the creative part
> > with fixing permissions in /etc and var by hand. Then run into ssl
> > certs issues.  Does anyone have a "real" installation guide that
> > works?
>
> FWIW, I just went through the same annoyance, slightly different issues on 
> Ubuntu 10.04, it's not just Red Hat/Cent OS that's way out of date.
>
> S

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

Reply via email to