Giter Club home page Giter Club logo

cisecurity's People

Contributors

cohdjn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cisecurity's Issues

CentOS not supported

hey,

one of the problems is the hiera.yaml

is: path: 'os/%{facts.os.name}%{facts.os.release.major}.yaml'

should be: path: 'os/%{facts.os.family}%{facts.os.release.major}.yaml'

the other issue is that facts.d/cisecurity relies on the subscription manager to be installed.

after this, is stopped testing.

Kind regards,

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

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

puppet 5 compatibility

The module is only compatible with puppet >= 4.7.0 < 5.0.0 but the only available versions of puppet I can find in any yum repository is 3.x (epel repo) or 5.x (puppet labs repo).

Looking at the code I can see it's clearly not compatible with 3.x so I installed puppet 5.3.3 to give it a try. The following is the output when following the installation instructions from the forge.

puppet module install cohdjn-cisecurity --version 0.6.5
Notice: Preparing to install into /etc/puppetlabs/code/environments/production/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

Any ETA on when this can be puppet 5 compatible?

Two or more users for sshd_allowed_users

I have tried several possibilities to specify two or more users for the sshd_allowed_users parameter in RedHat7.yaml.
For example:
cisecurity::redhat7::services::sshd_allowed_users:
- 'user1'
- 'user2'
Or:
cisecurity::redhat7::services::sshd_allowed_users: ['user1', 'user2']

But each time I get this error:

Notice: /Stage[main]/Cisecurity::Redhat7::Services/Sshd_config[AllowUsers]/value: value changed ['user1'] to 'user1 user2'
Debug: Puppet::Type::Sshd_config::ProviderAugeas: Save failure details:
/augeas/files/etc/ssh/sshd_config/error/path = /files/etc/ssh/sshd_config/AllowUsers
/augeas/files/etc/ssh/sshd_config/error/lens = /opt/puppetlabs/puppet/share/augeas/lenses/dist/sshd.aug:84.7-.46:
/augeas/files/etc/ssh/sshd_config/error/message = Failed to match

{ /[0123456789]+/ = /[^\001-\004\t\n ]+/ }*
with tree
{ "1" = "user1 user2" }
Error: /Stage[main]/Cisecurity::Redhat7::Services/Sshd_config[AllowUsers]: Could not evaluate: Failed to save Augeas tree to file. See debug logs for details.

If have tested with only augeasproviders_ssh and there is no problem specifying more users.
What am I doing wrong?

puppet --version
4.10.9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.