Skip to content

Instantly share code, notes, and snippets.

@pryorda
Created June 29, 2016 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pryorda/927785181cc36224dfc7dc246bcecb7e to your computer and use it in GitHub Desktop.
Save pryorda/927785181cc36224dfc7dc246bcecb7e to your computer and use it in GitHub Desktop.
centrify_extract:
archive:
- extracted
- name: /tmp/centrify/
- source: http://maven1:8081/artifactory/Archive/centrify/centrify/centrify/centrify-centrify.tgz
- source_hash: md5=117c90fd0a67ca73a46471c2d2c34980
- archive_format: tar
centrify_install:
pkg.installed:
- sources:
- CentrifyDC: /tmp/centrify/centrifydc-5.1.1-rhel3-x86_64.rpm
- CentrifyDC-openssh: /tmp/centrify/centrifydc-openssh-6.0p1-5.1.1-rhel3-x86_64.rpm
{% elif grains['osfullname'] in ('Ubuntu') %}
download_centrify:
cmd.run:
- name: "mkdir /tmp/centrify/ || true && curl -sk -o /tmp/centrify/centrify.tgz http://edge.centrify.com/products/centrify-suite/2016-update-1/installers/centrify-suite-2016.1-deb7-x86_64.tgz?_ga=1.234049502.1163249701.1463106592 && tar xvf /tmp/centrify/centrify.tgz -C /tmp/centrify "
centrify_install:
cmd.run:
- name: "dpkg -i /tmp/centrify/centrifydc-5*x86_64.deb && dpkg -i /tmp/centrify/centrifydc-openssh-*.deb"
{% endif %}
centrify_setup:
cmd.run:
- name: adjoin -f -u {{ salt['pillar.get']('name') }} -p '{{ salt['pillar.get']('password') }}' domain.local -w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment