Version information
released Apr 27th 2014
This version is compatible with:
- Puppet Enterprise 2.7.x
- Puppet 2.7.x
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'rikih-box', '0.4.0'
Learn more about managing modules with a PuppetfileDocumentation
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.
The MIT License (MIT) Copyright (c) 2014 rikihg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.