Set SELinux options on the File (Folder) generated by pyvenv
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- devops
調査の方向性
Start at the python::pyvenv declaration and the generated file resource for /var/www/externalapi/venv. Trace how the existing venv_dir, owner, and recurse values reach that resource, then determine how seltype can be passed through without a duplicate file declaration. Done means the example applies the SELinux type through pyvenv without a redeclare error.
索引モデルが issue の本文から書いたものです。
説明
I'd like to be able to set the SELinux type on my virtualenv, but if I declare a second file directive to do this, I get a redeclare error on the next puppet run.
For example:
file {'externalapi_venv':
recurse => true,
path => '/var/www/externalapi/venv',
seltype => 'httpd_sys_content_rw_t',
}
python::pyvenv { '/var/www/externalapi' :
ensure => present,
version => '38',
systempkgs => true,
venv_dir => '/var/www/externalapi/venv',
owner => 'jkirsop',
require => Vcsrepo['/var/www/externalapi/code'],
}
I'm not aware of a way of setting the seltype in a 'clean' way other than doing so through the file class, and so having the ability to do this within the pyvenv class (and then have it filter down to the file class) seems like the most obvious way to me.
- 主要言語
- Ruby
- スター
- 196
- フォーク
- 371
- 平均マージ
- 5時間 54分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voxpupuli/puppet-python のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
voxpupuli/puppet-python#759 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
voxpupuli/puppet-python#743 · コメント 1 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
voxpupuli/puppet-python#721 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
voxpupuli/puppet-python#711 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
voxpupuli/puppet-python#673 · コメント 1 件 ·
voxpupuli/puppet-python の issue をすべて見る
似ている issue
-
dependencies Difficulty: Easy Good First Issue
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
rubyforgood/casa#7325 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
davidteren/mutineer#364 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信