hi guys, I''m a newbie so please be gentle. ;)
I''m running puppet on gentoo with the modules from example42. They
seem to work well but I''m running into a problem with the way gentoo
does certain packages. Redhat and other distros seem to bundle the
mysql or openssh packages in mysql-client and mysql-server or openssh-
clients openssh-server.
so, when I try to use these modules, it fails because gentoo only has
one package for both clients and servers: mysql or openssh.
I tried to gentooify the module like this:
class puppet::master inherits puppet {
# We need rails for storeconfigs
include rails
package {
puppet-server:
name => $operatingsystem ? {
default => "puppet-server",
gentoo => "puppet",
},
alias => puppetmasterd,
ensure => present;
but, of course, the puppet package is already defined in the
''puppet''
class
what is a newbie to do? I looked in the puppet users archive but
didn''t find any answers, maybe I''m not searching on the right
thing.(?)
--
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.