off the top of my head try quoting the package name
package { "admin-users": ensure => latest }
Neil
dj wrote:
> I'm trying to build a minimal class that installs a package on a
> centos machine.
>
> here is the class:
>
> class admin-users {
>
> package { admin-users: ensure => latest }
>
> }
>
> The package exists in a yum repo:
>
> [root@ tmp]# yum list admin-users
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> * rpmforge: apt.sw.be
> Available Packages
> admin-users.noarch
> 1.1.11-1
> extras
>
>
> When I run the puppet client in debug mode it doesnt install the
> package. What am I missing?
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---