So, if i have nginx installed from repository "lenny" , 'apt-get
install nginx' will update (if version is newer of course) nginx from
lenny-backports .
When I run puppet, it just ignores package available in pins, I guess
it thinks package already installed. Package is described like:
$packagelist = [ "nginx" ]
package { $packagelist:
ensure => installed,
}
Using "latest" is not the cure, because it will look only on version
(as i understand) and not on pins. I've found
https://github.com/evolvingweb/puppet-apt/blob/master/manifests/force.pp
which looks like something I need, but may be I'm missing something
and there is proper way to do this.
My puppet versions:
root@kappa2:~# dpkg -l|grep puppet
ii puppet 2.6.2-4~bpo50+1
Centralized configuration management - agent
ii puppet-common 2.6.2-4~bpo50+1
Centralized configuration management
root@kappa2:~# puppetd --version
2.6.2
OS - Debian Lenny amd64, puppet from backports.
P.S. Please, CC me on reply.
--
Best regards,
[COOLCOLD-RIPN]
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
--
Best regards,
[COOLCOLD-RIPN]
Have you tried this?
If apt-cache policy lists a newer candidate for a package, it's my
understanding that ensure => latest with the apt provider should fetch
that for you.
Cheers,
Felix
Cheers,
Felix
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.