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/selinux missing as requirement #95

Closed
ja391045 opened this issue May 2, 2018 · 1 comment
Closed

puppet/selinux missing as requirement #95

ja391045 opened this issue May 2, 2018 · 1 comment

Comments

@ja391045
Copy link

ja391045 commented May 2, 2018

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: PE 2018.1
  • Ruby: ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
  • Distribution: CentOS
  • Module version: 1.0.0

When doing something along the lines of:

squid::http_port { '3129':
   ssl => true, 
   options => 'cert=whatever.pem key=whatever.pem'
}

The catalog cannot compile due to missing selinux::port defined type.

Log:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'selinux::port' at /etc/puppetlabs/code/environments/sbja/modules/squid/manifests/http_port.pp:22:5 at /etc/puppetlabs/code/environments/sbja/modules/squid/manifests/config.pp:67 on node

Recommend adding puppet/selinux to metadata.json requirements.

@ralfbosz
Copy link
Contributor

ralfbosz commented May 4, 2018

Seems the facter "selinux" is a fact of Puppet and not (like I assumed) a fact from puppet/selinux.

maybe a requirement is in place, the problem is that this requirement is only for the RedHat-family, since puppet/selinux only works on these systems...

traylenator added a commit that referenced this issue May 15, 2018
Fixes #95 adds declare puppet-selinux dep
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

2 participants