Bug #1962
ralsh doesn't load facts from Facter automatically
| Status: | Closed | Start date: | 02/12/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | 0.24.8 | |||
| Affected Puppet version: | 0.24.7 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
If a provider uses a Facter value, it will work during a puppet run, but not when invoked via ralsh.
You need to manually call Facter.loadfacts inside the provider before facter facts are available to ralsh.
History
Updated by Nigel Kersten almost 3 years ago
I’m happy to simply add a call to Facter.loadfacts to ralsh if that’s all that is necessary, I was just a bit concerned this might be a symptom of a deeper problem that should be resolved and that I don’t feel qualified to make a judgment call on.
If that’s all that is needed, I’ll add a patch.
Updated by Luke Kanies almost 3 years ago
- Status changed from Unreviewed to Accepted
- 3 changed from Unknown to Easy
Yeah, I think that’s all that’s necessary.
Updated by Nigel Kersten almost 3 years ago
- Assignee set to Nigel Kersten
Patch sent to dev list.
Pushed in:
http://github.com/nigelkersten/puppet/commit/3d93b6bb9c60daa33f324890ab4d76ea4c0045cf
on
http://github.com/nigelkersten/puppet/commits/tickets/0.24.x/1962
Updated by Nigel Kersten almost 3 years ago
- Target version set to 0.24.8
- % Done changed from 0 to 100
That commit above should be fine and patch sent to dev list.
Updated by Luke Kanies almost 3 years ago
- Status changed from Accepted to Ready For Checkin
- Assignee changed from Nigel Kersten to James Turnbull
Updated by James Turnbull almost 3 years ago
- Status changed from Ready For Checkin to Closed
Pushed in commit:b270250bab14e4f1703bda386b8d1cf5b45dbceb in branch 0.24.x