thehyve/puppet-afp

Name: puppet-afp

Owner: The Hyve

Description: https://forge.puppetlabs.com/swizzley88/afp

Forked from: swizzley/puppet-afp

Created: 2015-06-19 08:40:40.0

Updated: 2015-06-19 08:40:40.0

Pushed: 2015-02-26 21:35:46.0

Homepage:

Size: 152

Language: Puppet

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

afp

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Requirements
  6. Compatibility
  7. Limitations
  8. Development
Overview

This is the afp module. It configures POSIX compatibility for the apple filing protocol “Appletalk” (afp://)

Module Description

This module is derived from swizzley88-timecapsule to configure your linux host for mac file sharing. By default, if the user or group you're logged in as on your Mac exists on the afp server, a share will be available.

Setup

You can configure the user, group, password, and as many shares as you want, so long as the absolute paths exist, and for the preconfigured user 'afp', it will.

s afp::params{

ser = 'afp'
assword = 'zo2Ps8mHNzFmY' #this equals "afp" 
roup = 'afp'

comment out & or modify the volumes hash below as you wish.
these are intended only to be working examples
olumes = {
'mnt'    => {
  volume => '/mnt',
  name   => 'Mountdir',
}
,
'users'  => {
  volume => '/home/$u',
  name   => 'Homedir for $u',
}
,
'groups' => {
  volume => '/home/$g',
  name   => 'Groupdir for $g',
}
,
'home'   => {
  volume => '/home',
  name   => 'Homedir',
}
,


Presumptions
  1. You cannot use the swizzley88-timecapsule module in conjuction with this one.
  2. You probably already have the same user on your Mac as on your afp server, in this case, configuration is taken care of by the $volume['users'] value.
Credentials

Credentials are not required, but if you wish to require them, simply modify the AppleVolumes.default.erb options and reference http://netatalk.sourceforge.net/2.0/htmldocs/AppleVolumes.default.5.html for proper values and syntax If you simply wish to use 'afp' you can connect from any capable OS using the preconfigured credentials. In order to set your default password hash to be managed, use the following command:

ssl passwd -crypt "secretPassword"
Usage
Server
ude afp
Client

Open up finder and click the hostname of your server, click 'Connect As' from the upper right hand corner if your logged in user differs from $user

Considerations

If you use a spacewalk or satellite server for package management, or just plain don't want to enable the whole repo because you want to download and install the requirements manually for some reason, then just disable the $use_epel in params.

s afp::params{
se_epel = true

Requirements

puppetlabs/stdlib >= 4.2.0

puppetlabs/firewall >= 1.1.3

Compatibility
Limitations

This module has been tested on:

Server:

Client:

This module should work on:

Server:

Client:

Development

Any updates or contibutions are welcome.

Report any issues with current release, as any input will be considered valuable.

TODO Contact

Email: morgan@aspendenver.org

WWW: www.aspendenver.org

Github: https://github.com/swizzley


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.