[Puppet Users] Re: A GUI tool for Hiera

2019-01-22 Thread desertkun
, I actually meant puppet-parser <https://github.com/desertkun/hiera-editor/blob/62e842429b00cfe616fa94baf6e49a130ea0bd69/ruby/puppet-parser.rb> instead. Regards. On Tuesday, January 22, 2019 at 3:02:15 PM UTC+2, desertkun wrote: > > Fill free to steal it. > > I could

[Puppet Users] Re: A GUI tool for Hiera

2019-01-22 Thread desertkun
Fill free to steal it. I could try to cut off the AST parser to an external repository so you would be able to mess around with it. For example, it misses a lot of builtin functions <https://github.com/desertkun/hiera-editor/blob/62e842429b00cfe616fa94baf6e49a130ea0bd69/src/puppet/builtin

Re: [Puppet Users] A GUI tool for Hiera

2019-01-21 Thread desertkun
Thank you for such detailed feedback. It all makes sense now. I have pushed an update <https://github.com/desertkun/hiera-editor/releases/tag/v0.1.3> that makes the editor to support hierarchy. It now shows on what level of hierarchy each property of the class is defined (by color-

RE: [Puppet Users] A GUI tool for Hiera

2019-01-09 Thread desertkun
gress you will make. Best regards Karsten Am Di., 8. Jan. 2019 um 18:57 Uhr schrieb desertkun : Hello, everyone. I have made a small useful open source project for Puppet/Hiera, so I hope you can excuse me a bit of advertisement of it for greater good. https://github.com/desertkun/hiera-editor

Re: [Puppet Users] A GUI tool for Hiera

2019-01-08 Thread desertkun
harsh but I'm going to be blunt. I could not get > this thing to work for me on Linux (Ubuntu) even when doing an "npm audit > fix" followed by an "npm audit fix --force" followed by an "npm install" > > Very disappointing to me. > > On Tue, Ja

Re: [Puppet Users] A GUI tool for Hiera

2019-01-08 Thread desertkun
;npm install" > > Very disappointing to me. > > On Tue, Jan 8, 2019 at 12:57 PM desertkun > > wrote: > >> Hello, everyone. >> >> I have made a small useful open source project for Puppet/Hiera, so I >> hope you can excuse me a bit of advertisement

[Puppet Users] A GUI tool for Hiera

2019-01-08 Thread desertkun
Hello, everyone. I have made a small useful open source project for Puppet/Hiera, so I hope you can excuse me a bit of advertisement of it for greater good. https://github.com/desertkun/hiera-editor Basically it takes editing Hiera configurations to a new level. It parses modules with puppet

Re: [Puppet Users] Puppet ordering: ensure exported resource to beevaluated BEFORE classes

2018-01-09 Thread desertkun
ut it works > well and has predictable results. > > Finally the only way I think this can be fixed is it puppet went to a > multipass compiler that would ‘reevaluate’ resources if evaluations > occurred that reference those resources or their parameters. This would > slow dow

[Puppet Users] Puppet ordering: ensure exported resource to be evaluated BEFORE classes

2018-01-08 Thread desertkun
I would like to export "location" information from one node to another. And stuck with that problem for weeks now. In order to achieve that, I use exported resources. Here's the simplified idea: define location ($host) { notify {"Location being defined ${title} -> ${host}": } } # export