puppetfactory 0.5.8 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/puppetfactory.rb +10 -1
- data/public/css/style.css +5 -2
- data/templates/puppet.conf.erb +0 -2
- data/views/home.erb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60c925f67c54a20814cd88a9c1b0db49d12e44a9
|
4
|
+
data.tar.gz: 6ffa50fac51bdca43e47891a886c780d0ed0b1d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f68d09e430b101a71c1103da68a5c3d022085cca5e668ca221037342fac00ad775d38984c8044da7bd41560d6ac4bdfc70b5bc2762f3600e5243991b796efb54
|
7
|
+
data.tar.gz: d65e3d31ec098f7f00d10506ddc98065762f5d63397daf7fd18352c5edc885ffaaf2ab615d4230d0e6a13492557f6d501d38a4000a9a6a29ce6e9d63d76ecce5
|
data/lib/puppetfactory.rb
CHANGED
@@ -26,9 +26,18 @@ class Puppetfactory < Sinatra::Base
|
|
26
26
|
|
27
27
|
configure :production, :development do
|
28
28
|
enable :logging
|
29
|
-
|
29
|
+
use Rack::Session::Cookie,
|
30
|
+
:key => 'puppetfactory.session',
|
31
|
+
:path => '/',
|
32
|
+
:expire_after => 2592000, # In seconds
|
33
|
+
:secret => 'some_secret'
|
30
34
|
end
|
31
35
|
|
36
|
+
before do
|
37
|
+
# IE is cache happy. Let's make that go away.
|
38
|
+
cache_control :no_cache, :max_age => 0
|
39
|
+
end
|
40
|
+
|
32
41
|
def initialize(app=nil)
|
33
42
|
super(app)
|
34
43
|
|
data/public/css/style.css
CHANGED
@@ -16,7 +16,7 @@ footer {
|
|
16
16
|
|
17
17
|
a {
|
18
18
|
text-decoration: none;
|
19
|
-
color: #
|
19
|
+
color: #3880ff;
|
20
20
|
border-bottom: 2px solid transparent;
|
21
21
|
transition-duration: .2s;
|
22
22
|
}
|
@@ -49,7 +49,10 @@ header li a {
|
|
49
49
|
color: #ffffff;
|
50
50
|
}
|
51
51
|
|
52
|
-
a:hover
|
52
|
+
a:hover {
|
53
|
+
border-color: #3880ff;
|
54
|
+
}
|
55
|
+
|
53
56
|
header a:hover,
|
54
57
|
.ui-tabs-active a,
|
55
58
|
#login:hover {
|
data/templates/puppet.conf.erb
CHANGED
data/views/home.erb
CHANGED
@@ -26,6 +26,13 @@
|
|
26
26
|
<li>Log into the PE Console using the credentials of the user account you created.</li>
|
27
27
|
</ul>
|
28
28
|
</li>
|
29
|
+
<% if settings.plugins.include? :Gitea -%>
|
30
|
+
<li><a href="http://<%= request.host %>:3000" target="_gitea">Git Repository Server</a>
|
31
|
+
<ul>
|
32
|
+
<li>Log into the Gitea server using the credentials of the user account you created.</li>
|
33
|
+
</ul>
|
34
|
+
</li>
|
35
|
+
<% end -%>
|
29
36
|
</ul>
|
30
37
|
|
31
38
|
<h3>Accessing your environment:</h3>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppetfactory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Ford
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-09-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sinatra
|
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
274
|
version: '0'
|
275
275
|
requirements: []
|
276
276
|
rubyforge_project:
|
277
|
-
rubygems_version: 2.
|
277
|
+
rubygems_version: 2.5.2
|
278
278
|
signing_key:
|
279
279
|
specification_version: 4
|
280
280
|
summary: Stands up a graphical classroom manager with containerized puppet agents.
|