You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to set specific version of php-fpm for and older one, fail because php-common is already installed in a newer version. even in a fresh installation (I'm using it in vagrant).
this is my class, it works if I don't try force the version number
This is a tricky case to handle... I can think of ways using hiera to override class parameters, but I can't think of any simple ways which would work in pure puppet DSL (such as your example).
Do you have the ability to use hiera? If you do, then it should be possible to add a new ensure parameter to the common class, which would be the only one needing to be set to the version you require, then all of the other classes which need one of the other main packages would have access to that variable after including the common class, and use it to set the ensure parameter for their own package.
in centos-6.5-i386
When I try to set specific version of php-fpm for and older one, fail because php-common is already installed in a newer version. even in a fresh installation (I'm using it in vagrant).
this is my class, it works if I don't try force the version number
and this is the error (the relevant part only)
The text was updated successfully, but these errors were encountered: