Issue when trying to expose additional facts to rundeck

I'm working on standing up rundeck, using foreman as the source of target
resources.

According to
Rundeck Integration - Foreman I should
be able to expose additional facts as tags to rundeck. (I'm particularly
interested in the environment right now.)

However, when I add a parameter named rundeckfacts with a value of
environment, I receive the following in production.log:

Failed to fetch rundeck info for examplehost: undefined method `fact' for
#<Host:0x7fc7e9cc2f00>

It appears several other people have experienced the issue and logged an
issue at Bug #1770: Rundeckfacts "undefined method fact" - Foreman.

I'm wondering if this is still supported or if this is a bug that will be
addressed?

I've submitted a PR that fixes this issue.

ยทยทยท On Wednesday, June 19, 2013 1:58:03 PM UTC-4, Andy Bohne wrote: > > I'm working on standing up rundeck, using foreman as the source of target > resources. > > According to > http://projects.theforeman.org/projects/1/wiki/Rundeck_Integration I > should be able to expose additional facts as tags to rundeck. (I'm > particularly interested in the environment right now.) > > However, when I add a parameter named rundeckfacts with a value of > environment, I receive the following in production.log: > > Failed to fetch rundeck info for examplehost: undefined method `fact' for > # > > It appears several other people have experienced the issue and logged an > issue at http://projects.theforeman.org/issues/1770. > > I'm wondering if this is still supported or if this is a bug that will be > addressed? >