sls/gentoo: openrc moved to sls/openrc;

sls/openrc: splitted to multiple states;
This commit is contained in:
Antsiferov Grigory 2016-05-24 16:30:23 +03:00
parent 9c71ab2c9a
commit f705dfa75d
4 changed files with 11 additions and 7 deletions

View File

@ -2,6 +2,5 @@
include:
- gentoo.portage
- gentoo.profile
- gentoo.openrc
- gentoo.makeconf

View File

@ -1,9 +1,8 @@
# -*- mode: yaml -*-
openrc:
pkg.latest:
- name: sys-apps/openrc
cmd.run:
- name: rc
include:
- cron
- openrc
openrc_rc_cron_job:
cron.present:
- identifier: rc
- name: "/sbin/rc"

2
sls/openrc/init.sls Normal file
View File

@ -0,0 +1,2 @@
include:
- openrc.pkg

4
sls/openrc/pkg.sls Normal file
View File

@ -0,0 +1,4 @@
openrc:
pkg.latest:
- pkgs:
- sys-apps/openrc