So I've had a foreman server up for a few months now, with two
puppetmasters in different site locations. Thanks to the group for helping
with that, everything is working swell. So the other day I needed to hack
up a module quickly. I would normally use Geppetto for this, but my
workstation here can be so slow it makes using it unbearable unless nothing
else is on my desktop. Anyway, I found a puppet-module-skeleton framework.
I figured I'd fire it up and use it. Anyway, I created the module and
deployed it no issues. However on my foreman master I am now getting these
errors when I try to run puppet agent:
[root@foreman nginx]# puppet agent -tv --debug --noop
Error: Could not autoload puppet/provider/user/directoryservice: no such
file to load – plist
Error: Could not autoload puppet/type/user: Could not autoload puppet/
provider/user/directoryservice: no such file to load – plist
Error: Could not create resources for managing Puppet's files and
directories in sections [:main, :agent, :ssl]: Could not autoload
puppet/type/user: Could not autoload puppet/provider/user/directoryservice:
no such file to load – plist
Error: Could not prepare for execution: Could not create resources for
managing Puppet's files and directories in sections [:main, :agent, :ssl]:
Could not autoload puppet/type/user: Could not autoload puppet/provider/user
/directoryservice: no such file to load – plist
Could not autoload puppet/type/user: Could not autoload puppet/provider/user
/directoryservice: no such file to load – plist
[
root@foreman nginx]# find / -name plist
/opt/rh/ruby193/root/usr/share/ruby/vendor_ruby/facter/util/plist
/usr/lib/ruby/gems/1.8/gems/facter-2.4.4/lib/facter/util/plist
/usr/lib/ruby/gems/1.8/gems/puppet-4.1.0/lib/puppet/vendor/plist
/usr/lib/ruby/gems/1.8/gems/puppet-4.1.0/lib/puppet/vendor/plist/lib/plist
/usr/lib/ruby/site_ruby/1.8/facter/util/plist
[root@foreman ~]# gem list
*** LOCAL GEMS ***
ansi (1.4.3)
apipie-bindings (0.0.13)
awesome_print (1.0.2)
bundler (1.0.15)
bundler_ext (0.3.0)
CFPropertyList (2.2.8)
clamp (0.6.2)
diff-lcs (1.2.5)
facter (2.4.4)
fast_gettext (0.9.2)
fastercsv (1.5.4)
ffi (1.4.0)
gssapi (1.1.2)
hammer_cli (0.2.0)
hammer_cli_foreman (0.2.0)
hashie (2.0.5)
hiera (2.0.0)
highline (1.6.21)
json (1.5.5)
json_pure (1.8.2)
kafo (0.6.6)
kafo_parsers (0.0.5)
little-plugger (1.1.3)
locale (2.0.9)
logging (1.8.2)
metaclass (0.0.4)
mime-types (1.16)
mocha (1.1.0)
multi_json (1.10.1)
netrc (0.7.7)
oauth (0.4.7)
passenger (4.0.18)
powerbar (1.0.11)
puppet (4.1.0)
puppet-lint (1.1.0)
puppet-syntax (2.0.0)
puppetlabs_spec_helper (0.10.3)
rack (1.1.0)
rack-test (0.5.4)
rake (10.4.2, 0.8.7)
rb-readline (0.5.1)
rdoc (3.12)
rest-client (1.6.7)
rkerberos (0.1.3)
rspec (3.2.0)
rspec-core (3.2.3)
rspec-expectations (3.2.1)
rspec-mocks (3.2.1)
rspec-puppet (2.1.0)
rspec-support (3.2.2)
rubyipmi (0.8.1)
sinatra (1.0)
table_print (1.5.1)
thor (0.14.6)
I am tempted to just do a foreman install with the same setting as I
originally used, but I really don't want to screw up the current setup any
more.
Has anyone seen anything like this? For reference the code I used is found
here:
I don't think it should affect the build but I've looked through the logs
and can't find whats up.
R