Skip to content

Commit

Permalink
Preliminary octocatalog integration
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Nov 20, 2016
1 parent 33ab548 commit f9c9cb5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .octocatalog-diff.cfg.rb
@@ -0,0 +1,9 @@
settings[:hiera_config] = 'hiera.yaml'

settings[:enc] = 'bin/enc_cat.sh'

# settings[:puppet_binary] = '/opt/puppetlabs/puppet/bin/puppet'

settings[:puppetdb_url] = 'https://puppetdb:8081'
#settings[:puppetdb_ssl_ca] = '/etc/puppetlabs/puppetdb/ssl/ca.pem'
#settings[:puppetdb_ssl_client_cert] = File.read('/etc/puppetlabs/puppet/ssl/..')
7 changes: 7 additions & 0 deletions bin/enc_cat.sh
@@ -0,0 +1,7 @@
#!/bin/bash
repo_dir="$(dirname $0)/.."
script_dir="$(dirname $0)"
. "${script_dir}/functions"

host=$1
cat "${repo_dir}/bin/enc_cat/${host}.yaml"
8 changes: 8 additions & 0 deletions bin/enc_cat/testos.local.yaml
@@ -0,0 +1,8 @@
---
environment: production
classes:
- profile::git
parameters:
env: development
role: ostest

0 comments on commit f9c9cb5

Please sign in to comment.