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

librarian (LoadError) #107

Closed
k32237h opened this issue Sep 28, 2017 · 7 comments
Closed

librarian (LoadError) #107

k32237h opened this issue Sep 28, 2017 · 7 comments

Comments

@k32237h
Copy link

k32237h commented Sep 28, 2017

Hey I am running into this issue have tried a couple of things but no luck. I made sure I followed all instructions as well. I am running Linux Mint 18.2 KDE.

when I run ruby secgen.rb run I get this response

/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- librarian (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /home/k32237h/SecGen/lib/output/project_files_creator.rb:6:in <top (required)>' from secgen.rb:9:in require_relative'
from secgen.rb:9:in `

'

Any help on this would be much appreciated.

Thank you.

@cliffe
Copy link
Owner

cliffe commented Sep 28, 2017

Try:
sudo gem install librarian-puppet librarianp

@k32237h
Copy link
Author

k32237h commented Sep 28, 2017

Thanks that started the create process then this showed up.

There are errors in the configuration of this machine. Please fix
the following errors and try again:

puppet provisioner:

  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_0701/puppet/storage_server/modules/unix_update
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_0701/puppet/storage_server/modules/apache
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_0701/puppet/storage_server/modules/moinmoin_195
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_0701/puppet/storage_server/modules/nmap
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_0701/puppet/storage_server/modules/setuid_nmap
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_0701/puppet/storage_server/modules/unrealirc

Error creating VMs, Exiting SecGen.

It creates the path up to the last folder but no files are in each of the last folders.

@cliffe
Copy link
Owner

cliffe commented Sep 28, 2017

Did you run "bundle install", when installing SecGen? Maybe try again.

@k32237h
Copy link
Author

k32237h commented Sep 29, 2017

Yeah I did, tried it again and no luck. I even tried deleting the folder and starting fresh and got a similar response

There are errors in the configuration of this machine. Please fix
the following errors and try again:

puppet provisioner:

  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_2352/puppet/storage_server/modules/unix_update
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_2352/puppet/storage_server/modules/apache
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_2352/puppet/storage_server/modules/moinmoin_195
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_2352/puppet/storage_server/modules/nmap
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_2352/puppet/storage_server/modules/setuid_nmap
  • The manifests path specified for Puppet does not exist: /home/k32237h/SecGen/projects/SecGen20170928_2352/puppet/storage_server/modules/samba

Error creating VMs, Exiting SecGen.

@cliffe
Copy link
Owner

cliffe commented Sep 29, 2017 via email

@k32237h
Copy link
Author

k32237h commented Sep 29, 2017

I reinstalled librarian-puppet and it worked!

Thanks again for all of your help!

@cliffe
Copy link
Owner

cliffe commented Sep 29, 2017

Great. Glad it's sorted. Have fun with SecGen!

@cliffe cliffe closed this as completed Sep 29, 2017
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

2 participants