Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
7eb2eb09
Commit
7eb2eb09
authored
Sep 21, 2017
by
MICHON Nicolas
Browse files
[dev] Added call example for puppet generators
parent
2fe491e9
Changes
1
Show whitespace changes
Inline
Side-by-side
generators/README.md
View file @
7eb2eb09
...
@@ -149,8 +149,8 @@ Usage example:
...
@@ -149,8 +149,8 @@ Usage example:
$ (cd /tmp; git clone ssh://g5kadmin@git.grid5000.fr/srv/git/repos/puppet-repo) # or use your existing local copy of the repository
$ (cd /tmp; git clone ssh://g5kadmin@git.grid5000.fr/srv/git/repos/puppet-repo) # or use your existing local copy of the repository
$ cd reference-repo/generators/puppet
$ cd reference-repo/generators/puppet
$ rake puppet_repo=/tmp/puppet_repo # run every generator and output files to /tmp/puppet_repo
$ rake puppet_repo=/tmp/puppet_repo # run every generator and output files to /tmp/puppet_repo
or
or
$ cd reference-repo && rake -- puppet:generator -o /tmp/puppet_repo -s site1,site2 # run every generator and output files to /tmp/puppet_repo
$ rake puppet_repo=/tmp/puppet_repo sites=SITE1,SITE2 # run every generator and output files to /tmp/puppet_repo for only SITE1 and SITE2
$ rake puppet_repo=/tmp/puppet_repo sites=SITE1,SITE2 # run every generator and output files to /tmp/puppet_repo for only SITE1 and SITE2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment