Displaying 1 result from an estimated 1 matches for "tipstricks".
Did you mean:
tips&tricks
2013 Jul 18
2
Puppetlabs Apt module: dependency cycle
...apt``` in a puppet provisioner for vagrant. the
module is installed in puppet/modules and I''m getting a strange Dependency
cycle error.
the code in the manifest file:
# Run apt-get update when anything beneath /etc/apt/ changes
#taken from
https://blog.kumina.nl/2010/11/puppet-tipstricks-running-apt-get-update-only-when-needed/
exec { "apt-get update":
command => "/usr/bin/apt-get update",
onlyif => "/bin/sh -c ''[ ! -f /var/cache/apt/pkgcache.bin ] ||
/usr/bin/find /etc/apt/* -cnewer /var/cache/apt/pkgcache.bin | /bin/grep .
>...