Skip to content
This repository was archived by the owner on Mar 7, 2020. It is now read-only.
This repository was archived by the owner on Mar 7, 2020. It is now read-only.

vagrant site-library permissions and r::package timeouts #5

@alexwoolford

Description

@alexwoolford

I'm using puppet-r with Vagrant. It was necessary to make a couple of tweaks to get things working:

Firstly, in Ubuntu 14.04, the /usr/local/lib/R/site-library has permissions:

drwxrwsr-x  root staff

Vagrant creates the user vagrant which doesn't belong to the staff group and therefore can't write to the site-library folder. I added the user vagrant to the staff group:

user { 'vagrant':
  groups => ["vagrant", "staff"]
}

Secondly, one of my favorite packages, dplyr, takes a while to build in a gutless VM. This causes timeouts. I extended the timeout period in package.pp by adding the following line to the exec command:

timeout => 600,

I thought I'd share in case someone else encounters the same issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions