Forge Home

box Module


9,517 latest version

1.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.4.0 (latest)
  • 0.3.0
  • 0.2.0
  • 0.1.0
released Apr 27th 2014
This version is compatible with:
  • Puppet Enterprise 2.7.x
  • Puppet 2.7.x
  • , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'rikih-box', '0.4.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add rikih-box
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install rikih-box --version 0.4.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



rikih/box — version 0.4.0 Apr 27th 2014 puppet module

Puppet Module to mount as network drive on Linux


  • Currently only tested for CentOS/RedHat 5.x/6.x, Ubuntu 12.x (precise), Debian 7.x (wheezy), Fedora 18
  • Only supported for single user only (root)

###How to use

Go to the puppet modules dir and clone the git repo

# cd /etc/puppet/modules

# git clone
Cloning into 'rikih-box'...
remote: Counting objects: 110, done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 110 (delta 46), reused 35 (delta 9)
Receiving objects: 100% (110/110), 14.42 KiB | 0 bytes/s, done.
Resolving deltas: 100% (46/46), done.
Checking connectivity... done

# vim /etc/puppet/manifests/site.pp

Change the site.pp

node "kiwi" {
        class {'box':
                mountpoint => "/mnt/",
                user       => "",
                pass       => "password",
                mounted    => "true",

Run puppet on the client and verify if directory is mounted

# puppet agent --test

# mount
/dev/vda1 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) on /mnt/ type davfs (rw,nosuid,noexec,nodev,_netdev)


Please log tickets and issues at our page or contact me at rikih dot gunawan at gmail dot com


No responsibility for any damages relating to its use. Use at your own risk.