Skip to content

Commit 61d2c07

Browse files
author
Daniel Schaaff
committed
fix Mac OS X support
2 parents 95a7b6a + ac41fc3 commit 61d2c07

File tree

7 files changed

+80
-3
lines changed

7 files changed

+80
-3
lines changed

.fixtures.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
fixtures:
2+
repositories:
3+
stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git"
4+
apache:
5+
repo: "git://github.com/puppetlabs/puppetlabs-apache.git"
6+
puppetdb:
7+
repo: "git://github.com/puppetlabs/puppetlabs-puppetdb.git"
8+
ref: "4.3.0"
9+
inifile: "git://github.com/puppetlabs/puppetlabs-inifile.git"
10+
concat: "git://github.com/ripienaar/puppet-concat.git"
11+
file_concat:
12+
repo: 'git://github.com/electrical/puppet-lib-file_concat.git'
13+
apt:
14+
repo: "git://github.com/puppetlabs/puppetlabs-apt"
15+
ref: "2.2.0"
16+
symlinks:
17+
puppet: "#{source_dir}"

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pkg/*
2+
spec/fixtures/*
3+
Gemfile.lock
4+
*.swp
5+
.bundle/
6+
.rspec_system/
7+
vendor/
8+
.vagrant

.nodeset.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
default_set: 'debian-70rc1-x64'
3+
sets:
4+
'centos-59-x64':
5+
nodes:
6+
"main.foo.vm":
7+
prefab: 'centos-59-x64'
8+
'centos-64-x64':
9+
nodes:
10+
"main.foo.vm":
11+
prefab: 'centos-64-x64'
12+
'fedora-18-x64':
13+
nodes:
14+
"main.foo.vm":
15+
prefab: 'fedora-18-x64'
16+
'debian-607-x64':
17+
nodes:
18+
"main.foo.vm":
19+
prefab: 'debian-607-x64'
20+
'debian-70rc1-x64':
21+
nodes:
22+
"main.foo.vm":
23+
prefab: 'debian-70rc1-x64'
24+
'ubuntu-server-10044-x64':
25+
nodes:
26+
"main.foo.vm":
27+
prefab: 'ubuntu-server-10044-x64'
28+
'ubuntu-server-12042-x64':
29+
nodes:
30+
"main.foo.vm":
31+
prefab: 'ubuntu-server-12042-x64'

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: ruby
2+
bundler_args: --without system_tests
3+
rvm:
4+
- 1.9.3
5+
- 2.0.0
6+
script: "bundle exec rake test"
7+
env:
8+
matrix:
9+
- PUPPET_GEM_VERSION="~> 3.7.0"
10+
- PUPPET_GEM_VERSION="~> 3.7.0" FUTURE_PARSER="yes" STRICT_VARIABLES="no"
11+
- PUPPET_GEM_VERSION="~> 3.7.0" FUTURE_PARSER="yes" STRICT_VARIABLES="yes"
12+
- PUPPET_GEM_VERSION="~> 4.0.0"
13+
- PUPPET_GEM_VERSION="~> 4.0.0" STRICT_VARIABLES="yes"

manifests/agent.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,4 +513,4 @@
513513
value => $serialization_format,
514514
}
515515
}
516-
}
516+
}

manifests/master.pp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
$passenger_max_requests = 10000,
102102
$passenger_stat_throttle_rate = 30,
103103
$passenger_root = undef,
104+
$passenger_disable_mod_status = true,
104105
$serialization_format = undef,
105106
$serialization_package = undef,
106107
) inherits puppet::params {
@@ -159,6 +160,10 @@
159160
passenger_max_requests => $passenger_max_requests,
160161
passenger_stat_throttle_rate => $passenger_stat_throttle_rate,
161162
passenger_root => $passenger_root,
163+
<<<<<<< HEAD
164+
=======
165+
passenger_disable_mod_status => $passenger_disable_mod_status,
166+
>>>>>>> ac41fc3fa574aff597dfb850595fefad4778ad56
162167
} ->
163168
Anchor['puppet::master::end']
164169

manifests/passenger.pp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
$passenger_max_requests = 0,
5151
$passenger_stat_throttle_rate = 10,
5252
$passenger_root,
53+
$passenger_disable_mod_status = true,
5354
){
5455

5556
class { 'apache':
@@ -61,7 +62,9 @@
6162
trace_enable => 'Off',
6263
}
6364

64-
apache::mod { 'status': package_ensure => 'absent' }
65+
if $passenger_disable_mod_status {
66+
apache::mod { 'status': package_ensure => 'absent' }
67+
}
6568

6669
include puppet::params
6770
class { 'apache::mod::passenger':
@@ -199,4 +202,4 @@
199202
value => 'SSL_CLIENT_VERIFY',
200203
require => File[$puppet_conf],
201204
}
202-
}
205+
}

0 commit comments

Comments
 (0)