Giter VIP home page Giter VIP logo

puppet-selinux_types's People

Contributors

blentz avatar jgoldschrafe avatar nagas avatar tremble avatar

Watchers

 avatar

Forkers

tremble

puppet-selinux_types's Issues

symbolic link not working

I may be doing it wrong, but I can't seem to get the symlink filetype working with your fcontext type.

Given the code below:

selinux_fcontext { '/var/lib/nfs':
ensure => present,
filetype => 'symbolic link',
seluser => 'system_u',
seltype => 'var_lib_nfs_t',
notify => Exec['run restorecon for /var/lib/nfs'],
}

I get the following error:

Error: /Stage[main]/Testmodule/Selinux_fcontext[/var/lib/nfs]: Could not evaluate: undefined method `[]' for nil:NilClass

I've tried with filetype => '-l' with the same result.

If I remove the filetype param entirely, it applies correctly.

semanage port already defined

The first puppet client run was successful. But the next prompted that error :
Error: Execution of '/usr/sbin/semanage port -a -t http_port_t -p tcp 8080-8085' returned 1:
Error: /Stage[main]/Selinux_rundeck_client/Selinux_port[tcp/8080-8085]/ensure: change from absent to present failed: Execution of '/usr/sbin/semanage port -a -t http_port_t -p tcp 8080-8085' returned 1:

I run it manually :
root@~]# /usr/sbin/semanage port -a -t http_port_t -p tcp 8080-8085
/usr/sbin/semanage: Port tcp/8080-8085 already defined

Ensure absent not working

Hi Brett,

Found out your module, because needed a way to manage selinux ports within puppet. Adding ports works flawless, but removing (ensure absent) port definitions are being ignored. There are no errors or what so ever.

Would be cool if this could be managed to ๐Ÿ‘

Greetings,
Rodehoed

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.