-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed syntax error in README and tests noticed by @sputnik13
- Loading branch information
Alex Crowe
committed
Oct 30, 2013
1 parent
1dc70da
commit 5842d40
Showing
3 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
supervisord::group { 'test': | ||
priority => '100', | ||
programs => ['program1', 'program2', 'program3'] | ||
supervisord::group { 'mygroup': | ||
priority => 100, | ||
program => ['program1', 'program2', 'program3'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
supervisord::program { 'test': | ||
command => '/testcmd', | ||
process_name => '%(process_num)s', | ||
numprocs => '3', | ||
priority => '100', | ||
environment => { | ||
env1 => 'env1', | ||
env2 => 'env2', | ||
env3 => 'env3' | ||
supervisord::program { 'myprogram': | ||
command => 'command --args', | ||
priority => '100', | ||
environment => { | ||
'HOME' => '/home/myuser', | ||
'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin', | ||
'SECRET' => 'mysecret' | ||
} | ||
} |