ensure version ?

9 views
Skip to first unread message

CraftyTech

unread,
Jun 30, 2010, 4:36:00 PM6/30/10
to Puppet Users
Hello,

This was supposed to be an easy one, but it's giving me a bit of
a hard time. I know that specify a version for a package, I'd say:
ensure => "version-123", but how do I also add a second command for
the same variable; for instance, how do it I tell it to ensure =>
installed and also ensure => version? so far I've tried separating it
with commas, i.e, ensure => installed, "version". I've also tried
putting the version in brackets; i.e, ensure => installed["version"].
So far it hasn't worked. Any ideas?

Thanks,

R.I.Pienaar

unread,
Jun 30, 2010, 7:21:42 PM6/30/10
to puppet...@googlegroups.com

----- "CraftyTech" <hmme...@gmail.com> wrote:


you cannot have ensure => version without also implying installed. there's no reason to tell it to install it, if you're telling it to install version x

--
R.I.Pienaar

CraftyTech

unread,
Jun 30, 2010, 10:20:16 PM6/30/10
to Puppet Users
Gotcha.. Thanks

On Jun 30, 7:21 pm, "R.I.Pienaar" <r...@devco.net> wrote:
Reply all
Reply to author
Forward
0 new messages