librarian-puppet not recognizing new modules in Puppetfile

asked 2013-06-14 21:43:52 -0500

BaltoStar gravatar image

updated 2013-06-16 23:39:56 -0500

Ancillas gravatar image

Puppet Agent for Windows

gem install librarian-puppet

librarian-puppet init

modify Puppetfile to add module maps

librarian-puppet install

all modules show up as expected in /modules

modify Puppetfile to add 2 new modules

librarian-puppet install

2 new modules don't show up in /modules

librarian-puppet install --clean

2 new modules still don't show up

however, if i start over from scratch ( delete local repo and pull from github, init & install librarian-puppet , add modules to Puppetfile - including the 2 new modules ) then /modules contains all modules as expected

here is a sample of my Puppetfile :

forge "http://forge.puppetlabs.com"

mod ...
(more)
edit retag flag offensive close merge delete

Comments

1

Post your Puppetfile.

Ancillas gravatar imageAncillas ( 2013-06-15 10:35:17 -0500 )edit

Do your modules have valid Modulefile files?

Ancillas gravatar imageAncillas ( 2013-06-15 23:59:44 -0500 )edit

none of my modules have Modulefile files. my understanding is that Modulefiles are only relevant when publishing modules to Puppet Forge. are Modulefiles necessary for Librarian-puppet to function correctly ?

BaltoStar gravatar imageBaltoStar ( 2013-06-16 19:57:39 -0500 )edit

another strange behavior is that when running "puppet apply" it fails to find any types defined in myotherrepo - even though the module is present under /modules

BaltoStar gravatar imageBaltoStar ( 2013-06-16 20:17:11 -0500 )edit

Don't you have to specify a :git parameter instead of just :path? I thought :path was the subdirectory of the git module to use for instances where someone is ...(more)

Ancillas gravatar imageAncillas ( 2013-06-16 23:44:25 -0500 )edit