This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # A Records: | |
| dns::record::a { | |
| "dns": | |
| zone => "local.officecloud.dk", | |
| data => ["192.168.1.10"]; | |
| "web": | |
| zone => "local.officecloud.dk", | |
| data => ["192.168.1.20"]; | |
| "db": | |
| zone => "local.officecloud.dk", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/models/users_project.rb b/app/models/users_project.rb | |
| index 3d76a4d..00e7b59 100644 | |
| --- a/app/models/users_project.rb | |
| +++ b/app/models/users_project.rb | |
| @@ -95,13 +95,21 @@ class UsersProject < ActiveRecord::Base | |
| def user_bulk_import(user, project_ids, project_access) | |
| UsersProject.transaction do | |
| + has_keys = user.keys.count > 0 | |
| project_ids.each do |project_id| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/models/users_project.rb b/app/models/users_project.rb | |
| index 3d76a4d..00e7b59 100644 | |
| --- a/app/models/users_project.rb | |
| +++ b/app/models/users_project.rb | |
| @@ -95,13 +95,21 @@ class UsersProject < ActiveRecord::Base | |
| def user_bulk_import(user, project_ids, project_access) | |
| UsersProject.transaction do | |
| + has_keys = user.keys.count > 0 | |
| project_ids.each do |project_id| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $php_version = '5.4.11-1~dotdeb.0' | |
| class { | |
| 'php::cli': | |
| version => $php_version; | |
| 'php::apache': | |
| version => $php_version; | |
| 'php::dev': | |
| version => $php_version; | |
| 'php::pear': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Set up DNS configuration using resolver on OS X | |
| # | |
| # Requires one argument, the domain to point to unblock-us service | |
| # | |
| function setUp() { | |
| if [ -z "$1" ] | |
| then | |
| echo "setup :: missing first argument (domain)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "require" : { | |
| "aws/aws-sdk-php": "2.*" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| input { | |
| file { | |
| path => "/var/log/apache2/access.log.json" | |
| format => json_event | |
| type => apache | |
| } | |
| } | |
| filter { | |
| geoip { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| input { | |
| file { | |
| path => "/var/log/apache2/access.log.json" | |
| format => json_event | |
| type => apache | |
| } | |
| } | |
| filter { | |
| geoip { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| input { | |
| file { | |
| path => "/var/log/apache2/access.log.json" | |
| format => json_event | |
| type => apache | |
| } | |
| } | |
| filter { | |
| geoip { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| input { | |
| file { | |
| path => "/var/log/apache2/access.log.json" | |
| format => json_event | |
| type => apache | |
| } | |
| } | |
| filter { | |
| geoip { |