Hello guys,
I just created a very first version of chef to foreman reporting handler.
This need at least Foreman 1.3 to test it (thanks gwmngilfen for your work
on removing Puppet from core !)
It has been tested with chef-client 11.6.0
The repo can be found here :
https://github.com/rvrignaud/chef-foreman-reporting
Usage is pretty straight forward : just add a few lines in your client.rb
config files :
require '/PATH/TO/lib/chef/handler/foreman.rb'
foreman_handler = ForemanReporting.new({:foreman_url =>
'https://foreman.example.com'})
report_handlers << foreman_handler
exception_handlers << foreman_handler
Any feedback appreciated.
Romain
Awesome! I'll definitely try to find time to have a play with this. Thanks
Romain!
Greg
···
On 30 September 2013 17:27, Romain Vrignaud wrote:
Hello guys,
I just created a very first version of chef to foreman reporting handler.
This need at least Foreman 1.3 to test it (thanks gwmngilfen for your work
on removing Puppet from core !)
It has been tested with chef-client 11.6.0
The repo can be found here :
GitHub - theforeman/chef-handler-foreman: This handler allow Chef to send reports to Foreman
Usage is pretty straight forward : just add a few lines in your client.rb
config files :
require ‘/PATH/TO/lib/chef/handler/foreman.rb’
foreman_handler = ForemanReporting.new({:foreman_url => ‘https://foreman.example.com’})
report_handlers << foreman_handler
exception_handlers << foreman_handler
Any feedback appreciated.
See http://projects.theforeman.org/projects/foreman/wiki/Chef-reporting for
discussion about this feature.
Romain
···
2013/9/30 Greg Sutcliffe
On 30 September 2013 17:27, Romain Vrignaud rvrignaud@gmail.com wrote:
Hello guys,
I just created a very first version of chef to foreman reporting handler.
This need at least Foreman 1.3 to test it (thanks gwmngilfen for your
work on removing Puppet from core !)
It has been tested with chef-client 11.6.0
The repo can be found here :
GitHub - theforeman/chef-handler-foreman: This handler allow Chef to send reports to Foreman
Usage is pretty straight forward : just add a few lines in your client.rb
config files :
require ‘/PATH/TO/lib/chef/handler/foreman.rb’
foreman_handler = ForemanReporting.new({:foreman_url => ‘https://foreman.example.com’})
report_handlers << foreman_handler
exception_handlers << foreman_handler
Any feedback appreciated.
Awesome! I’ll definitely try to find time to have a play with this. Thanks
Romain!
Greg
–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.