cohdjn / cisecurity

Configures Linux systems to Center for Internet Security Linux hardening standard.
Apache License 2.0
9 stars 13 forks source link

When installing by puppet module install, the dependencies are broken. #6

Open 2hat-erlon opened 6 years ago

2hat-erlon commented 6 years ago

root@puppet:/etc/puppetlabs/code/environments/devops_testing/modules# puppet module install cohdjn-cisecurity --version 0.7.1 --environment devops_testing Notice: Preparing to install into /etc/puppetlabs/code/environments/devops_testing/modules ... Notice: Downloading from https://forgeapi.puppet.com ... Error: Could not install module 'cohdjn-cisecurity' (???) No version of 'cohdjn-cisecurity' can satisfy all dependencies Use puppet module install --ignore-dependencies to install only this module

cohdjn commented 6 years ago

Please run puppet module list and put the output here.

2hat-erlon commented 6 years ago

puppet module list --environment devops_testing

/etc/puppetlabs/code/environments/devops_testing/modules ├── kemra102-auditd (v2.2.0) ├── puppetlabs-concat (v4.2.1) └── puppetlabs-stdlib (v4.25.1) /etc/puppetlabs/code/modules (no modules installed) /opt/puppetlabs/puppet/modules └── shamil-zabbix_reports (v0.3.0)

cohdjn commented 6 years ago

Please review the module dependency documentation and try installing them into your devops_testing environment first. Then try to install the cisecurity module.

zappy-shu commented 6 years ago

Had the same issue on my end. Walking through each individual dependency it appears to be caused by warrenpnz-aide though I couldn't tell you why. Trying to install warrenpnz-aide directly gets the same dependency error and even setting --ignore-dependencies fails.

zappy-shu commented 6 years ago

As an aside, the dependency from cisecurity to aide wants version 0.4.0->1.0.0 but the only versions of aide on the forge are 1.0.3 and 1.0.4

mpsspsnl commented 6 years ago

I also had this issue but I edited the metadata.json file of the aide module and altered the version to 0.9.9 which maybe not the best solution.