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

including augeasproviders_pam doesnt include in catalog #16

Open
perfecto25 opened this issue Jul 20, 2016 · 1 comment
Open

including augeasproviders_pam doesnt include in catalog #16

perfecto25 opened this issue Jul 20, 2016 · 1 comment
Labels
invalid This doesn't seem right

Comments

@perfecto25
Copy link

perfecto25 commented Jul 20, 2016

in my init.pp

include augeasproviders_pam

pam { "(6.3.3) - Set cracklib limits in password-auth":
ensure => present,
service => 'password-auth',
type => 'password',
module => 'pam_cracklib.so',
arguments => ['try_first_pass','retry=3', 'minlen=14'],
}

output:

[root@rhel7 bin]# puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Could not find class ::augeasproviders_pam for rhel7 at /etc/puppetlabs/code/environments/production/modules/cis_rhel7/manifests/init.pp:14:3 on node rhel7
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

I restarted PE server after installing this module (PE 4.3)

@raphink
Copy link
Member

raphink commented Jul 21, 2016

There is no class augeasproviders_pam.

This module only provides a new native type and provider in Ruby, no Puppet code.

You can use the types without including anything.

@raphink raphink added the invalid This doesn't seem right label Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants