From ea914b0ddb782c024a59f94979cf805c8a246ec5 Mon Sep 17 00:00:00 2001 From: Matthew Nicholson Date: Mon, 21 Mar 2016 11:30:18 -0400 Subject: [PATCH] ugh --- manifests/config.pp | 4 ++-- metadata.json | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/manifests/config.pp b/manifests/config.pp index fd26fc5..5f5e965 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -1,11 +1,11 @@ class whats::config ( - $config_path = $::whats::config_path, + $config = $::whats::config, $puppetdb_server = $::whats::puppetdb_server, $puppetdb_port = $::whats::puppetdb_port, $search_domains = $::whats::search_domains, ) { - file {$config_path: + file {$config: content => template('whats/whats.yaml.erb'), owner => root, group => root, diff --git a/metadata.json b/metadata.json index 2591747..bf4f9c5 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "sjoeboo-whats", - "version": "0.1.1", + "version": "0.1.2", "author": "sjoeboo", "summary": "Install puppet-whats gem and tempaltes a config file for you.", "license": "Apache-2.0", @@ -12,4 +12,3 @@ ], "data_provider": null } -