Re: [Puppet Users] 3.3.0 bug? Could not prefetch package provider/UTF-8

2013-09-21 Thread Robin Lee Powell
No, although I appreciate the attempt! [rlpowell@shell01 puppet3]$ find . -type f -name '*.pp' | xargs grep -P '[^\s\t!-~]' [rlpowell@shell01 puppet3]$ (that range covers all of visible ASCII, plus space and tab) In fact, the only file that matches that that isn't obviously binary is

[Puppet Users] Re: enablerepo option

2013-09-21 Thread puppetstan
hi thanks for your answer but for use enablerepo option your oblige to pass the patch? Le vendredi 13 septembre 2013 17:23:32 UTC+2, puppetstan a écrit : Hi I would like to use enablerepo option for activate repo and verify package latest version my manifest : package {

[Puppet Users] Re: enablerepo option

2013-09-21 Thread puppetstan
i think Exec is a good alternative Le vendredi 13 septembre 2013 17:23:32 UTC+2, puppetstan a écrit : Hi I would like to use enablerepo option for activate repo and verify package latest version my manifest : package { fusioninventory-agent: ensure = latest, enablerepo = [ epel, remi

[Puppet Users] Re: enablerepo option

2013-09-21 Thread puppetstan
A question, if in my Exec toto i use command = yum -y --enablerepo=epel install fusioninventory-agent and in my definition package there is : ensure = latest, require = Exec['toto'], If i want upgrade package is not possible because the upgrade option in yum does not work and if in my Exec

[Puppet Users] Scoping issue?

2013-09-21 Thread mark bradley
Hi, Yet another newbie question .. I'd appreciate any good references, too! I'm creating a class for managing users, and defining my_user as a convenience function that I've seen in many patterns. I'd like it to manage passwords if one is supplied to the function. class users::virtual {

Re: [Puppet Users] Scoping issue?

2013-09-21 Thread Frederiko Costa
Hi, I believe it could be this way: define ssh_user($passwd, $key) { user { $name: ensure = present, managehome = true, password = $passwd ? { /\w+/ = $passwd, default = undef, } } I think you should also double check the class with a define