Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to create a set of users on my AIX node and trying to get their authorized_keys which are already hosted on my server with name like, ''. Currently i am managing 2 nodes (1. SLES 2. AIX). I defined the 'source' file paths in 2 separate contexts in fileserver.conf;

[AIX] path myfiles/users/ssh/ allow * [SLES] path myfiles/users/keys/ssh/ allow *

but when I run puppet then it ended successfully on my SLES node but encountered failure on AIX; with following err;

/* Could not describe /AIX/ Fileserver module 'AIX' not mounted*/

in my code i have defined the 'source' with $filserver variable as:

case $operatingsystem { "AIX": { $fileserver = "AIX" } default: { $fileserver = "SLES" } }

file { "${home}/${username}/.ssh/authorized_keys": source => "puppet:///$fileserver/${username}", ... ... }

why AIX is not able to get the source path from my fileserver.conf while SLES is running absolutely fine? and how can I do it? I have to run similar configuration across different servers so I can only deal it with case statement.

looking forward for your help


share|improve this question

I think the reason in this case may be that you have an extra '/' in the source definition, which according to docs must conform to:


the triple '/' tells puppet to use the puppetmaster or default server, which in your case triggers a search for


However the puppet docs are confusing to me, and I don't know if the client or server is looking for a /AIX mountpoint...

Anyway try without the 3-'/'.

share|improve this answer

I'm not sure what it's not working, but I would suggest using a single path exposed by the fileserver module, and just putting everything inside that.

One possibility could be a module named AIX shadowing the fileserver mount.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.