refactored deployment script so that necessary modules are included in puppet/modules directory, as instructed by documentation, therefore deploy.sh is obsolete and deployment_tasks.yaml became easier

This commit is contained in:
dirk 2016-07-13 10:34:37 +02:00
parent 4656e34641
commit fad153eb5e
4 changed files with 4 additions and 21 deletions

View File

@ -1,3 +0,0 @@
#!/bin/bash
logger "installing ruxit-ruxit_agent puppet module"
puppet module install ruxit-ruxit_agent

View File

@ -1,8 +1,8 @@
$dynatrace = hiera('fuel-plugin-dynatrace')
class { 'ruxit_agent':
user => 'root',
group => 'root',
user => 'fueladmin',
group => 'fueladmin',
ruxit_tenant => $dynatrace['dynatrace_tenant'],
ruxit_token => $dynatrace['dynatrace_token'],
}

View File

@ -1,21 +1,7 @@
# These tasks will be merged into deployment graph. Here you
# can specify new tasks for any roles, even built-in ones.
#- id: fuel-plugin-dynatrace_role
# type: group
# role: [fuel-plugin-dynatrace_role]
# parameters:
# strategy:
# type: parallel
- id: puppet-module-install
type: shell
role: '*'
parameters:
cmd: bash deploy.sh
timeout: 60
- id: dynatrace
- id: fuel-plugin-dynatrace
type: puppet
role: '*'
requires: [post_deployment_start]

View File

@ -5,7 +5,7 @@ title: Dynatrace
# Plugin version
version: '1.0.0'
# Description
description: Installs the Dynatrace agent on all hosts
description: Installs the Dynatrace agent on hosts
# Required fuel version
fuel_version: ['9.0']
# Specify license of your plugin