Hello Nan, So this is the problem: I think that puppet must fail on the fist attempt, but install the package to be sucess on the second try.
But not, it always failing: Feb 15 16:37:49 alog228 puppet-agent[18960]: Starting Puppet client version 2.7.9 Feb 15 16:37:57 alog228 puppet-agent[18960]: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template base/rpmforge.repo.erb: Could not find value for 'lsbmajdistrelease' at 4:/etc/puppet/modules/base/templates/rpmforge.repo.erb at /etc/puppet/modules/base/manifests/repository.pp:23 on node alog228 Feb 15 16:37:57 alog228 puppet-agent[18960]: Using cached catalog Feb 15 16:37:57 alog228 puppet-agent[18960]: Could not retrieve catalog; skipping run Feb 15 17:08:00 alog228 puppet-agent[18960]: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template base/rpmforge.repo.erb: Could not find value for 'lsbmajdistrelease' at 4:/etc/puppet/modules/base/templates/rpmforge.repo.erb at /etc/puppet/modules/base/manifests/repository.pp:23 on node alog228 Feb 15 17:08:00 alog228 puppet-agent[18960]: Using cached catalog Feb 15 17:08:00 alog228 puppet-agent[18960]: Could not retrieve catalog; skipping run Feb 15 17:27:05 alog228 puppet-agent[18960]: Caught TERM; calling stop Feb 15 17:27:06 alog228 puppet-agent[21508]: Reopening log files Feb 15 17:27:06 alog228 puppet-agent[21508]: Starting Puppet client version 2.7.9 Feb 15 17:27:08 alog228 puppet-agent[21508]: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template base/rpmforge.repo.erb: Could not find value for 'lsbmajdistrelease' at 4:/etc/puppet/modules/base/templates/rpmforge.repo.erb at /etc/puppet/modules/base/manifests/repository.pp:23 on node alog228 I saw your module, sounds really nice! Did you know if it works with puppet 2.7.9? Thanks!! Em sexta-feira, 15 de fevereiro de 2013 17h11min14s UTC-2, Nan Liu escreveu: > > > You can't update fact information during a puppet run. Puppet either have > or don't have lsb facts when applying the catalog, installing the package > to satisfy the dependency won't help that particular puppet run (only the > next one). I also find redhat-lsb package to be hideously large dependency > for answering such a basic fact. Here's one possible work around (as long > you don't need lsbrelease): https://forge.puppetlabs.com/nanliu/lsb > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.