1
+ -# -*- encoding: utf-8 -*-
2
+ -#
3
+ -# Copyright 2015 North Development AB
4
+ -#
5
+ -# Author: Gerard Hickey
6
+ -#
7
+ -# Licensed under the Apache License, Version 2.0 (the "License");
8
+ -# you may not use this file except in compliance with the License.
9
+ -# You may obtain a copy of the License at
10
+ -#
11
+ -# http://www.apache.org/licenses/LICENSE-2.0
12
+ -#
13
+ -# Unless required by applicable law or agreed to in writing, software
14
+ -# distributed under the License is distributed on an "AS IS" BASIS,
15
+ -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ -# See the License for the specific language governing permissions and
17
+ -# limitations under the License.
18
+
19
+ / TODO Need better formatting
20
+ / TODO Better error notification
21
+ / TODO Information on programatic uploads
22
+ %h3 Upload Puppet Module
23
+
24
+ Specify below the location of the Puppet module .tar.gz file that you wish to publish.
25
+
26
+ The Puppet module .tar.gz file should be generated by executing
27
+
28
+ %div
29
+ %pre
30
+ puppet module build
31
+
32
+ The result will be a pkg directory at the top level of the module with the .tag.gz within it.
33
+
34
+ %span .search_error
35
+ -if upload_status
36
+ -case upload_status
37
+ -when '200'
38
+ File has been uploaded
39
+ -when ''
40
+ -else
41
+ Upload has failed. #{upload_status}
42
+
43
+ %form {:action => '/upload', :method=>'post', :enctype=>'multipart/form-data' }
44
+ %input{ :type => 'file', :name=>'file'}
45
+ %input{ :type=>'submit', :value=>'Upload'}
0 commit comments