Librarian is a framework for writing bundlers, which are tools that resolve, fetch, install, and isolate a project's dependencies, in Ruby.
Questions tagged [librarian]
19 questions
4
votes
1 answer
Is there a "list all files" procedure in scheme?
Is there a racket/scheme procedure that returns a list (or vector) of the names of all user accesible files?
The output needs to be a list or vector for applying a "filter", like so:
(filter pred list-of-all-files)
The intended application is a…

Flowerfist.rkt
- 41
- 8
4
votes
1 answer
puppet error: Could not find class apt
When issuing the vagrant up command, I get an error like this:
Could not find class apt for precise64.inglewood.ca.us at at /tmp/vagrant-puppet-3/manifests/default.pp:19 on node precise64.inglewood.ca.us`
Line 19 of default.pp contains:
include…

SamLosAngeles
- 2,660
- 2
- 14
- 12
4
votes
2 answers
How to update Puppetfile to API URL v3?
I use Vagrant with Puppet. My Puppetfile looks like this:
forge "http://forge.puppetlabs.com"
mod 'willdurand/nodejs'
# ...
I use librarian-puppet v1.1.2 to download necessary dependencies for Puppet. Recenlty the tool started to display warnings…

fracz
- 20,536
- 18
- 103
- 149
3
votes
2 answers
Unable to install librarian-chef cookbooks on Windows 7
I am trying to install librarian-chef cookbooks at the Windows prompt. I have already installed librarian-chef using gem install librarian-chef. However I am getting this error:
C:\Users\crmpicco\Documents\vagrant-chef-deploy>librarian-chef…

crmpicco
- 16,605
- 26
- 134
- 210
3
votes
1 answer
Using librarian-puppet inside a Vagrant box - why does puppetlabs/mysql fail to install?
I'm running into a problem installing puppetlabs/mysql via librarian-puppet within a Vagrant virtual machine. Following a ton of conversation, it seemed as if the most likely issue was that VirtualBox was not allowing symlinks inside the shared…

Chris Tonkinson
- 13,823
- 14
- 58
- 90
2
votes
2 answers
Vagrant & Chef: uninitialized constant Chef::Resource::LWRPBase
I get this error when i try to run "vagrant provision":
Running chef-solo...
stdin: is not a tty
[2014-05-15T12:21:41+00:00] INFO: *** Chef 10.14.2 ***
[2014-05-15T12:21:41+00:00] INFO: Setting the run_list to ["recipe[apt]",…

mrks
- 5,439
- 11
- 52
- 74
1
vote
2 answers
Understanding Chef's runlist order
I am learning chef and so far I understood that it is best to have all opscode cookbooks in the cookbooks directory and all my customizations in site-cookbooks. This way I can mirror for example the apt cookbook in site-cookbooks and and change the…

FitzPatrick
- 175
- 10
1
vote
1 answer
Bash script if statement with multiple conditions
I'm trying to create a simple bash shell script provisioner for a vagrant puppet dev env which checks that /tmp/puppet-modules-up-to-date exists and was created within a certain timeframe, 14 days to be precise. I'm struggling to progress with this…

Agent Rich
- 57
- 6
1
vote
2 answers
Error installing cookbook with Vagrant and librarian-chef-nochef plugin
I'm using Vagrant with librarian-chef-nochef plugin on Windows host. It works fine until I add a cookbook with "git" option to my Cheffile. Like this:
# Cheffile
site "http://community.opscode.com/api/v1"
cookbook "apt"
cookbook "nginx"
cookbook…

silentvick
- 41
- 5
1
vote
2 answers
AWS, OpsWorks and Chef dependencies: what's the cleanest solution?
I've got a Chef project that, locally with Vagrant, works really nicely. I'm using librarian-chef, which means I can specify my dependencies in a Cheffile like this:
site 'http://community.opscode.com/api/v1'
cookbook 'jenkins'
When I then run…

Sam Starling
- 5,298
- 3
- 35
- 52
0
votes
1 answer
Librarian Chef and Local Chef Server
We are trying to use Librarian Chef with a local corporate chef server. This Chef Server Requires Authentication and is running version 12. When attempting to use Librarian Chef with this Server, It appears that it will not authenticate. I get a…
user2932053
0
votes
0 answers
error with vagrant up librarian git chef
I'm trying to bring up a new vagrant instance using vagrant-librarian-chef-nochef but I'm hitting a "fatal: ambiguous argument '5.x'"
I still have the previously built version of this vagrant setup else where on my computer that was have been…
0
votes
0 answers
run a .py app on apache with apache wsgi
I'm a librarian from school. I'm trying to understand how to set up a .py app on apache which using wsgi.
I found a tool called "Majax2", it is a tool that help the library to scrape some standard format from the library catalog and display it on…

Webster H.
- 35
- 1
- 11
0
votes
1 answer
knife solo is removing cooklbook/docker/recipes/ folder - Docker provisioning with Chef
I am trying to provisione Docker containers with Chef, I am using knife solo and librarian-chef.
I get docker cookbook and create a test recipe, but when execute knife solo bootstrap nodo@192.168.150.78 return
Enter the password for…

aslheyrr
- 372
- 1
- 4
- 15
0
votes
1 answer
Vagrant installation librarian-chef command error No such file or directory @ rb_sysopen
I am trying to install vagrant. When I am trying to run a command librarian-chef install I am facing an Error. I am pasting the error below.
/home/saiteja/.rvm/gems/ruby-2.2.3/gems/librarian-0.1.2/lib/librarian/dsl/receiver.rb:29:in `read': No such…

mRbOneS
- 121
- 1
- 14