Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dhcp
puppet-xnat
Commits
99441a8a
Commit
99441a8a
authored
Mar 23, 2015
by
Jonathan Passerat-Palmbach
Browse files
Refactor dependencies installation
parent
af0715be
Changes
1
Hide whitespace changes
Inline
Side-by-side
install_dependencies.sh
View file @
99441a8a
puppet module
install
puppetlabs-ruby
puppet module
install
jgoettsch/mercurial
puppet module
install
puppetlabs/apache
puppet module
install
puppetlabs/postgresql
puppet module
install
puppetlabs/rsync
puppet module
install
maestrodev/wget
puppet module
install
glarizza-pick
puppet module
install
camptocamp-archive
puppet module
install
puppetlabs-java
puppet module
install
stahnma-epel
#!/bin/bash
MODULES_TO_INSTALL
=
"puppetlabs-ruby jgoettsch-mercurial puppetlabs-postgresql puppetlabs-rsync maestrodev-wget camptocamp-archive puppetlabs-java stahnma-epel jfryman-nginx"
MODULES_INSTALLED
=
`
puppet module list
`
for
i
in
${
MODULES_TO_INSTALL
}
;
do
# only install module if needed
echo
${
MODULES_INSTALLED
}
|
grep
-q
$i
||
puppet module
install
$i
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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