Martin Willemsma
2011-May-08 21:13 UTC
[Puppet Users] Puppet Dashboard Inventory not all facts visible / incorrect values
Hi, I''m currently using puppet dashboard inventory service and I think this is a great addition to the node view. Thanks! However most of the facts are being displayed, i''m having a some challenges to get custom facts visible on the dashboard. On the client I have custom facts with package versions. When running facter -p after plugin sync they show up. However not on the dashboard inventory. I tried exporting RUBYLIB variable but still no luck. pkg_adduser => 3.112ubuntu1 pkg_apache2 => 2.2.14-5ubuntu8.4 pkg_apache2-mpm-worker => 2.2.14-5ubuntu8.4 pkg_apache2-prefork-dev => 2.2.14-5ubuntu8.4 pkg_apache2-utils => 2.2.14-5ubuntu8.4 pkg_apache2.2-bin => 2.2.14-5ubuntu8.4 pkg_apache2.2-common => 2.2.14-5ubuntu8.4 pkg_apparmor => 2.5.1-0ubuntu0.10.04.3 pkg_apparmor-utils => 2.5.1-0ubuntu0.10.04.3 Another strange issue occurred: no package information can be found for Debian This is Ubuntu Lucid 10.04.2 On the dashboard: operatingsystemDebianoperatingsystemreleasesqueeze/sid On the node: [hostname] ~ # facter operatingsystem Ubuntu ... lsbdistcodename => lucid lsbdistdescription => Ubuntu 10.04.2 LTS lsbdistid => Ubuntu lsbdistrelease => 10.04 lsbmajdistrelease => 10 In one of my modules I use a case statement to include a subclass case $operatingsystem { Ubuntu: { include puppet::ubuntu } <SNIP> default: { notice "$operatingsystem is not supported (yet) in this version of this module" } When run from commandline this does get hit: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Debian is not supported (yet) in this version of this module at /etc/puppet/production/modules/puppet/manifests/init.pp:58 on node [node] Any ideas on how this is possible. Can I expect more behavior like this? Running puppet 2.6.7 from gems and dashboard v1.1.1 -- Kind regards, Martin Willemsma -- 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.