Comments (10)
Foreman is not supported with Puppet 4, yet, and even less with AIO packages. AIO packaging is bringing its own Ruby, making it impossible to load e.g. facter into the system Ruby we use, leading to the error seen.
from puppet-foreman.
Adding to that: we would like to have it supported though. I'd also expect that the puppet module would need fewer arguments and autodetect the AIO install.
from puppet-foreman.
kind of related: #367 - I still think leveraging the whole AIO/non-AIO/OS detection logic of theforeman-puppet should be used by having -foreman depend on -puppet would be the best way. 💥
from puppet-foreman.
Okay, thanks for the explanation - I had seen some movement in a few commits around puppet 4, but didn't realise there was still a way to go.
from puppet-foreman.
Yes, changes were made to get this Puppet module itself Puppet 4 compatible as-is, but there are still more changes to make until Foreman with all its subsystems will be compatible with Puppet 4 and AIO packages. BTW, all help would be welcome. :)
from puppet-foreman.
While I entirely agree that there are loads of systems that aren't compatible, the particular issue here looks like one we could address in the Debian packaging by switching to a vendored version of Facter.
The 'foreman' package has a dep on the 'facter' package and expects to load it from the regular shared Ruby paths under /usr etc. We could include bundler.d/facter.rb in the core package build so it's cached as a gem using Bundler instead of using the system package.
(Facter's only used as a dep in Foreman core for FQDN resolution etc.)
Edit: to be clear, other things - particularly the smart proxy - will still have issues, but this'll get us a bit further.
from puppet-foreman.
@domcleal true... I'll take the DEB part. :)
from puppet-foreman.
Team:
I am seeing similar ERROR on foreman 1.12 install on rhel 6 puppet 4:
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[nydlx0380.us.net.intra]: Could not evaluate: Proxy lx00.example.com cannot be retrieved: unknown error (response 500)
[lx00 ~]$ puppet status
{
"is_alive": true,
"version": "4.5.3"
}
[lx00 ~]$ puppet --version
4.5.3
please assist
from puppet-foreman.
please open a new issue for his.
from puppet-foreman.
looks like I already did as....pchineye
from puppet-foreman.
Related Issues (20)
- provide a new release that's compatible with puppetlabs/postgresql 8 HOT 3
- foreman_config_entry type does not deal well with array data
- Support apt module v9.x HOT 1
- Puppet Environments/Modules are not updated HOT 4
- puppetlabs/apache: Allow 9.x HOT 1
- Consider using stdlib::ensure_packages HOT 1
- Clicking host hyperlink for puppetclass (under Puppet ENC -> Classes) returns "Field 'class' not recognized for searching!"
- Permissions for foreman::app_root not set correctly HOT 3
- foreman-report_v2 disappeared from master branch ? HOT 2
- Allow customising request header filtering in vhost internal options
- Customisable Yum repository base URL HOT 1
- Allow configuring the priority of the Yum repositories
- Allow customising ProxyAddHeaders
- Feature request: type & provider for "Global Parameters" HOT 2
- Any plans to migrate from camptocamp-systemd to puppet-systemd ? HOT 2
- foreman_config_entry consuming polluted value HOT 4
- Ensuring the ruby module stream on rhel 8 HOT 9
- stale references to some 'globals' variables HOT 2
- Service 'foreman' is started unconditionally HOT 1
- Explicit empty foreman::user_groups parameter does not prevent 'puppet' group addition HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-foreman.