ソースを参照

rc.local added to linux formula - missing file

tags/2016.12
Jakub Pavlik 9年前
コミット
e41663a572
1個のファイルの変更15行の追加0行の削除
  1. +15
    -0
      linux/system/rc.sls

+ 15
- 0
linux/system/rc.sls ファイルの表示

@@ -0,0 +1,15 @@
{%- from "linux/map.jinja" import system with context %}
{%- if system.enabled %}

{%- if system.rc.local is defined %}

/etc/rc.local:
file.managed:
- user: root
- group: root
- mode: 755
- contents_pillar: linux:system:rc:local

{%- endif %}

{%- endif %}

読み込み中…
キャンセル
保存