I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem. How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)? # dpkg -i puppet-dashboard_1.1.0-1_all.deb Selecting previously deselected package puppet-dashboard. (Reading database ... 89313 files and directories currently installed.) Unpacking puppet-dashboard (from puppet-dashboard_1.1.0-1_all.deb) ... dpkg: dependency problems prevent configuration of puppet-dashboard: puppet-dashboard depends on ruby; however: Package ruby is not installed. puppet-dashboard depends on ruby1.8 (>= 1.8.7); however: Package ruby1.8 is not installed. puppet-dashboard depends on rake (>= 0.8.3); however: Package rake is not installed. puppet-dashboard depends on dbconfig-common; however: Package dbconfig-common is not installed. puppet-dashboard depends on libdbd-mysql-ruby; however: Package libdbd-mysql-ruby is not installed. puppet-dashboard depends on rubygems; however: Package rubygems is not installed. puppet-dashboard depends on libhttpclient-ruby1.8; however: Package libhttpclient-ruby1.8 is not installed. dpkg: error processing puppet-dashboard (--install): dependency problems - leaving unconfigured Processing triggers for ureadahead ... Errors were encountered while processing: puppet-dashboard build from source? Thanks -- Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white@ttiltd.com 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Tue, Jun 14, 2011 at 11:56 AM, Craig White <craig.white@ttiltd.com>wrote:> I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed > puppet via gem. > > How can I install puppet-dashboard if I don''t see a gem available and if I > use the ubuntu package, i get the whole slop of ruby packages sucked in > (which i am trying to avoid)? >If you''re using Ruby EE, I would simply check out the git repository with the appropriate release tag you want and install it that way, as you''ll be satisfying dependencies manually outside your package manager anyway. https://github.com/puppetlabs/puppet-dashboard/blob/master/README.markdown> > # dpkg -i puppet-dashboard_1.1.0-1_all.deb > Selecting previously deselected package puppet-dashboard. > (Reading database ... 89313 files and directories currently installed.) > Unpacking puppet-dashboard (from puppet-dashboard_1.1.0-1_all.deb) ... > dpkg: dependency problems prevent configuration of puppet-dashboard: > puppet-dashboard depends on ruby; however: > Package ruby is not installed. > puppet-dashboard depends on ruby1.8 (>= 1.8.7); however: > Package ruby1.8 is not installed. > puppet-dashboard depends on rake (>= 0.8.3); however: > Package rake is not installed. > puppet-dashboard depends on dbconfig-common; however: > Package dbconfig-common is not installed. > puppet-dashboard depends on libdbd-mysql-ruby; however: > Package libdbd-mysql-ruby is not installed. > puppet-dashboard depends on rubygems; however: > Package rubygems is not installed. > puppet-dashboard depends on libhttpclient-ruby1.8; however: > Package libhttpclient-ruby1.8 is not installed. > dpkg: error processing puppet-dashboard (--install): > dependency problems - leaving unconfigured > Processing triggers for ureadahead ... > Errors were encountered while processing: > puppet-dashboard > > build from source? > > Thanks > > -- > Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white@ttiltd.com > 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com > > Need help communicating between generations at work to achieve your desired > success? Let us help! > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- Nigel Kersten Product, Puppet Labs @nigelkersten -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Jun 14, 1:56 pm, Craig White <craig.wh...@ttiltd.com> wrote:> I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem. > > How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)?I''m not sure if this would be helpful in this case, however here is how to make dpkg ignore dep issues. dpkg -i --ignore-depends=<package(s) to ignore> package.deb If more than one package needs to be ignored, seperate them with commas: dpkg -i --ignore-depends=package1,package2 package3.deb -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Jun 14, 2011, at 12:00 PM, Nigel Kersten wrote:> > > On Tue, Jun 14, 2011 at 11:56 AM, Craig White <craig.white@ttiltd.com> wrote: > I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem. > > How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)? > > If you''re using Ruby EE, I would simply check out the git repository with the appropriate release tag you want and install it that way, as you''ll be satisfying dependencies manually outside your package manager anyway. > > https://github.com/puppetlabs/puppet-dashboard/blob/master/README.markdown----- I seem to be pretty close to having it working by pulling down w/ git What I can''t figure out is if puppet is in MySQL in a database called puppet and the dashboard created the database called dashboard, the dashboard is empty and doesn''t have a clue about what''s installed/available. Perhaps this is just because the ''agent'' must report and to that end, I have configured the system running puppetmaster ... # cat /etc/puppet/puppet.conf [main] # Basic config: logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/etc/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter pluginsync=false templatedir=$confdir/templates #Puppetmaster-config: [master] storeconfigs = true # MySQL-configuration: dbadapter = mysql dbuser = puppet dbpassword = XXXXXX dbserver = localhost dbsocket = /var/run/mysqld/mysqld.sock # SSL-config: ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY # Reports to puppet-dashboard for each run: reports = http, store reporturl = http://puppet.ttinet:8000/reports/upload [agent] report = true but even when I update my ''client'' system, dashboard is still empty. I think I am missing something really basic. Is the Dashboard not capable of reading files from /etc/puppet/ tree? Does it only get data from ''agent'' reports? Did I miss something in my setup to get the ''agents'' to report to Dashboard? Craig -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Jun 14, 2011, at 11:56 AM, Craig White wrote:> I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem. > > How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)?Frankly, I just let it install the packages because they won''t do any harm. (I''m assuming you only use ruby for puppet) Here''s how I got dashboard working: (Partly pesudo-code and I might be forgetting a step or two) get ruby-enterprise-1.8.7-2011.03.tar.gz untar and install ruby-enterprise-1.8.7-2011.03 install puppet-dashboard from the repository put this file in /etc/apache2/mods-avaliable/passengeree.load: LoadModule passenger_module /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/passenger-2.2.15/ext/apache2/mod_passenger.so PassengerRoot /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/passenger-2.2.15 PassengerRuby /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby a2dismod ruby a2dismod passenger a2enmod passengeree /etc/apache2/sites-enabled/puppet-dashboard: # Based on http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger Listen 3000 <VirtualHost *:3000> # Passenger options that can be set in a virtual host # configuration block. PassengerHighPerformance on PassengerStatThrottleRate 120 PassengerMaxPoolSize 3 PassengerPoolIdleTime 300 PassengerUseGlobalQueue on RailsAutoDetect On RailsEnv production DocumentRoot /usr/share/puppet-dashboard/public/ <Directory /usr/share/puppet-dashboard/public/> Options None AllowOverride AuthConfig Order allow,deny allow from all </Directory> ErrorLog /var/log/apache2/puppet-dashboard_error.log LogLevel warn CustomLog /var/log/apache2/puppet-dashboard_access.log combined /etc/mysql/conf.d/innodb_file_per_table.cnf: #Without this isn''t almost impossible to reclaim space from dashboard when reports are removed [mysqld] innodb_file_per_table=true service mysql restart cd /usr/share/puppet-dashboard/ Run the proper rake task to create and populate the DBs service apache2 restart -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Jun 16, 2011, at 10:48 PM, Patrick wrote:> > On Jun 14, 2011, at 11:56 AM, Craig White wrote: > >> I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem. >> >> How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)? > > Frankly, I just let it install the packages because they won''t do any harm. (I''m assuming you only use ruby for puppet) > > Here''s how I got dashboard working: (Partly pesudo-code and I might be forgetting a step or two) > > > get ruby-enterprise-1.8.7-2011.03.tar.gz > untar and install ruby-enterprise-1.8.7-2011.03 > > install puppet-dashboard from the repository > > put this file in /etc/apache2/mods-avaliable/passengeree.load: > LoadModule passenger_module /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/passenger-2.2.15/ext/apache2/mod_passenger.so > PassengerRoot /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/passenger-2.2.15 > PassengerRuby /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby > > a2dismod ruby > a2dismod passenger > a2enmod passengeree > > /etc/apache2/sites-enabled/puppet-dashboard: > # Based on http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger > Listen 3000 > <VirtualHost *:3000> > > # Passenger options that can be set in a virtual host > # configuration block. > PassengerHighPerformance on > PassengerStatThrottleRate 120 > PassengerMaxPoolSize 3 > PassengerPoolIdleTime 300 > PassengerUseGlobalQueue on > RailsAutoDetect On > RailsEnv production > > DocumentRoot /usr/share/puppet-dashboard/public/ > <Directory /usr/share/puppet-dashboard/public/> > Options None > AllowOverride AuthConfig > Order allow,deny > allow from all > </Directory> > ErrorLog /var/log/apache2/puppet-dashboard_error.log > LogLevel warn > CustomLog /var/log/apache2/puppet-dashboard_access.log combined > > > /etc/mysql/conf.d/innodb_file_per_table.cnf: > #Without this isn''t almost impossible to reclaim space from dashboard when reports are removed > [mysqld] > innodb_file_per_table=true > > service mysql restart > > cd /usr/share/puppet-dashboard/ > Run the proper rake task to create and populate the DBs > > service apache2 restart---- actually the packages didn''t cause me any harm (ubuntu 10.04), but the existence of the second copy of rubygems was making me insane because it seemed to always install gems in /usr/lib/ruby/ tree and thus it was hit or miss whether gems would work or not work or use /usr/local/ruby tree or /usr/lib/ruby tree so I had to get sanity by removing the ubuntu ruby packages. I hadn''t experienced that before with CentOS but then again, I haven''t tried running puppet (yet) or puppet-master (not likely) on CentOS. Anyway, I have gotten (per list suggestion) Puppet Pro (James, you are a god)[1] and will read through thoroughly before I try to figure out Dashboard because even though Dashboard is up and running now, it isn''t entirely clear how to make it functional yet. Downloading Dashboard and installing it did create some ''rack'' issues (apparently 1.0.1 is bundled w/ Dashboard and had to be removed and references fixed) Thanks Craig [1] actually to give credit to James is not meant to slight Luke, Nigel or any of the developers who have created an incredibly awesome toolset in any way. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.