Hi Lowe, My concern is with package name. MySQL package name differs for each version. In the forge module, if you try installing with mysql::server(ensure=>5.6.31) it will fail if you don't pass package name as(MySQL-server) an argument. 5.0/5.1 ---> MySQL-server-community 5.6 ----> MySQL-server 5.7 --->mysql-community-server
How to handle this logic ? ThanksSuresh Rajagopal From: Lowe Schmidt <m...@loweschmidt.se> To: puppet-users@googlegroups.com Sent: Monday, August 29, 2016 7:29 AM Subject: Re: [Puppet Users] mysql package name Have a look at the mysql module in the forge [0]. They solve it by having a package_ensure parameter to the mysql::server class which is one of [ 'present', 'latest, 'absent', 'x.y.z' ] where "x.y.z" is a version string. [0] https://forge.puppet.com/puppetlabs/mysql#mysqlserver --Lowe Schmidt | +46 723 867 157 On 29 August 2016 at 06:42, Suresh Rajagopal <sures...@gmail.com> wrote: Hi, Puppet 3.4 with hieara. what is the best place to define package name within a module? package name varies based on package version. ThanksSuresh Rajagopal-- 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 puppet-users+unsubscribe@ googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/ msgid/puppet-users/c66b04fb- 2591-47da-af56-8f7eda59f964% 40googlegroups.com. For more options, visit https://groups.google.com/d/ optout. -- 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC-wWcT%2BD0BgoAa238y2xgn3dV5XByTSewJTk5hGOx4cR2GuQg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -- 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1151442669.1567854.1472493607331%40mail.yahoo.com. For more options, visit https://groups.google.com/d/optout.