Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jedi4ever/puppet-codeblock
- Owner: jedi4ever
- Created: 2012-04-04T09:29:47.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-04-04T09:35:21.000Z (over 12 years ago)
- Last Synced: 2023-04-10T14:22:18.908Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 79.1 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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..**