Ask Your Question
0

New puppet 4.4 installation do not see module

asked 2016-03-30 04:03:46 -0500

link0876 gravatar image

I have new puppet 4.4 installation on Debian 8.

I installed only 1 module - puppet module install puppetlabs-accounts

I created /etc/puppetlabs/code/environments/production/manifests/site.pp with the following contents:

node default {
include accounts
}

When running puppet agent --test --debug on client I receive the error

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Could not find class ::accounts for puppet-client.localdomain at /etc/puppetlabs/code/environments/production/manifests/site.pp:2:1 on node puppet-client.localdomain
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-30 15:09:27 -0500

YevgenyT gravatar image

If you look at the manifests directory of this module, you will find the is no init.pp and that's why Puppet cannot find "accounts" manifest. You can only use accounts::homedir, accounts::managekeys and accounts::user.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-03-30 04:03:46 -0500

Seen: 170 times

Last updated: Mar 30 '16