Opened 6 years ago

Closed 6 years ago

#6313 closed Feature/Enhancement Request (fixed)

Add package dependencies for common ikiwiki plugins to standard mosh puppet config

Reported by: Owned by:
Priority: Low Component: Tech
Keywords: ikiwiki Cc:
Sensitive: no


I'm trying to install an Ikiwiki site, and was trying to do a clean setup following the guide for running a local copy on your laptop, and the setup instructions. If you want to use the blog setup, you're supposed to run,

0 nat@marx:~$ ikiwiki --setup /etc/ikiwiki/auto-blog.setup

Which starts fine, but some of the plugins I want won't work because of unmet dependencies.

** Disabling plugin blogspam, since it is failing with this message:
Can't locate RPC/ in @INC (@INC contains: /home/members/nat/sites/ /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 520) line 2.
BEGIN failed--compilation aborted at (eval 520) line 2.

Can't locate Date/ in @INC (@INC contains: /home/members/nat/sites/ /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 114) line 2.
BEGIN failed--compilation aborted at (eval 114) line 2.

/etc/ikiwiki/auto-blog.setup: ikiwiki --refresh --setup /home/members/nat/sites/ failed at /usr/share/perl5/IkiWiki/Setup/ line 150.

The dependencies are librpc-xml-perl and python-docutils.

Since we're offering Ikiwiki on all moshes, perhaps we should add librpc-xml-perl and python-docutils so that blogspam module can work for everyone running Ikiwiki.

I will probably install these by hand on marx, so I can continue what I was working on,


Change History (10)

comment:1 Changed 6 years ago by

  • Owner set to
  • Priority changed from Medium to Low
  • Status changed from new to assigned

I went ahead and shaved the yak. I added librpc-xml-perl, python-docutils to the mosh_packages array in the mosh.pp. While I was at it I added libhighlight-perl as well, so that code snips can be highlighted.

I pushed the commit, the commit id is:


I'm assigning this to Jamie for review; this change can wait for a more important tag, since I will just go ahead and install them on marx to keep going.

comment:2 Changed 6 years ago by

  • Summary changed from Add librpc-xml-perl and python-docutils packages to standard mosh puppet configs to Add package dependencies for common ikiwiki plugins to standard mosh puppet config

And it goes on. I realized I also need libtimedate-perl, which might be useful for everyone. That is added as well with commit:


comment:3 Changed 6 years ago by

Thanks Nat - out of curiosity, why does it depend on a python package? I would have expected all perl packages?


comment:4 Changed 6 years ago by

I'm not sure why it needs a python package, I was just following instructions that I got it from the ikiwiki setup page, particularly:

Or, set up a blog with ikiwiki, run this command instead.

% ikiwiki --setup /etc/ikiwiki/auto-blog.setup

librpc-xml-perl and python-docutils dependencies are needed.


comment:5 Changed 6 years ago by

it seems to have something to do with the restructured text plugin and certain versions of debian.

comment:6 Changed 6 years ago by

...And there are still more. I just installed libcgi-formbuilder-perl, and libcgi-session-perl packages on marx by hand since the ikiwik.cgi-script seems to depend on them.

Also, before I did this, I checked and saw that these were installed on chavez where Jamie runs his Ikiwiki site, and I'm guessing that's why they're there.

The base Ikiwki install seems to be working for me, once I modified the .setup file to point to the right directories, and a couple of other tweaks.

I will add these packages to the puppet config later.

I think that this ticket now contains a base list of packages that will cover a really wide range of Ikiwiki use cases.

Installing Ikiwiki will still be a hassle until #6324 is resolved, but at least it will be editing the setup file and cleaning up the default file's mess.


comment:7 Changed 6 years ago by

Okay. One more, perlmagick. That's for the img plugin which is part of goodstuff, which is part of ikiwki. Its ImageMagick support libs for perl.

This one is not in use on chavez.


comment:8 Changed 6 years ago by

  • Resolution set to fixed
  • Status changed from assigned to closed

I ended up breaking out Ikiwiki into its own puppet module. All of these packages are included there.

The relevant commit (that resolves this task, but not #6324), is:


Whenever that ends up on all the servers, all the dependencies will be met. Since this work is anticipation of more Ikiwiki use, I'm going to close this issue (even though these changes are not on all the mosh servers).


comment:9 Changed 6 years ago by

  • Resolution fixed deleted
  • Status changed from closed to assigned

Found one more package that I think is absolutely vital.

libnet-openid-consumer-perl is the perl library that allows OpenID login to actually work on ikiwiki sites. I installed the package by hand on marx, and will add it to the puppet module.

Leaving open until I get that change pushed.


comment:10 Changed 6 years ago by

  • Resolution set to fixed
  • Status changed from assigned to closed

I added libnet-openid-consumer-perl to the puppet module. The changes are pushed to the puppet master.

The relevant commit is:



Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.