Re: [Puppet Users] Using Puppetdb-terminus via rubygems...?

2014-12-08 Thread Ken Barber
We have entirely-gem based Puppet masters (no Ubuntu packages installing Puppet)... we're trying to add in the puppetdb-terminus gemfile. We have it configured, and installed: # gem list | grep -i puppet hiera-puppet (1.0.0) puppet (3.7.3) puppet-catalog-test (0.3.1) puppet-lint (1.0.1)

[Puppet Users] Installing puppet on OSX

2014-12-08 Thread Mauricio Tavares
Do you use the .dmg from puppetlabs or, as suggested in https://ask.puppetlabs.com/question/67/unable-to-run-puppet-on-osx-mountain-lion/, do gem install puppet Reason I ask is that I installed puppet in a 10.8 box and when I looked in the puppet error log file, I saw from

[Puppet Users] classification question

2014-12-08 Thread ezzobad
Hi, This is the configuration: *Puppet version:* 3.7.2 (Puppet Enterprise 3.7.0) *OS on the puppet master and agent:* CentOS release 6.5 (Final) *Puppet server:* Cent200.example.com *Puppet node:* Cent201.example.com environment1: /etc/puppetlabs/puppet/environments/environment1/ ├── manifests │

Re: [Puppet Users] Re: if tagged scope and autoconfig module

2014-12-08 Thread Poil
Hey thanks, I don't understand : in template we can use classes that contain all defined classes. Is it a good idea to add if defined(Class['::apache']) { require apache; include collectd::apache } Or is a class is like other ressource, only defined when parsed ? (so could be randomly

Re: [Puppet Users] puppet agent upgrade on windows

2014-12-08 Thread Jason Chinsen
Hello Rob Thanks for the response. I will take a look at OpenTable's module for sure. I will also add -force on to my install line For the third part, we ran into another issue, and I am not sure if this is spelled out any where but we pass in the version 3.3.2 vs latest and most of our

Re: [Puppet Users] puppet agent upgrade on windows

2014-12-08 Thread Dirk Heinrichs
Am 05.12.2014 um 19:03 schrieb Rob Reynolds: Trying to upgrade Puppet with Puppet on Windows is harder because Windows locks files that are in use instead of letting you replace them in place. That's not true. Upgrading Puppet with Puppet on Windows works just fine. Downgrade is a different

[Puppet Users] Re: classification question

2014-12-08 Thread Byron Miller
Since your default group is environment1, you don't need a site.pp as your ENC (puppet PE) has already classified this node to environment1. It sounds like the modules in environment1 conflict with the modules in the PE Mcollective Node group which is usually defined for all nodes. What do

[Puppet Users] PuppetDB behind PgPool-II - anyone doing it?

2014-12-08 Thread Byron Miller
Is anyone running PuppetDB behind PgPool-II? I see that puppetDB has an active/standby (read from standby) support but curious if anyone has any experience with pgpool-II cluster for PuppetDB - just wondering if there is anything i should look out for in testing it out. -byron -- You

Re: [Puppet Users] puppet agent upgrade on windows

2014-12-08 Thread Jason Chinsen
Hey Dirk, Thanks of the update, this is great news. If you do not mind, please can you share your puppet manifests and chocolatey package? My puppet manifests for the windows part (this far) is relatively straight forward: package{'pe-agent': ensure =

Re: [Puppet Users] Re: if tagged scope and autoconfig module

2014-12-08 Thread jcbollinger
On Monday, December 8, 2014 5:26:05 AM UTC-6, Poil wrote: Hey thanks, I don't understand : in template we can use classes that contain all defined classes. That is potentially misleading: the https://docs.puppetlabs.com/guides/templating.html#access-to-tags-and-declared-classes

[Puppet Users] Re: classification question

2014-12-08 Thread jcbollinger
On Monday, December 8, 2014 12:08:22 AM UTC-6, ezzobad wrote: Hi, This is the configuration: *Puppet version:* 3.7.2 (Puppet Enterprise 3.7.0) *OS on the puppet master and agent:* CentOS release 6.5 (Final) *Puppet server:* Cent200.example.com *Puppet node:* Cent201.example.com

[Puppet Users] what gets run when a client can't connect?

2014-12-08 Thread JonY
Anything? Some cached set? -- 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

Re: [Puppet Users] Using Puppetdb-terminus via rubygems...?

2014-12-08 Thread Matt Wise
Thanks for that Ken... This morning I found a gem 'md-puppetdb-terminus' that someone has published that works perfectly, thankfully. Matt Wise Sr. Systems Architect Nextdoor.com On Mon, Dec 8, 2014 at 2:01 AM, Ken Barber k...@puppetlabs.com wrote: We have entirely-gem based Puppet masters

[Puppet Users] hiera and puppet variables

2014-12-08 Thread Drew
Hey, I hope someone here can point me in the right direction. Maybe I'm doing something wrong here, but I'm having trouble getting it resolved. I have a java rpm that I want to relocate under a different directory, for various reasons. Not something all that uncommon. I'd like to use puppet

Re: [Puppet Users] Using Puppetdb-terminus via rubygems...?

2014-12-08 Thread Darin Perusich
On Mon, Dec 8, 2014 at 5:01 AM, Ken Barber k...@puppetlabs.com wrote: We have entirely-gem based Puppet masters (no Ubuntu packages installing Puppet)... we're trying to add in the puppetdb-terminus gemfile. We have it configured, and installed: # gem list | grep -i puppet hiera-puppet

[Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Nathan Earixson
Hi, I think I'm misunderstanding either Hiera data bindings or the hash merge functions, but I'm not sure which. When I override a Hiera setting in a more specific level of the heriarchy, only that setting gets applied. In fact, settings from more general levels get removed. Example: I'm

Re: [Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Ramin K
On 12/8/14 12:56 PM, Nathan Earixson wrote: sudo -u puppet hiera --hash ssh::server_options environment=test ::kernel=Linux {PermitRootLogin=no, ClientAliveInterval=540, TCPKeepAlive=yes} | I have tried this with AND without :merge_behavior: deeper set in the hiera.yaml file. Any ideas of

Re: [Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Nathan Earixson
Thank you. I get it now. -n On Monday, December 8, 2014 3:13:26 PM UTC-6, Ramin K wrote: On 12/8/14 12:56 PM, Nathan Earixson wrote: sudo -u puppet hiera --hash ssh::server_options environment=test ::kernel=Linux {PermitRootLogin=no, ClientAliveInterval=540, TCPKeepAlive=yes}

Re: [Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Ramin K
np. There is any interesting discussion on what to change in the future here. https://tickets.puppetlabs.com/browse/HI-118 Ramin On 12/8/14 1:37 PM, Nathan Earixson wrote: Thank you. I get it now. -n On Monday, December 8, 2014 3:13:26 PM UTC-6, Ramin K wrote: On 12/8/14 12:56 PM,

[Puppet Users] Re: classification question

2014-12-08 Thread ezzobad
Thanks John and Byron, Yes it is Puppet PE, but I am using it in my test lab (Do you think PE is a wrong choice for learning Puppet? It's free up to 10 nodes you know. You input would be valuable to me as I have just started puppetizing). And regarding the issue, found out a bit more: Puppet

[Puppet Users] remove/purge a package

2014-12-08 Thread ezzobad
Hi, I was trying to remove ypbind and yp-tools using ensure = 'absent', but it looks like puppet does not support interdependency in this way. So I tried 'purged' and the result is what I expected, except the report: ... Notice: /Stage[main]/Main/Package[yp-tools]/ensure: *created* ...

Re: [Puppet Users] Using Puppetdb-terminus via rubygems...?

2014-12-08 Thread Matt Wise
+1 Matt Wise Sr. Systems Architect Nextdoor.com On Mon, Dec 8, 2014 at 9:34 AM, Darin Perusich da...@darins.net wrote: On Mon, Dec 8, 2014 at 5:01 AM, Ken Barber k...@puppetlabs.com wrote: We have entirely-gem based Puppet masters (no Ubuntu packages installing Puppet)... we're trying to

Re: [Puppet Users] Using Puppetdb-terminus via rubygems...?

2014-12-08 Thread Spencer Krum
The gem owner would be the only one who could remote the gem. That, obviously, is not puppetlabs. -- Spencer Krum n...@spencerkrum.com On Mon, Dec 8, 2014, at 09:19 PM, Matt Wise wrote: +1 Matt Wise Sr. Systems Architect Nextdoor.com On Mon, Dec 8, 2014 at 9:34 AM, Darin Perusich

Re: [Puppet Users] remove/purge a package

2014-12-08 Thread Spencer Krum
Can you post more of your code? -- Spencer Krum n...@spencerkrum.com On Mon, Dec 8, 2014, at 09:09 PM, ezzobad wrote: Hi, I was trying to remove ypbind and yp-tools using ensure = 'absent', but it looks like puppet does not support interdependency in this way. So I tried 'purged' and the

Re: [Puppet Users] remove/purge a package

2014-12-08 Thread ezzobad
Hi Spencer, cent200 is the puppet master and cent201 is the client. the manifest: Package { ensure = installed, allow_virtual = 'false' } $unwanted_packages = [ ypbind, yp-tools ] package { $unwanted_packages: ensure = 'purged', provider = 'yum' }

Re: [Puppet Users] remove/purge a package

2014-12-08 Thread Spencer Krum
Well thats weird. I don't know what's going on there. -- Spencer Krum n...@spencerkrum.com On Mon, Dec 8, 2014, at 10:13 PM, ezzobad wrote: Hi Spencer, cent200 is the puppet master and cent201 is the client. the manifest: Package { ensure = installed, allow_virtual = 'false' }

Re: [Puppet Users] puppet agent upgrade on windows

2014-12-08 Thread Dirk Heinrichs
Am 08.12.2014 um 15:52 schrieb Jason Chinsen: Thanks of the update, this is great news. If you do not mind, please can you share your puppet manifests and chocolatey package? I don't use chocolatey. I use the .msi from Puppetlabs (this is not PE, btw.). However, I've attached my module. You