Skip to content

Commit

Permalink
Merge pull request crowbar#57 from cloudedge/pull-req-master-b31953fd…
Browse files Browse the repository at this point in the history
…68444974a559d04504aa59817e9d62ec

crowbar#57

Merged by devtool for VictorLowther
  • Loading branch information
VictorLowther committed Jul 2, 2013
2 parents 64ad2ee + 353237d commit 87779ab
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 182 deletions.
34 changes: 2 additions & 32 deletions bc-template-logging.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,5 @@
{
"id": "bc-template-logging",
"description": "Centralized logging system based on syslog",
"attributes": {
"logging": {
"external_servers": [ ]
}
},
"roles": {
"logging-server": { "admin_implicit": true, "jig": "chef" },
"logging-client": { "implicit": true, "jig": "chef" }
},
"deployment": {
"logging": {
"crowbar-revision": 0,
"element_states": {
"logging-server": [ "readying", "ready", "applying" ],
"logging-client": [ "readying", "ready", "applying" ]
},
"elements": {},
"element_order": [
[ "logging-server", "logging-client" ]
],
"config": {
"environment": "logging-base-config",
"mode": "full",
"transitions": true,
"transition_list": [
"discovered"
]
}
}
}
"environment": "logging-base-config",
"mode": "full"
}

3 changes: 3 additions & 0 deletions chef/roles/logging-client/node-template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
}

5 changes: 5 additions & 0 deletions chef/roles/logging-client/role-template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"environment": "logging-base-config",
"mode": "full"
}

3 changes: 3 additions & 0 deletions chef/roles/logging-server/node-template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
}

5 changes: 5 additions & 0 deletions chef/roles/logging-server/role-template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"environment": "logging-base-config",
"mode": "full"
}

15 changes: 9 additions & 6 deletions crowbar.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2012, Dell
# Copyright 2013, Dell
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -12,8 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Author: RobHirschfeld
#


barclamp:
name: logging
Expand All @@ -28,11 +27,15 @@ barclamp:
member:
- crowbar

jigs:
chef:
roles:
- logging-server
- logging-client

crowbar:
layout: 1.9
layout: 2.0
order: 40
run_order: 40
chef_order: 40

rpms:
pkgs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#
class BarclampImportLogging < ActiveRecord::Migration
def up
Barclamp.import_1x 'logging'
Barclamp.import 'logging'
end

def down
Expand Down
29 changes: 0 additions & 29 deletions crowbar_framework/app/controllers/logging_controller.rb

This file was deleted.

54 changes: 0 additions & 54 deletions crowbar_framework/app/models/logging_service.rb

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions crowbar_framework/config/locales/logging/en.yml

This file was deleted.

This file was deleted.

0 comments on commit 87779ab

Please sign in to comment.