Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"vagrant up" fails with "Could not find declared class..." message #12

Open
jbenn313 opened this issue May 2, 2019 · 0 comments
Open

Comments

@jbenn313
Copy link

jbenn313 commented May 2, 2019

To recreate the problem:=

  1. Follow the installation/setup instructions
  2. Run setup/setup.rb and specify the parameters shown in parameters.json
  3. Run "vagrant up"

Expected results:
4. The AEM and Dispatcher instances are up and running on Vagrant/VirtualBox

Actual results:
4. "vagrant up" terminates with 'Could not find declared class..." message. See 'vagrant up' failure.txt or below...

default: Installed:
default:   puppet-agent.x86_64 0:1.10.14-1.el7                                           
default: Complete!
default: Successfully installed thor-0.20.3
default: Successfully installed librarianp-0.6.4
default: Successfully installed rsync-1.0.9
default: Successfully installed multipart-post-2.0.0
default: Successfully installed faraday-0.13.1
default: Successfully installed faraday_middleware-0.12.2
default: Successfully installed semantic_puppet-1.0.2
default: The `minitar` executable is no longer bundled with `minitar`. If you are
default: expecting this executable, make sure you also install `minitar-cli`.
default: Successfully installed minitar-0.8
default: Successfully installed locale-2.1.2
default: Successfully installed text-1.3.1
default: Successfully installed gettext-3.2.9
default: Successfully installed fast_gettext-1.1.2
default: Successfully installed gettext-setup-0.30
default: Successfully installed puppet_forge-2.2.9
default: Successfully installed librarian-puppet-3.0.0
default: 15 gems installed
default: Puppet VM Provisioning: Installing puppet modules.
default: Error executing puppet module install. Check that this command succeeds:
default: puppet module install --version 5.2.0 --target-dir /vagrant/puppet/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/5.2.0 --module_repository https://forgeapi.puppetlabs.com --modulepath /vagrant/puppet/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/5.2.0 --module_working_dir /vagrant/puppet/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/5.2.0 --ignore-dependencies puppetlabs-stdlib
default: Error:
default: Error: Operation not permitted @ dir_initialize - /vagrant/puppet/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/5.2.0/cache/puppetlabs-stdlib20190502-16312-2bhxry/types
default: Error: Try 'puppet help module install' for usage
default: Finished basic VM Provisioning.

==> default: Running provisioner: puppet...
==> default: Running Puppet with environment local...
==> default: Error: Evaluation Error: Error while evaluating a Resource Statement, Could not find declared class apache at /tmp/vagrant-puppet/environments/local/manifests/site.pp:33:1 on node vagrant.aem
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant