[foreman-dev] Re: [POC] Automatic inspection of user-created provisioning templates

2017-09-13 Thread sshtein
First attempt to create a design. It's an open discussion, everyone who wants to chime in, please do. The engine: will be deployed as a separate gem. My name suggestion the-detective (Sinatra plays a cop). It will wrap the invocation

[foreman-dev] Rails 5.0 used by default now

2017-09-13 Thread Michael Moll
Hi, today PR #4709 was merged to Foreman core, which sets Rails 5.0.6 as default when using Ruby >= 2.3. All plugin authors should now start to make their plugins compatible with Rails 5.0, as Foreman 1.17 will very likely not support Rails 4.2 anymore. RPM and DEB builds are not affected at

[foreman-dev] Re: Katello CI red due to recent foreman-tasks release

2017-09-13 Thread Ivan Necas
One observation: it seems you need to rebase the foreman PRs in order the change to be effective in the tests. -- Ivan On Wed, Sep 13, 2017 at 3:35 PM, Ivan Necas wrote: > We are back to green again. Keep calm and carry on merging on green tests > again > > -- Ivan > > On

[foreman-dev] Re: Katello CI red due to recent foreman-tasks release

2017-09-13 Thread Ivan Necas
We are back to green again. Keep calm and carry on merging on green tests again -- Ivan On Tue, Sep 12, 2017 at 9:45 PM, Ivan Necas wrote: > Hi, > > We've pushed new version of foreman-tasks, that included the last > piece of transition of Dynfow into the core. Unfortunately

Re: [foreman-dev] From Foreman to Iot Platforme

2017-09-13 Thread Fairouz el ouazi
With this suggestion do i need to make any changes on my platform . Because it's only reached by REST api / Le mercredi 13 septembre 2017 12:19:47 UTC+2, Ewoud Kohl van Wijngaarden a écrit : > > In that case I would start with foreman_hooks and perform the POST > request. You can even do this

Re: [foreman-dev] From Foreman to Iot Platforme

2017-09-13 Thread Ewoud Kohl van Wijngaarden
In that case I would start with foreman_hooks and perform the POST request. You can even do this in bash with curl if you want. https://github.com/theforeman/foreman_hooks#usage describes how you can create your own hooks. On Wed, Sep 13, 2017 at 02:39:58AM -0700, Fairouz el ouazi wrote: I

Re: [foreman-dev] From Foreman to Iot Platforme

2017-09-13 Thread Fairouz el ouazi
I m a beginner in ruby so that 's why i felt a little bit a shame to put it in public im trying to make at first the plugin functional . For my case i know that i want to make a post request to my platform by in the foreman side how can i do it .. Le mercredi 13 septembre 2017 11:31:33

Re: [foreman-dev] From Foreman to Iot Platforme

2017-09-13 Thread Ewoud Kohl van Wijngaarden
On Wed, Sep 13, 2017 at 02:25:01AM -0700, Fairouz el ouazi wrote: I m trying to develop a plugin in Foreman so i can manage all the devices that are connected to my IoT platform . I can communicate with my IoT platform via REST API . In first place with GET request i can get all the

[foreman-dev] From Foreman to Iot Platforme

2017-09-13 Thread Fairouz el ouazi
Hi everyone , I m trying to develop a plugin in Foreman so i can manage all the devices that are connected to my IoT platform . I can communicate with my IoT platform via REST API . In first place with GET request i can get all the devices on Foreman with their parameters . My problem