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 } -