[Puppet Users] mysql - granting permissions twith puppet

2016-06-09 Thread kaustubh chaudhari
Hi All, I am trying to grant permissions to a user from multiple hosts. I am not able to achieve it with the default mysql module. Trying to avoid exec. This is what happens with i use mysql_grant resource. i am not able to identify it with a password. Due to which authentication fails. #

[Puppet Users] Unexpected behavior when using variable interpolation on a subkey in hiera

2016-06-09 Thread arusso
Greetings, I'm having trouble using hiera variable interpolation on a sub-key. It appears that along with interpolating the variable, hiera is also returning the un-interpolated data as well, which is causing issues because the un-interpolated data is nonsense. I'm currently running Hiera

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-09 Thread Rob Nelson
Eric Sidebar question I've always had. There's the puppet gem that is commonly used for rspec-puppet. Could that gem (plus its deps, facter, hiera, etc.) suffice for some or all use cases? Rob Nelson rnels...@gmail.com On Thu, Jun 9, 2016 at 3:55 PM, Eric Sorenson

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-09 Thread Eric Sorenson
Matt, I would like to understand this better and help you adopt Puppet into your environment. This is not a rhetorical question, but it might sound like one: Do you rebuild your linux distribution from source RPMs? Because that is very similar to what the AIO Puppet agent bundle is: a mini

Re: [Puppet Users] Multiple CA setup.

2016-06-09 Thread Eric Sorenson
Check out this WIP doc where I describe how to get intermediate certs working. It *is* possible but there are a couple of caveats described in the doc. If anyone's motivated to try this out and let me know how it works for you I'd be hugely appreciative. I got it to "works for me" level of

Re: [Puppet Users] Autorequire defined type from custom type

2016-06-09 Thread Josh Cooper
Hi Matt, On Thu, Jun 9, 2016 at 6:59 AM, Matt Dainty wrote: > As per subject, is it possible to autorequire a defined type within a > custom type? > > It's not currently possible, but there's a ticket filed at https://tickets.puppetlabs.com/browse/PUP-5360, and a work

[Puppet Users] Re: Include class with parameters

2016-06-09 Thread Harish Kothuri
Thank you. Will take a look at "Automated data binding". On Thursday, June 9, 2016 at 6:44:56 PM UTC+5:30, jcbollinger wrote: > > > > On Wednesday, June 8, 2016 at 11:49:58 PM UTC-5, Harish Kothuri wrote: >> >> Hi, >> >> I have classA with parameter and i want to include this in another classB

[Puppet Users] Autorequire defined type from custom type

2016-06-09 Thread Matt Dainty
As per subject, is it possible to autorequire a defined type within a custom type? I've previously done `autorequire(:a_type) do ... end` for both built in and other custom types but I was wondering if it's possible and therefore what do I pass to `autorequire()`? Matt -- You received this

[Puppet Users] Re: Run Puppet Class only once

2016-06-09 Thread jcbollinger
On Tuesday, June 7, 2016 at 5:13:33 AM UTC-5, Christoph wrote: > > Hi there, > > I want to run a whole puppet class only once when provisioning a system > for the first time. > > Unfortunately I do not find a way to do this. > > I know how to run commands once using onlyif or unless or

[Puppet Users] Re: Include class with parameters

2016-06-09 Thread jcbollinger
On Wednesday, June 8, 2016 at 11:49:58 PM UTC-5, Harish Kothuri wrote: > > Hi, > > I have classA with parameter and i want to include this in another classB > . I expected to consider the default value defined in foreman for classA > but it's not happening. > > > class classA ($version) > { >

[Puppet Users] Re: High level module & hiera design

2016-06-09 Thread dkoleary
Hey; Never mind, I reasoned this one out on my own. The whole point of hiera is to be able to override lower level configurations with ones higher up in the hierarchy, so while a cool idea, this definitely won't work. On to plan B. Thanks Doug On Wednesday, June 8, 2016 at 7:32:37 PM