Skip to content

Commit 8240de1

Browse files
author
Chris Kacerguis
committed
Update attributes
1 parent 0f3f3d1 commit 8240de1

2 files changed

Lines changed: 18 additions & 14 deletions

File tree

attributes/default.rb

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
#General Attributes for ManageIQ cookbook
2-
#DB user definition
1+
# General Attributes for ManageIQ cookbook
2+
# DB user definition
33
default["manageiq"]["db_username"] = "evm"
44
default['manageiq']['db_password'] = "P@$$1234"
5-
#URL for manageiq code repo
5+
6+
# URL for manageiq code repo
67
default['manageiq']['code_repo'] = "https://github.com/mandeep170/manageiq"
8+
79
#RVM setup for miqbuilder
810
default['rvm']['user_installs'] = [
911
{ 'user' => 'miqbuilder'
1012
}
1113
]
12-
#Automate Code Attributes
13-
default['manageiq']['automate_code_url'] = "https://s3.amazonaws.com/dpi-releases/domains20141020.tar.gz"
14-
default['manageiq']['automate_code_domain'] = "BAH"
15-
#Postgresql Attributes
14+
15+
# Automate Code Attributes
16+
# default['manageiq']['automate_code_url'] = "https://s3.amazonaws.com/dpi-releases/domains20141020.tar.gz"
17+
# default['manageiq']['automate_code_domain'] = "BAH"
18+
19+
# PostgreSQL Attributes
1620
default['postgresql']['password']['postgres'] = node['manageiq']['db_password']
1721
default["postgresql"]["pg_hba"] = [{ type: 'local', db: 'all', user: 'all', addr: '', method: 'trust'},
1822
{ type: 'host', db: 'all', user: 'all', addr: '127.0.0.1/32 ', method: 'trust'}]

recipes/default.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@
222222
end
223223

224224
#Import BAH Miq Automate Code
225-
rvm_shell "miq vmdb rake evm automate import BAH code" do
226-
ruby_string "1.9.3"
227-
user "miqbuilder"
228-
group "miqbuilder"
229-
cwd "/opt/manageiq/vmdb"
230-
code %{bin/rake evm:automate:import DOMAIN=BAH IMPORT_DIR=/tmp/domains PREVIEW=false IMPORT_AS=BAH}
231-
end
225+
#rvm_shell "miq vmdb rake evm automate import BAH code" do
226+
# ruby_string "1.9.3"
227+
# user "miqbuilder"
228+
# group "miqbuilder"
229+
# cwd "/opt/manageiq/vmdb"
230+
# code %{bin/rake evm:automate:import DOMAIN=BAH IMPORT_DIR=/tmp/domains PREVIEW=false IMPORT_AS=BAH}
231+
#end
232232

233233
# Setup IPTABLES to allow access via web
234234
iptables_rule "manageiq"

0 commit comments

Comments
 (0)