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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a157b1822c0f0d849c9e6736f9db2ea764bca2b8
4
- data.tar.gz: b9c3b8627880c59db823a11df611aa62763b82b4
3
+ metadata.gz: 60c925f67c54a20814cd88a9c1b0db49d12e44a9
4
+ data.tar.gz: 6ffa50fac51bdca43e47891a886c780d0ed0b1d3
5
5
  SHA512:
6
- metadata.gz: d23c88a71bc7f9705d393ddfd6a6a3469778e383cf2ef785a3f642e00755c5c1f5ab5f1f118fe16b9f986203fa3d0ca9b91864c713df1a2610d0559f8a8e5aad
7
- data.tar.gz: 5bb210b884ee679433c5aa31fd9ac184606c71d6a314159659fa2873fccdb99a39d03a60291028515c3fa7e0407881d987ec304584eeeff40919b54a2b71bfca
6
+ metadata.gz: f68d09e430b101a71c1103da68a5c3d022085cca5e668ca221037342fac00ad775d38984c8044da7bd41560d6ac4bdfc70b5bc2762f3600e5243991b796efb54
7
+ data.tar.gz: d65e3d31ec098f7f00d10506ddc98065762f5d63397daf7fd18352c5edc885ffaaf2ab615d4230d0e6a13492557f6d501d38a4000a9a6a29ce6e9d63d76ecce5
@@ -26,9 +26,18 @@ class Puppetfactory < Sinatra::Base
26
26
 
27
27
  configure :production, :development do
28
28
  enable :logging
29
- enable :sessions
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
 
@@ -16,7 +16,7 @@ footer {
16
16
 
17
17
  a {
18
18
  text-decoration: none;
19
- color: #ffae1a;
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 {
@@ -5,6 +5,4 @@
5
5
 
6
6
  [agent]
7
7
  report = true
8
- classfile = $vardir/classes.txt
9
- localconfig = $vardir/localconfig
10
8
  pluginsync = true
@@ -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.8
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-06-28 00:00:00.000000000 Z
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.4.5.1
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.