Forge Home

box

Box.com Module

10,500 downloads

9,772 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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.

Download

Documentation

rikih/box — version 0.4.0 Apr 27th 2014

##Box.com puppet module

Puppet Module to mount Box.com as network drive on Linux

###Limitation

  • 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 https://github.com/rikihg/rikih-box.git
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/box.com",
                user       => "user@domain.com",
                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)
https://dav.box.com/dav on /mnt/box.com type davfs (rw,nosuid,noexec,nodev,_netdev)

Help

Please log tickets and issues at our page https://github.com/rikihg/rikih-simple_jail_user/issues or contact me at rikih dot gunawan at gmail dot com

Note

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