Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jedi4ever/puppet-codeblock

Execute abritrary codeblocks in Puppet
https://github.com/jedi4ever/puppet-codeblock

Last synced: about 1 month ago
JSON representation

Execute abritrary codeblocks in Puppet

Awesome Lists containing this project

README

        

## Experiment to execute an arbitrary codeblock in puppet

It's inspired on ruby_block in chef. It feels handy . But I might be totally wrong
Or so it brings a bit chef into puppet.

codeblock { "stuff we do around here":
code => 'puts "blabla"'
}

Or use a template as a code file

codeblock { "template stuff we do around here":
provider => 'ruby',
code => template("mymodule/awesome.rb")
}

**Highly experimental..**