[Puppet Users] Compile Puppet on Ubuntu
I'm the first to admit that I'm an idiot. I want to get puppet 2.6.4 on Ubuntu 10.10. As far as I can tell, I need to compile puppet. I've downloaded the 2.6.4 code, but don't know where to go from there. Any advice or pointers to existing documentation on this would be greatly appreciated. Thanks! -- 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: Compile Puppet on Ubuntu
Thanks a bunch. I don't know how I missed this information before. I used the instructions on http://docs.puppetlabs.com/guides/installation.html. I tried to first do the methodology using gems and it looked to install, but then I couldn't find any proof that it had installed, so I used the source methodology. -- 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: Compile Puppet on Ubuntu
So, upon further review, it appears that install.rb does not work. I found some threads addressing this issue: According to http://www.apacheserver.net/puppet-2-6-4-installation-options-for-redhat-centos-at1098441.htm: (pasting below:) 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 < 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 25, 2:57 pm, TT wrote: > Thanks a bunch. I don't know how I missed this information before. > I used the instructions onhttp://docs.puppetlabs.com/guides/installation.html. > I tried to first do the methodology using gems and it looked to > install, but then I couldn't find any proof that it had installed, so > I used the source methodology. -- 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] Stage help
I've been beating my head against the wall with stages. No matter what I do, it seems to ignore the stages and always runs the classes in the order of the statements specified, not the order of the specified stages. In the below example, I've split out the stage definition into an order class, but I have tried directly including the stage definitions within the node default declarations. In this example, deploy is always running first. It seems to ignore the staging. Help please? node default { include order class { "deploy": stage => last } class { "doinstall": stage => first } } class order { stage { "first": before => Stage[main] } stage { "last": require => Stage[main] } } class doinstall { $t_port = 8080 $t_password = 'test' tomcat::install { 'doinstall': port => $t_port, password => $t_password, } } class deploy { import "tomcat/deployment" deployment::deploywar { "SimpleServlet": path => "puppet:///modules/tomcat/SimpleServlet.war" } } -- 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: Stage help
Found the answer. The import statements in my modules were causing the install manifest to run when I didn't expect it to. -- 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.