On Saturday, April 19, 2014 10:58:29 AM UTC-5, Alexander Gray II wrote:
>
> I just finished reading this post:
> https://groups.google.com/forum/#!topic/puppet-users/GnW9CVZPdDk
> Which makes me think I may be approaching my problem the wrong way.
>
> In other words, I *tell* puppet what version of python|ruby should be on 
> there, and then act on it.
> No need to check versions.
>
> Nonetheless, I'm curious if it's even possible to this.
>


Again, it depends on what "this" is.  Just as you can write a custom fact 
to check what version of some piece of software is installed, you can write 
one to determine (say) the latest version of some particular package 
available from the currently-configured repositories.  That's the version 
your node would end up with under certain reasonably controllable 
circumstances, but it's important to separate the meaning of the fact 
itself -- package version relative to some random repository configuration 
-- from any inferences you draw from that, such as what package version 
will be installed at some particular point in the future.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8c97d19f-a46d-4ae9-b486-201b8a071c96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to