[Puppet Users] Calling all Sublime Text Users...

2015-05-17 Thread Peter M Souter
Hello Puppet-Users! So, a long time ago I ended up getting push-rights to https://github.com/russCloak/SublimePuppet So, I'm no expert on Textmate and Sublime syntax and template files. In fact, I know pretty much nothing. However, I've merged most of the pull-requests that people have opened,

Re: [Puppet Users] Dependencies modules

2015-05-17 Thread Felix Frank
Hi, it might be possible to get this to work. You would basically create a profiles module per affiliate. Putting all data into params.pp might be possible, but not ideal. Consider implementing Hiera instead. Your hierarchy can dynamically adapt to select appropriate data for each affiliate. HTH

Re: [Puppet Users] cant get variable to show in template (erb)

2015-05-17 Thread Felix Frank
Hi, can you move the notify next to the file resource instead of the variable declaration? It seems most likely that there is some kind of scoping issue. HTH, Felix On 05/16/2015 07:46 PM, Adam Winberg wrote: > Hi, > > trying to populate an ifcfg template (network config) with ipv6 > config, bu

Re: [Puppet Users] cant get variable to show in template (erb)

2015-05-17 Thread Adam Winberg
thanks for the tip, i tried and the notify outputs correct information (i.e the ipv6_addr_cidr variable value) even if put next to the file resource. But still no content in my template. I've been looking up scoping but as far as I've found there is no special scoping in if statements, or conditio

Re: [Puppet Users] cant get variable to show in template (erb)

2015-05-17 Thread Felix Frank
Ah, sorry I missed that earlier: You are compiling the template elsewhere, yes? Because the file resources uses the value of the $ifcfg_template variable. Please also debug the scope of the declaration of that variable. Is it a parameter? HTH, Felix On 05/17/2015 07:41 PM, Adam Winberg wrote: >

Re: [Puppet Users] cant get variable to show in template (erb)

2015-05-17 Thread Adam Winberg
yes! Man, did not think of that. Earlier in the network.pp i have: $ifcfg_template = template("ip/ifcfg.erb--TEMPLATE") I dont recall why I did it like that to start with (the base code of this class is pretty old, just trying to add the ipv6 stuff now), but if i move the template call directl

Re: [Puppet Users] fstab dilemma - pounding on file_line and augeas

2015-05-17 Thread Felix Frank
On 10/08/2014 04:20 AM, Dan White wrote: > > > > On Oct 7, 2014, at 4:17 PM, Felix Frank > > wrote: > >> On 10/07/2014 09:55 PM, Dan White wrote: >>> |Local hardening guidelines say that /usr/local and /var/log/audit >>> have to be separate partitions. >>> O

Re: [Puppet Users] fstab dilemma - pounding on file_line and augeas

2015-05-17 Thread Dan White
Thanks for the info. "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Bill Waterson (Calvin & Hobbes) > On May 17, 2015, at 4:23 PM, Felix Frank > wrote: > >> On 10/08/2014 04:20 AM, Dan White wrote: >> >>