box Module

Rikih Gunawan



8,771 latest version

1.1 quality score

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
  • RedHat

Start using this module


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.