Fixed by removing dependency File[$sources_list_d] in apt/manifests/ppa.pp
around line 33:
require => [
File[$sources_list_d],
Package["${package}"],
],
to
require => Package["${package}"],
среда, 26 декабря 2012 г., 4:22:35 UTC+2 пользователь Andrey Ageyev написал:
>
> Greetings,
>
> I'm trying to add ppa:nginx/stable repo for Ubuntu 12.04.1 LTS.
> Server: puppetmaster-common 3.0.1-1puppetlabs1
> Agent: puppet 2.7.11
>
> And when I try to apply manifest - getting:
> puppet agent -t
> info: Caching catalog for wproxy71.tpnt.net
> err: Failed to apply catalog: Could not find dependency
> File[/etc/apt/sources.list.d] for
> Exec[add-apt-repository-ppa:openstack-ppa/bleeding-edge] at
> /etc/puppet/modules/apt/manifests/ppa.pp:38
>
> The folder - */etc/apt/sources.list.d* exists.
> Does anybody know what's can be wrong?
>
> Thanks,
> Andrey.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/CEgiBNLSA6cJ.
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.