Figured this out.. It was a mis-spelling in the nodes.pp file. But it
was also an error in the file class file it's self. I had some single
quotes around the username and group that shouldh't haven't been there..
Incredibly stupid.. :/
On Sunday, September 28, 2014 4:31:41 PM UTC-5, omfg9899 wrote:
>
> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/3e61bb8f-1773-4af9-9807-fb2e4305c955%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.