[Puppet Users] Re: ENC

2015-12-15 Thread jcbollinger
On Monday, December 14, 2015 at 8:31:09 AM UTC-6, Sergiu Cornea wrote: > > Hi Doug, > > Thank you for your reply. > > This is what my ENC output looks like: > > >1. classes: >2. docker_host: >3. docker: >4. extra_parameters: >5. - "--tlsverify" >6.

[Puppet Users] Re: ENC

2015-12-14 Thread Doug Byrne
I've only ever used the ENC to set top scope variables, and the documentation only mentions top scope variables. Maybe class scoped variables can't be set by ENC using the parameters section. You could try adding those parameters under classes:docker: or use Hiera. On Monday, December 14, 2015

[Puppet Users] Re: ENC

2015-12-14 Thread Sergiu Cornea
Hi Doug, Thank you for your reply. This is what my ENC output looks like: 1. classes: 2. docker_host: 3. docker: 4. extra_parameters: 5. - "--tlsverify" 6. - "--tlscacert=/etc/ssl/certs/my.crt" 7. - "--tlscert=/etc/ssl/certs/new.crt"

[Puppet Users] Re: ENC

2015-12-14 Thread Doug Byrne
What does your ENC output look like? You keep refering to it as Hiera YAML, but ENC and Hiera are not the same. Make sure it follows the format rules here: https://docs.puppetlabs.com/guides/external_nodes.html#enc-output-format -Doug On Monday, December 14, 2015 at 5:11:18 AM UTC-5, Sergiu Cor

[Puppet Users] Re: ENC

2015-12-14 Thread Sergiu Cornea
Hi Matt, Thank you for your answer. I have executed the 2 commands that you've mentioned and for the first command (puppet master --no-daemonize --debug) shows that my script it is run, however, nothing it is happening with the data and the second command (/var/lib/puppet/fetch_enc.sh yournode

Re: [Puppet Users] Re: ENC vs manifest - cage match

2014-10-29 Thread JonY
gt; > To: "puppet-users" > > > Sent: Wednesday, October 29, 2014 1:09:04 PM > > Subject: [Puppet Users] Re: ENC vs manifest - cage match > > > On Wednesday, October 29, 2014 5:44:41 AM UTC-5, JonY wrote: > >> > >> If we throw these two into the oc

Re: [Puppet Users] Re: ENC vs manifest - cage match

2014-10-29 Thread R.I.Pienaar
- Original Message - > From: "jcbollinger" > To: "puppet-users" > Sent: Wednesday, October 29, 2014 1:09:04 PM > Subject: [Puppet Users] Re: ENC vs manifest - cage match > On Wednesday, October 29, 2014 5:44:41 AM UTC-5, JonY wrote: >> >&g

[Puppet Users] Re: ENC vs manifest - cage match

2014-10-29 Thread jcbollinger
On Wednesday, October 29, 2014 5:44:41 AM UTC-5, JonY wrote: > > If we throw these two into the octagon.. who wins? If one says "add it" > and the other says "remove it".. what do I end up with? > Two techs enter, one tech leaves! Or not. I really can't agree with the premise that a winner b

[Puppet Users] Re: ENC - how to set order of operations?

2014-02-04 Thread jcbollinger
On Monday, February 3, 2014 9:13:28 AM UTC-6, JonY wrote: > > I need to convert my resource based system to ENC. > That statement does not make sense. You cannot do anything useful with Puppet without resources. I suppose you may mean that you want to drop node blocks, in which you sometime

[Puppet Users] Re: ENC paramater interpolation in ENC, and inline templates

2013-09-19 Thread jcbollinger
On Wednesday, September 18, 2013 7:36:01 AM UTC-5, Jason Antman wrote: > > I'm in the process of rolling out a new homegrown ENC (we've decided on > using an ENC over hiera; I know it's not the way a lot of you are going, > but it's right for us) and am running into some issues with variable >

[Puppet Users] Re: ENC questions

2012-07-13 Thread jcbollinger
On Thursday, July 12, 2012 4:59:51 PM UTC-5, llo...@oreillyauto.com wrote: > > > Our node defs are mostly classes and variables, but they also do some > ordering using chaining syntax, because, for an web app server, for > example, you need to make sure that Java is installed before Tomcat. >

[Puppet Users] Re: ENC questions

2012-07-12 Thread llow...@oreillyauto.com
On Thursday, July 12, 2012 4:42:12 PM UTC-5, jcbollinger wrote: > > > > On Thursday, July 12, 2012 8:27:16 AM UTC-5, llo...@oreillyauto.com wrote: >> >> I've been trying to wrap my head around ENCs. >> >> Kelsey Hightower gave me some very useful info in IRC the other day, but >> there are still

Re: [Puppet Users] Re: ENC questions

2012-07-12 Thread Craig White
On Jul 12, 2012, at 2:42 PM, jcbollinger wrote: > > > On Thursday, July 12, 2012 8:27:16 AM UTC-5, llo...@oreillyauto.com wrote: > I've been trying to wrap my head around ENCs. > > Kelsey Hightower gave me some very useful info in IRC the other day, but > there are still some things I can't q

[Puppet Users] Re: ENC questions

2012-07-12 Thread jcbollinger
On Thursday, July 12, 2012 8:27:16 AM UTC-5, llo...@oreillyauto.com wrote: > > I've been trying to wrap my head around ENCs. > > Kelsey Hightower gave me some very useful info in IRC the other day, but > there are still some things I can't quite get my head around. > > From what I can tell, an E

[Puppet Users] Re: ENC Puppet DSL with inline_template

2012-06-10 Thread eduardo
Hi, first of all thanks to Jan-Piet for share it. My mistake was around shape an inline_template parameter, everything is ok just deleting linefeeds and spaces characters in it, like this : - $res = inline_template( "<% users.each do |usr| -%><% usr.each do |k,v| -%><%

[Puppet Users] Re: ENC Puppet DSL with inline_template

2012-06-09 Thread eduardo
errata for 2) , It should be Putting function split in a head of class having unique sense to check for structure is tell me that parameter is an array not expected hash variable. Why ? sorry On 9 jun, 09:48, eduardo wrote: >   Dear all, > >   I'm trying to do mass update ssh-accounts by ENC

[Puppet Users] Re: ENC and Passenger

2012-06-06 Thread Brian Carpio
Nevermind, I turned on debug and noticed passenger / apache couldn't read the puppet.conf file. Once I fixed that everything worked as expected. On Jun 6, 12:19 pm, Brian Carpio wrote: > Hi, > > I have passenger up and running and everything was working file while > I was using the /etc/puppet/

[Puppet Users] Re: ENC to install multiple instances of an app on the same node

2011-07-05 Thread Erik
On Jul 5, 11:45 pm, Erik wrote: > I'm a puppet n00b trying to write an ENC, and I'm a bit stumped. > Here's the scenario: > > I have an app which is started via inittab, and a parameterized class > which accepts several arguments (inittab label, log dir, version, etc) > which it uses to ensure tha