Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
52402ef7
authored
Aug 06, 2015
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'redhat' into multinode
parents
46d9f043
d3c0d816
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
+15
-10
README.md
+2
-5
pillar/firewall.sls
+1
-1
pillar/manager.sls
+1
-1
salt/vmdriver/files/vmdriver.te
+10
-1
salt/vmdriver/libvirt.sls
+1
-2
No files found.
README.md
View file @
52402ef7
# C
ircle
Project - Salt Installer
# C
IRCLE
Project - Salt Installer
## OS Support
## OS Support
...
@@ -6,11 +6,8 @@
...
@@ -6,11 +6,8 @@
*
Red Hat Enterprise Linux 7+
*
Red Hat Enterprise Linux 7+
*
Cent OS 7+
*
Cent OS 7+
*
Scientific Linux 7+
*
Scientific Linux 7+
*
Oracle Linux 7+ --> work in progress
*
Debian Linux family:
*
Debian Linux family:
*
Debian linux 8+ --> work in progress
*
Ubuntu linux 14.04 LTS
*
Ubuntu linux 14.04 LTS
*
Ubuntu linux 15.04+ --> work in progress
## Prerequisites
## Prerequisites
...
@@ -208,7 +205,7 @@ Finally, we can run the machine. Click on 'deploy' and start it. You can choose,
...
@@ -208,7 +205,7 @@ Finally, we can run the machine. Click on 'deploy' and start it. You can choose,
## Troubleshooting ##
## Troubleshooting ##
### Portal wont loaded
### Portal won
'
t loaded
Maybe port 443 closed. Check and open it.
Maybe port 443 closed. Check and open it.
### Portal wont loaded on Ubuntu 14.04
### Portal wont loaded on Ubuntu 14.04
...
...
pillar/firewall.sls
View file @
52402ef7
fwdriver:
fwdriver:
repo_name: https://git.ik.bme.hu/circle/fwdriver.git
repo_name: https://git.ik.bme.hu/circle/fwdriver.git
repo_revision:
systemd_feature
repo_revision:
master
user: fw
user: fw
...
...
pillar/manager.sls
View file @
52402ef7
manager:
manager:
repo_name: https://git.ik.bme.hu/circle/cloud.git
repo_name: https://git.ik.bme.hu/circle/cloud.git
repo_revision:
synchronous_reload
repo_revision:
master
salt/vmdriver/files/vmdriver.te
View file @
52402ef7
module vmdriver 1.
0
;
module vmdriver 1.
1
;
require {
require {
type virt_var_lib_t;
type virt_var_lib_t;
type svirt_tcg_t;
type svirt_tcg_t;
type svirt_t;
type default_t;
class sock_file { create unlink };
class sock_file { create unlink };
class dir { write remove_name add_name };
class dir { write remove_name add_name };
class lnk_file read;
}
}
#============= svirt_tcg_t ==============
#============= svirt_tcg_t ==============
allow svirt_tcg_t virt_var_lib_t:dir { write remove_name add_name };
allow svirt_tcg_t virt_var_lib_t:dir { write remove_name add_name };
allow svirt_tcg_t virt_var_lib_t:sock_file { create unlink };
allow svirt_tcg_t virt_var_lib_t:sock_file { create unlink };
#============= svirt_t ==============
allow svirt_t virt_var_lib_t:dir { write add_name };
allow svirt_t virt_var_lib_t:sock_file create;
allow svirt_t default_t:lnk_file read;
salt/vmdriver/libvirt.sls
View file @
52402ef7
...
@@ -23,7 +23,7 @@ libvirt-bin:
...
@@ -23,7 +23,7 @@ libvirt-bin:
service:
service:
- running
- running
- watch:
- watch:
- file: /etc/default/libvirt-bin
- file: /etc/default/libvirt-bin
- augeas: libvirtconf
- augeas: libvirtconf
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
- file: /etc/sysconfig/libvirtd
- file: /etc/sysconfig/libvirtd
...
@@ -125,4 +125,3 @@ open_libvirt_ports:
...
@@ -125,4 +125,3 @@ open_libvirt_ports:
- text: LIBVIRTD_ARGS="--listen"
- text: LIBVIRTD_ARGS="--listen"
{% endif %}
{% endif %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment