Mastodon Mastodon - Quick puppet debugging snippet for Atom
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. Quick puppet debugging snippet for Atom

Quick puppet debugging snippet for Atom

Posted on July 6, 2016  (Last modified on July 11, 2024) • 1 min read • 48 words
Puppet  
Puppet  
Share via

Not sure how I could have lived without this Atom snippet expansion until now (had it before in Sublime, never bothered porting, stooooopid as I realize now 😉 ):

'.source.puppet':
  'Puppet: fail inline template':
    'prefix': 'fit'
    'body': """
      $fail_me = inline_template('<%= require "yaml"; YAML.dump(@$1) %>')
      fail("\\\\n\\\\nVariable \\\\$$1:\\\\n\${fail_me}\\\\n\\\\n")
    """
 Logstash, clone filter & add_field mysteries
Testing logstash configs with Docker 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Link copied to clipboard
Code copied to clipboard