I'm building a puppet manifest for an Ubuntu machine that needs to
have both of these on it:

  package { "memcached":
    provider => gem,
    ensure => "0.18.0"
  }

  package { "memcached":
    provider => apt,
    ensure => installed
  }

This fails with the following error:

err: Could not retrieve catalog: Puppet::Parser::AST::Resource failed
with error ArgumentError: Duplicate definition: Package[memcached] is
already defined in file /etc/puppet/manifests/site.pp at line 313;
cannot redefine at /etc/puppet/manifests/site.pp:221 on node mynode

How do I get around this?

thanks!
Hernan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to