Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 587c919

Browse files
author
Johannes Graf
committed
Removed stale resource_source documentation
... not really related to pr voxpupuli#34 - but that pr was working on related code without doing some housekeeping of the documentation.
1 parent df65f6f commit 587c919

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ The sequential number of the resource within the project.
176176
#####`source_type`
177177
The source type where resources will come from: file, directory, url or script.
178178

179-
#####`file`
180-
When a file source_type is specified this is the path to that file.
181-
182179
#####`include_server_node`
183180
Boolean value to decide whether or not to include the server node in your list of avaliable nodes.
184181

@@ -238,7 +235,7 @@ The group permission that rundeck is installed as.
238235
* [`rundeck::config::aclpolicyfile`](#define-aclpolicyfile): Manages a acl policy file
239236
* [`rundeck::config::plugin`](#define-rundeckplugin): Manages the installation of rundeck plugins
240237
* [`rundeck::config::project`](#define-rundeckproject): Manages the configuration of rundeck projects
241-
* [`rundeck::config::resource_source`](#define-resourcesource): Manages resource sources for each project
238+
* [`rundeck::config::resource_source`](#define-rundeckresource_source): Manages resource sources for each project
242239

243240

244241
##Limitations

manifests/config/resource_source.pp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
# [*source_type*]
1919
# The source type where resources will come from: file, directory, url or script.
2020
#
21-
# [*file*]
22-
# When a file source_type is specified this is the path to that file.
23-
#
2421
# [*include_server_node*]
2522
# Boolean value to decide whether or not to include the server node in your list of avaliable nodes.
2623
#
@@ -58,11 +55,10 @@
5855
#
5956
# Manage a file resource:
6057
#
61-
# rundeck::config::resource_source { 'nodes from file':
62-
# project_name => 'test project',
58+
# rundeck::config::resource_source { 'resource':
59+
# project_name => 'myproject',
6360
# number => '1',
6461
# source_type => 'file',
65-
# file => '/var/lib/rundeck/etc/resources.yaml',
6662
# include_server_node => false,
6763
# resource_format => 'resourceyaml',
6864
# }

0 commit comments

Comments
 (0)