From 846876934b55e68554f935cb5101cb866d2f1cd6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 4 Mar 2014 13:24:39 -0300 Subject: Move from config.pp to hiera --- hiera/bootstrap.yaml | 12 ++++++++++++ hiera/common.yaml | 14 ++++---------- hiera/hiera.yaml | 1 + 3 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 hiera/bootstrap.yaml (limited to 'hiera') diff --git a/hiera/bootstrap.yaml b/hiera/bootstrap.yaml new file mode 100644 index 0000000..e189b51 --- /dev/null +++ b/hiera/bootstrap.yaml @@ -0,0 +1,12 @@ +--- +# +# Boostrap +# +# Use "mkpasswd -m sha-512" to generate root and first user's passwords +# Do not include "ssh-rsa " into the sshkey definition. +bootstrap::base_domain: 'vagrantup.com' +bootstrap::root::password: '' +bootstrap::first_user: 'user' +bootstrap::first_user::password: '' +bootstrap::first_user::sshkey: '' +bootstrap::first_user::email: '' diff --git a/hiera/common.yaml b/hiera/common.yaml index e3fe862..d7e35a1 100644 --- a/hiera/common.yaml +++ b/hiera/common.yaml @@ -1,9 +1,4 @@ --- -# -# Boostrap -# -bootstrap::base_domain: 'vagrantup.com' - # # General # @@ -49,8 +44,7 @@ ntp::servers: # # Nameservers # -# OpenDNS: -# -#nodo::subsystem::resolver::nameservers: -# - '208.67.222.222' -# - '208.67.220.220' +# OpenDNS +nodo::subsystem::resolver::nameservers: + - '208.67.222.222' + - '208.67.220.220' diff --git a/hiera/hiera.yaml b/hiera/hiera.yaml index d22acc0..c911f2e 100644 --- a/hiera/hiera.yaml +++ b/hiera/hiera.yaml @@ -12,3 +12,4 @@ - '%{::environment}/virtual/%{::virtual}' - '%{::environment}/role/%{::role}' - common + - bootstrap -- cgit v1.2.3