I use some package defaults:
case $::operatingsystem {
freebsd, solaris: {
Package {
provider => $operatingsystem ? {
'freebsd' => 'freebsd',
'solaris' => 'pkgutil',
},
source => $operatingsystem ? {
'freebsd' =>
'http://repos.me/pub/FreeBSD/ports/amd64/packages-9.0-release/',
'solaris' => 'http://repos.me/opencsw/testing',
}
}
}
}
The case statement is so that I only set these defaults for these host types.
On Mon, Aug 27, 2012 at 02:48:31AM -0700, ftiff wrote:
> Hi all,
> I'm using FreeBSD-9.0-RELEASE.
> When I install a package via puppet, it seems to use the -STABLE branches
> instead of -RELEASE. I can use pkg_add -r on the command-line, which will
> use the -RELEASE branch and break the dependencies.
> One workaround is to change the $PACKAGESITE variable to
>
> "ftp://ftp.ch.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/"
> but it's not something I'm happy with as it's not something recommended
> for a production system.
> Do anyone know how to change this behavior ?
> Thanks in advance,
> Francois
>
> fti@va01$ uname -a
>
> FreeBSD va01.esl.lan. 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3
> 07:46:30 UTC 2012 root@:/usr/obj/usr/src/sys/GENERIC amd64
>
> fti@va01$
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> [1]https://groups.google.com/d/msg/puppet-users/-/tqEE7TagutgJ.
> 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.
>
> References
>
> Visible links
> 1. https://groups.google.com/d/msg/puppet-users/-/tqEE7TagutgJ
--
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.