[Puppet Users] installing rpm packages

2009-10-05 Thread dj

I'm trying to build a minimal class that installs a package on a
centos machine.

here is the class:

class admin-users {

package { admin-users: ensure => latest }

}

The package exists in a yum repo:

[root@ tmp]# yum list admin-users
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * rpmforge: apt.sw.be
Available Packages
admin-users.noarch
1.1.11-1
extras


When I run the puppet client in debug mode it doesnt install the
package.  What am I missing?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Puppet external CA Vs Puppet CA

2017-08-10 Thread DJ
Hello,

I want to know what is recommended way for puppet CA, is internal Puppet CA 
works or if we have company standard CA we should use that, can anyone 
highlight pros and cons of each method ?

Thanks,
DJ

-- 
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/1724387a-a239-4421-ab97-15b64c505ec6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Hiera auto binding

2015-07-08 Thread DJ
Hello,

i was reading this doc 
"http://garylarizza.com/blog/2014/10/24/puppet-workflows-4-using-hiera-in-anger";
 
which says it's not good idea to use Hiera auto binding feature, can you 
guys suggest if you are using this feature and you have noticed any 
performance issues or any issues related to not able to find from where 
data is coming?

Any feedback please.

Regards,
DJ

-- 
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/bed8a913-eea3-44e2-8914-2f7e5b50c764%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: Hiera auto binding

2015-07-08 Thread DJ
Sorry correction, it's "Data binding" 

On Wednesday, 8 July 2015 21:27:44 UTC+5:30, DJ wrote:
>
> Hello,
>
> i was reading this doc "
> http://garylarizza.com/blog/2014/10/24/puppet-workflows-4-using-hiera-in-anger";
>  
> which says it's not good idea to use Hiera auto binding feature, can you 
> guys suggest if you are using this feature and you have noticed any 
> performance issues or any issues related to not able to find from where 
> data is coming?
>
> Any feedback please.
>
> Regards,
> DJ
>

-- 
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/44f2c779-5b72-4c2e-870a-477e6cc31935%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: Puppet, ENC, Foreman, Hiera. Best way for coexistence?

2015-07-09 Thread DJ
Hello,

I am using option 3 for my infra, but i do include classes to foreman 
hostgroups and using data from Hiera. i am trying to use Hiera for my 
infrastructure modules and puppet smart classes for my application team's 
modules as it has better permission model to control things and users will 
not have access to my infrastructure data in hiera.. but i have not tested 
that yet.

Regards,
DJ

-- 
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/9da1c848-1178-4d8c-bcb2-3fabae459bae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: Hiera auto binding

2015-07-09 Thread DJ
Thanks John, Luke for your suggestions.

-- 
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/74636b43-2652-460e-a124-66612bcf9fa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: basic question about hiera

2015-07-09 Thread DJ
are you saying those data is common for all hosts? then may be you can use 
common.yaml ?

On Wednesday, 8 July 2015 19:09:10 UTC+5:30, Albert Shih wrote:
>
> Hi, 
>
> Very basic question about hiera file. 
>
> I've 
>
>   hieradata/my_host.yaml 
>
> I like at the end of my_host.yaml make something like 
>
>   include my_host_add.yaml 
>
> is it possible ? 
>
> The reason is some data is automatically extract from a database, those 
> data is specific to that host. And because this file is pretty big I don't 
> known if it's a good idea to use hierachy to include in every host 
> (knowing 
> I've no way to use those data outside to my_host) 
>
> Regards. 
>
> JAS 
>
> -- 
> Albert SHIH 
> DIO bâtiment 15 
> Observatoire de Paris 
> 5 Place Jules Janssen 
> 92195 Meudon Cedex 
> France 
> Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 
> xmpp: j...@obspm.fr  
> Heure local/Local time: 
> mer 8 jul 2015 15:31:36 CEST 
>

-- 
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/d0fcb746-ab10-4438-a17c-1e5af648a1cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: basic question about hiera

2015-07-09 Thread DJ
i did not understand your requirement clearly, if you have puppet agent 
running on all maachines then you can use facts to get hardware information 
and use that in hieara hierarchy to differentiate things.

Regards,
DJ

-- 
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/40f81644-2529-4448-8e0f-4a3b314a0b17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.