From 4fc808f0673f42c7fae8519d793acea186aa092d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Sep 2015 18:12:31 -0300 Subject: Get rid of environments, use git branches instead --- TODO.md | 4 ++-- .../example.org/node/puppet-bootstrap.example.org.yaml | 7 +++++++ hiera/hiera.yaml | 14 +++++++------- .../example.org/node/puppet-bootstrap.example.org.yaml | 7 ------- 4 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 hiera/domain/example.org/node/puppet-bootstrap.example.org.yaml delete mode 100644 hiera/production/domain/example.org/node/puppet-bootstrap.example.org.yaml diff --git a/TODO.md b/TODO.md index d401134..6c5f6f4 100644 --- a/TODO.md +++ b/TODO.md @@ -5,6 +5,7 @@ High priority ------------- - puppet: masterless: + - fix hiera default boolean value when true. - keyringer/gpg integration. - https://github.com/compete/hiera_yamlgpg - https://github.com/crayfishx/hiera-gpg @@ -29,6 +30,7 @@ High priority - manage client's /root/.ssh/config: `HostKeyAlgorithms ssh-rsa`. - force option via rsync/rdiff handlers. - virtual: migrate to kvm/libvirt. +- nodo: run stages - loginrecords: deploy module. Medium priority @@ -80,8 +82,6 @@ Low priority - https://packages.debian.org/jessie/git-notifier - https://github.com/mhagger/git-multimail - using OpenPGP? -- nodo: - - decrease http://www.cups.org/doc-1.1/sam.html#Timeout on cupds.conf from laptops that use remote printers set on client.conf. - syslog-ng: use conf.d - etherpad: `You need to set a sessionKey value in settings.json`. - knock integration via https://github.com/juasiepo/knockd diff --git a/hiera/domain/example.org/node/puppet-bootstrap.example.org.yaml b/hiera/domain/example.org/node/puppet-bootstrap.example.org.yaml new file mode 100644 index 0000000..deec4fa --- /dev/null +++ b/hiera/domain/example.org/node/puppet-bootstrap.example.org.yaml @@ -0,0 +1,7 @@ +--- +# +# MySQL +# +# The following password is public information and therefore +# shall not be user on production. +mysql::server::rootpw: '9pRfteNbSFFyrHhackme' diff --git a/hiera/hiera.yaml b/hiera/hiera.yaml index 33acc9e..96cfb87 100644 --- a/hiera/hiera.yaml +++ b/hiera/hiera.yaml @@ -10,12 +10,12 @@ # See http://docs.vagrantup.com/v2/provisioning/puppet_apply.html :datadir: hiera :hierarchy: - - '%{::environment}/domain/%{::domain}/node/%{::clientcert}' - - '%{::environment}/domain/%{::domain}/role/%{::role}' - - '%{::environment}/domain/%{::domain}/location/%{::location}' - - '%{::environment}/domain/%{::domain}/%{::domain}' - - '%{::environment}/location/%{::location}' - - '%{::environment}/virtual/%{::virtual}' - - '%{::environment}/role/%{::role}' + - 'domain/%{::domain}/node/%{::clientcert}' + - 'domain/%{::domain}/role/%{::role}' + - 'domain/%{::domain}/location/%{::location}' + - 'domain/%{::domain}/%{::domain}' + - 'location/%{::location}' + - 'virtual/%{::virtual}' + - 'role/%{::role}' - bootstrap - common diff --git a/hiera/production/domain/example.org/node/puppet-bootstrap.example.org.yaml b/hiera/production/domain/example.org/node/puppet-bootstrap.example.org.yaml deleted file mode 100644 index deec4fa..0000000 --- a/hiera/production/domain/example.org/node/puppet-bootstrap.example.org.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -# -# MySQL -# -# The following password is public information and therefore -# shall not be user on production. -mysql::server::rootpw: '9pRfteNbSFFyrHhackme' -- cgit v1.2.3