Update for puppet 4

This commit is contained in:
Nate Riffe 2016-10-11 07:45:37 -05:00
parent 7cb659d165
commit 612954e586
4 changed files with 36 additions and 17 deletions

View File

@ -1,11 +0,0 @@
name 'inkblot/tor'
version '2.0.0'
source 'git://githubcom/inkblot/puppet-tor'
author 'inkblot'
license 'Apache 2.0'
summary 'Tor onion router'
description 'A Puppet module to deploy and manage Tor nodes'
project_page 'https://github.com/inkblot/puppet-tor'
dependency 'puppetlabs/concat', '>= 1.0.0'
dependency 'ripienaar/module_data', '>= 0.0.3'

View File

@ -1,6 +0,0 @@
# ex: si ts=2 sw=2 et
:hierarchy:
- osfamily/%{::osfamily}/%{::operatingsystem}/%{lsbdistrelease}
- osfamily/%{::osfamily}/%{::operatingsystem}
- osfamily/%{::osfamily}
- common

11
hiera.yaml Normal file
View File

@ -0,0 +1,11 @@
---
version: 4
datadir: data
hierarchy:
- name: "Platform"
backend: yaml
paths:
- "osfamily/%{facts.os.family}/%{facts.os.name}/%{facts.os.distro.codename}"
- "osfamily/%{facts.os.family}/%{facts.os.name}"
- "osfamily/%{facts.os.family}"
- "common"

25
metadata.json Normal file
View File

@ -0,0 +1,25 @@
{
"name": "inkblot/tor",
"version": "3.0.0",
"author": "inkblot",
"license": "Apache-2.0",
"summary": "Tor onion router",
"source": "git://github.com/inkblot/puppet-tor.git",
"project_page": "https://github.com/inkblot/puppet-tor",
"issues_url": "https://github.com/inkblot/puppet-tor/issues",
"tags": [ "tor", "ubuntu", "debian" ],
"operatingsystem_support": [
{
"operatingsystem": "Debian",
"operatingsystemrelease": [ "7.7" ]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [ "12.04", "14.04", "16.04" ]
}
],
"dependencies": [
{ "name": "puppetlabs/concat", "version_requirement": ">=1.0.0 <2.0.0" }
],
"data_provider": "hiera"
}