Created
March 25, 2017 19:13
-
-
Save HanSooloo/1676de9472889c1b849fbe0e4305dea8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure vault server | |
class profiles::vault::server { | |
class { '::vault': | |
download_url => 'https://releases.hashicorp.com/vault/0.6.5/vault_0.6.5_linux_amd64.zip', | |
service_provider => 'systemd', | |
backend => { 'inmem' => {}, }, | |
} -> | |
file { '/tmp/bootstrap': | |
ensure => "directory", | |
} -> | |
file { '/tmp/bootstrap/init_vault.sh': | |
ensure => present, | |
owner => 'root', | |
group => 'root', | |
mode => '0700', | |
content => file('profiles/vault/init_vault.sh'), | |
} | |
$root_key = generate('/tmp/bootstrap/init_vault.sh') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment