Hello All,
  New puppet user here. I've been able to create and use my own puppet
modules, but I'm at a loss on how to use modules from PuppetForge,
which seem quite a bit more advanced. For example, I've installed the
camptocamp/apt module via the command 'puppet-module install
camptocamp/apt' into /etc/puppet/modules. I then tried to add the
following code to one of my manifests:

        apt::sources_list {"google-chrome":
                ensure  => present,
                content => "deb http://dl.google.com/linux/chrome/deb/
stable main",
        }

        apt::key {"A040830F7FAC5991":
                source  =>
"https://dl-ssl.google.com/linux/linux_signing_key.pub";
        }

        package { 'google-chrome-stable' :
                ensure => latest,
                require => File['google-chrome-apt-repository'],
        }

When I run the agent, I get an error stating that apt::sources_list is
an invalid resource type. Any idea what I'm doing wrong? I've spent
the last couple hours searching for an answer, and have yet to find
anything that spells it out.

Thanks,
Kyle

http://www.kylehall.info
Mill Run Technology Solutions ( http://millruntech.com )
Crawford County Federated Library System ( http://www.ccfls.org )
Meadville Public Library ( http://www.meadvillelibrary.org )

-- 
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.

Reply via email to