omfg9899
2014-Sep-28 21:31 UTC
[Puppet Users] "Could not find class" - I must have done something incredibly stupid.. But I can't figure out what....
Puppet version : 2.6.14 Error : Could not find class" Mode : Standalone (no puppetmaster) ----------------------------------------------------- What's run in inside the puppet run script? "export FACTERLIB=/var/els/puppet/modules/facts/files /usr/bin/puppet apply /var/els/puppet/manifests/site.pp --modulepath /var/els/puppet/modules --debug " Note : There is a custom fact inside /var/els/puppet/modules/facts/files that does work as designed. What did I do that didn't work? I created a custom .pp file that is supposed to configure a certain type of server. In this case, webapps server stuff... The file is ** "/var/els/puppet/modules/webapps/manifests/apps_server_content.pp" <apps_server_content> class webapps::apps_server_content { file {'/home/webapps/evl/data/logs': ensure => directory, owner => 'webappsuser', group => 'webappsgroup', mode => 0755, require => Class['Webapps::Webapps_User'], } } </apps_server_content> Then I added this line to the init.pp for the specified app. class webapps { include utils include jetty include jetty::service include webapps::apps_server_content ....... } No matter what I do, it falls apart when I run the puppet apply command always complains that it can't find the module, but the module is there with the same rwxrwxr x permissions and owned as root just like all the other files that are setup the same way and DO actually run. What can I possibly be missing here? Thanks in advance, J -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e3774bcd-a46d-4c03-84ff-a27edae44502%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.