Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

puppet-autofs #39

Closed
jimezdoesit opened this issue Apr 10, 2017 · 1 comment
Closed

puppet-autofs #39

jimezdoesit opened this issue Apr 10, 2017 · 1 comment

Comments

@jimezdoesit
Copy link

jimezdoesit commented Apr 10, 2017

On a new install of CentOS 7.3.1611 I get the below error using your example for just a simple home setup. It works on Ubuntu but not RedHat/CentOS. I think the module is good cause it gives flexibility with using a define type and adding additional mounts.

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Invalid relationship: Concat[/etc/auto.master] { notify => Service[autofs] }, because Service[autofs] doesn't seem to be in the catalog.

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet:
  • Ruby:
  • Distribution:
  • Module version:

How to reproduce (e.g Puppet code you use)

autofs::mount { 'home':
mount => '/home',
mapfile => '/etc/auto.home',
mapcontents => ['* -fstype=nfs nfs_server:/path/to/home/shares'],
options => '--timeout=120',
order => 01
}

What are you seeing

autofs does not install no files get configured.

What behaviour did you expect instead

Should work just like Ubuntu.

Output log

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Invalid relationship: Concat[/etc/auto.master] { notify => Service[autofs] }, because Service[autofs] doesn't seem to be in the catalog.

Any additional information you'd like to impart

@jimezdoesit
Copy link
Author

The autofs module is working now. I added class { 'autofs': } above your example for the home and it is now working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant