Commit ae5e910b authored by Adam DeConinck's avatar Adam DeConinck
Browse files

Slight role adjustments for running on newer RightScale images

parent 0beef7a7
[epel]
[epel6]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
......@@ -7,7 +7,7 @@ enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
[epel6-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
......@@ -16,7 +16,7 @@ enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
[epel6-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
......
......@@ -2,7 +2,6 @@
- name: install ganglia packages
yum: name={{ item }} state=present
with_items:
- ganglia
- ganglia-devel
- ganglia-gmetad
- ganglia-web
......@@ -18,3 +17,15 @@
- name: httpd is enabled and running for the web interface
when: enable_web_interface
service: name=httpd state=started enabled=yes
- name: ensure /var/lib/ganglia-web/dwoo/ is writable by web interface
when: enable_web_interface
file: path=/var/lib/ganglia-web/dwoo group=apache mode=0775
- name: ensure /var/lib/ganglia-web/dwoo/cache is writable by web interface
when: enable_web_interface
file: path=/var/lib/ganglia-web/dwoo/cache group=apache mode=0775
- name: ensure /var/lib/ganglia-web/dwoo/compiled is writable by web interface
when: enable_web_interface
file: path=/var/lib/ganglia-web/dwoo/compiled group=apache mode=0775
......@@ -2,7 +2,6 @@
- name: install gmond packages
yum: name={{ item }} state=present
with_items:
- ganglia
- ganglia-gmond
- ganglia-gmond-python
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment